C o l o r
C
o
n
s
o
l
e
netsh
»
interface
»
ip
»
add
»
address
Microsoft Windows XP
[
Version 5.1.2600
]
(C) Copyright 1986-2001 Microsoft Corp.
C
:
\WINDOWS>netsh interface ip add address ? 使用方式
:
add address
[
name=
]
[
[
addr=
]
IP address
[
mask=
]
IP subnet mask
]
[
[
gateway=
]
IP address
[
gwmetric=
]
integer
]
參數
:
name - IP 介面名稱。 addr - 為介面所新增的 IP 位址。 mask - 指定 IP 位址的 IP 子網路遮罩。 gateway - 指定 IP 位址的預設閘道。 gwmetric - 到預設閘道的公制。 註解
:
將 IP 位址及預設閘道新增到介面。如果 DHCP 在此介面上已啟用, 它將會被停用。 範例
:
add address "Local Area Connection" 10.0.0.2 255.0.0.0 add address "Local Area Connection" gateway=10.0.0.3 gwmetric=2 第一個命令將子網路遮罩為 255.0.0.0 的靜態位址 10.0.0.2 新增到 Local Area Connection 介面。第二個命令則將 IP 位址 10.0.0.3 新增為這個介面的第二個預設閘道,並設定公制為 2。
NETSH / INTERFACE / IP / ADD / ADDRESS
Quick - Link:
netsh ras ip set addrassign
設定 RAS 伺服器將 IP 位址指派給
netsh interface ip delete address
從指定的介面刪除 IP 位址或預設閘道。
netsh routing ip relay
變更到 `netsh routing ip relay' 內容。
netsh p2p group show address
解析在目前節點裡的參與者並列出它的位址。
netsh winsock help
顯示命令清單。
netsh routing ip delete filter
刪除指定介面內的篩選器。
netsh interface ipv6 isatap
變更到 `netsh interface ipv6 isatap' 內容。
...
Home
...
Impressum
...
CMD commands
...
Netsh-Windows-11
...
Netsh-Windows-10
...
Netsh-Windows-7
...
Netsh-Vista
...
Netsh-XP
...
PowerShell Commands
...
Download
    alternative cmd.exe
>
...
Windows 10 FAQ
...
Windows 10 How To
...
Windows 11 How To
...
Windows 10 FAQ
新增一個 IP 位址到指定的介面中。
/ Windows 2000/XP
HTTP:
... cmd/tw/Windows_XP/netsh/interface/ip/add/address.htm
0.061
17843
Windows 10 / 11 is getting slower, why?
Beispiel, klassische Desktop-Uhr auf einem grünen Desktop!
Defender slows down the development of applications, programs and APPs!
Clipboard access confirmation Internet Explorer, disable?
Realize dark mode switch with a batch file?
Activate the classic boot menu under Windows 11, 10, 8.1, ... again!
Can I continue to use the alternative run dialog on Windows 11?
Optimize drives about the command prompt on MS Windows OS!
Paths problems with blank spaces and environment variables, solved!
Can I use Windows XP in Virtual PC on Windows 11, 10, ...?
(0)
This website uses cookies to ensure you get the best experience on our website
Infos