用命令行修改IP地址会不会更高大上一点呢?
查看网卡名称信息
ipconfig /all
设置IP为自动获取 dhcp
netsh interface ip set address name="Ethernet0" source=dhcp
自动获取DNS
netsh interface ip set dns name="Ethernet0" source=dhcp
修改固定IP static
netsh interface ip set address name="Ethernet0" addr=192.168.2.1 mask=255.255.255.0 gateway=192.168.2.1
添加一个备用IP
netsh interface ip add address name="Ethernet0" addr=192.168.2.127 mask=255.255.255.0 gateway=192.168.2.1
设置DNS手动 static
netsh interface ip set dns name="Ethernet0" source=static addr=192.168.2.125
netsh interface ip add dns name="Ethernet0" addr=114.114.114.114 index=2
© 版权声明
THE END
暂无评论内容