进入配置文件,配置IP leafpad /etc/network/interfaces.conf 写入如下格式的内容: /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network inte…
1.全自动修改网络地址: 复制代码 代码如下: @echo off netsh interface ip set address name="本地连接" static 192.168.1.55 255.255.255.0 192.168.1.1 auto >nul netsh interface ip add dns "本地连接" 202.98.96.68 index=1 >nul netsh interface ip add dns "本地连…
原文链接地址:https://blog.csdn.net/qq_38054198/article/details/77990914 静态设置IP 修改IP地址addr和子网掩码mask: \>netsh interface ip set address name="本地连接" source=static addr=192.168.0.106 mask=255.255.255.0 修改默认网关gateway \>netsh interface ip set address n…