1. IP地址修改命令:
NETSH INT IP SET ADDRESS name= "區域連線" static 192.168.1.3 255.255.255.0 192.168.1.1 1
[@more@]2. DNS修改命令:
NETSH INT IP SET DNS name= "區域連線" static 192.168.1.1
3. 添加IP地址命令:
NETSH INT IP ADD ADDRESS name= "區域連線" 192.168.1.32 255.255.255.0
4. 刪除IP地址命令:
NETSH INT IP DELETE ADDRESS name= "區域連線" addr=192.168.1.32 gateway=all
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/123564/viewspace-910454/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/123564/viewspace-910454/