修改eth0静态IP地址过程如下:
vim /etc/network/interfaces
内容如下:
auto eth0
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1
然后重启网络服务
/etc/init.d/networking restart
修改eth0静态IP地址过程如下:
vim /etc/network/interfaces
内容如下:
auto eth0
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1
然后重启网络服务
/etc/init.d/networking restart