
答案1
刪除並重新新增輔助地址“跳過源”指定標誌。這只能透過命令列工具來完成(但是不是透過“TCP/IP 屬性”GUI)。
網什
Netsh要求先刪除地址,然後重新新增:
netsh interface ipv4 add address <interface> <address>/<prefixlen> skipassource=true
例如:
netsh int ipv4 add addr "Ethernet" 192.168.1.5/24 skipassource=true
電源外殼
新增地址:
New-NetIPAddress -IPAddress <addr>/<len> -InterfaceAlias <interface> -SkipAsSource $True
PowerShell 也允許更改現有位址:
Get-NetIPAddress <address> | Set-NetIPAddress -SkipAsSource $True
最後說明
請注意,在 Server 2012 中,您必須使用僅有的命令列工具,因為透過「TCP/IP 屬性」GUI 完成的任何位址變更都會遺失所有位址的此標誌。
更多資訊: