进入ubuntu:
vim /etc/network/interfaces
auto lo iface lo inet loopback auto ens33 iface ens33 inet static address 192.168.47.100 netmask 255.255.255.0 gateway 192.168.47.2
vim /etc/resolv.conf
nameserver 192.168.47.2 #/etc/init.d/networking restart
进入ubuntu:
vim /etc/network/interfaces
auto lo iface lo inet loopback auto ens33 iface ens33 inet static address 10.10.20.12 netmask 255.255.0.0 gateway 10.10.0.3
vim /etc/resolv.conf
nameserver 10.10.0.3
/etc/init.d/networking restart
新闻热点
疑难解答
图片精选