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 第一个命令向本地连接接口添加一个静态 IP 地址 10.0.0.2,其子网掩码为 255.0.0.0。第二个命令添加 IP 地址 10.0.0.3 作为网关跃点数为 2 的接口的第二个默认网关。
NETSH / INTERFACE / IP / ADD / ADDRESS
Quick - Link:
netsh ras ip set addrassign
设置 RAS 服务器为其客户指派地址的方法。
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/cn/Windows_XP/netsh/interface/ip/add/address.htm
0.046
19117
What is a driver?
What is native resolution?
Was sind visuelle Artefakte?
Disable sound on Windows 7 when clicking link eg navigation click sound?
Why is not an organizer integrated (to allow event scheduling and notifications)?
What is test_exymple@mail.com333 and what about Windows clipboard history?
(0)
This website uses cookies to ensure you get the best experience on our website
Infos