命令行修改IP地址
修改为外面的IP地址:
IP修改:
netsh interface ip set address "有线" static 192.168.1.2 255.255.255.0 192.168.1.1 1
修改DNS
netsh interface ip set dns "有线" static 202.96.128.86
修改为公司内部的IP地址:
IP修改:
netsh interface ip set address "有线" static 192.168.202.205 255.255.255.0 192.168.202.1 1
修改DNS
netsh interface ip set dns "有线" static 192.168.0.252
修改为自动获取IP地址:
netsh interface ip set address "有线" source=dhcp
修改为自动获取DNS地址:
netsh interface ip set dns name="有线" source=dhcp
IP修改:
netsh interface ip set address "有线" static 192.168.1.2 255.255.255.0 192.168.1.1 1
修改DNS
netsh interface ip set dns "有线" static 202.96.128.86
修改为公司内部的IP地址:
IP修改:
netsh interface ip set address "有线" static 192.168.202.205 255.255.255.0 192.168.202.1 1
修改DNS
netsh interface ip set dns "有线" static 192.168.0.252
修改为自动获取IP地址:
netsh interface ip set address "有线" source=dhcp
修改为自动获取DNS地址:
netsh interface ip set dns name="有线" source=dhcp