快速设置和切换ip

netsh interface ip set address 以太网 source=static addr=10.18.77.127 mask=255.0.0.0

netsh interface ip set address name=以太网 gateway=10.18.77.110 gwmetric=1

netsh interface ip set address 以太网 source=static addr=192.1.27.121 mask=255.255.255.0

netsh interface ip set address name=以太网 gateway=10.18.77.110 gwmetric=1

192.1.18.101

192.1.27.101

netsh interface ip set address 以太网 source=static addr=192.168.100.202 mask=255.255.255.0

netsh interface ip set address 以太网 source=static addr=192.1.27.115 mask=255.255.255.0

netsh interface ip set address 以太网 source=static addr=192.1.27.202 mask=255.255.255.0

ping 192.168.100.100

ping 192.168.100.120

ping 192.168.100.130

netsh interface ip set address 以太网 source=static addr=192.1.27.202 mask=255.255.255.0

你可能感兴趣的:(快速设置和切换ip)