CMD修改IP
动态IPnetsh interface ip set address name="以太网" source=dhcp静态IP.netsh interface ip set address name="以太网" source=static addr=192.168.1.100mask=255.255.255.0 gateway=192.168.1.254netsh interface ip set d
·
- 动态IP
netsh interface ip set address name="以太网" source=dhcp
- 静态IP.
netsh interface ip set address name="以太网" source=static addr=192.168.1.100
mask=255.255.255.0 gateway=192.168.1.254
netsh interface ip set dns name="以太网" source=static addr=8.8.8.8 register=primary
netsh interface ip add dns name="以太网" addr=114.114.114.114 index=2
添加到cmd里,把后缀名字改为bat,以管理员身份运行即可
更多推荐
已为社区贡献1条内容
所有评论(0)