1 vi /etc/network/interfaces
Change
#iface eth0 inet dhcp
to
iface eth0 inet static
address 192.168.95.132
netmask 255.255.255.0
gateway 192.168.95.1
2 /etc/init.d/networking restart
1 vi /etc/network/interfaces
Change
#iface eth0 inet dhcp
to
iface eth0 inet static
address 192.168.95.132
netmask 255.255.255.0
gateway 192.168.95.1
2 /etc/init.d/networking restart
相关文章: