Debian 修改网卡IP地址
2013-09-11 08:38
411 查看
Debian 修改网卡IP地址方法如下:
如果无法打开网页修改下面的文件,设置DNS服务器
/etc/init.d/networking restart #重启网络服务
vim /etc/network/interface #文件内容如下 auto eth0 iface eth0 inet static address 192.168.5.2 netmask 255.255.255.0 gateway 192.168.5.1
如果无法打开网页修改下面的文件,设置DNS服务器
vim /etc/resolv.conf nameserver 114.114.114.114
/etc/init.d/networking restart #重启网络服务
相关文章推荐
- shell脚本:不登陆KVM虚拟机,修改虚拟机网卡IP地址
- 解决Ubuntu系统下无线网卡的IP地址无法修改的问题
- Debian 9系统下修改默认网卡为eth0的方法
- linux网卡配置修改IP地址操作及文件解析
- linux配置bond网卡绑定与修改IP地址
- nmcli添加网卡 并且修改设备名字 添加IP地址
- IP地址被封修改网卡MAC地址
- QNX使用多网卡后无法使用ifconfig命令修改IP地址
- docker3.10修改默认网卡docker0的ip地址的方法,及docker的常用命令
- linux 修改网卡eth0的ip地址
- Debian 修改IP地址或DNS
- Shell脚本自动修改Linux网卡地址、IP地址配置、主机名修改
- Debian下修改IP地址
- windows下使用命令行修改网卡ip地址
- Debian9:修改默认网卡为eth0,ifconfig
- ioctl函数,可以获取ip地址,修改ip地址,网卡地址等
- 自动修改IP地址及网卡地址(批处理文件实现)
- Linux下修改网卡IP地址
- 虚拟机下修改网卡的ip地址
- Debian 修改IP地址或DNS