1.改动 ip地址 子网掩码 默认网关
netsh interface ip set address "本地连接" static 192.168.1.23 255.255.255.0 192.168.1.1
2.改动DNS
netsh interface ip set dns "本地连接" static 192.168.1.1 primary
3.自己主动获取ip地址
netsh interface ip set address name="本地连接" source=dhcp
Copyright @ 2024 mthoutai Powered by .NET 8.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster