设置静态IP root@xueji:~# vim /etc/network/interfaces # interfaces() ) and ifdown() auto lo iface lo inet loopback #这行下面添加 auto ens33 iface ens33 inet static address 192.168.244.10 netmask 255.255.255.0 gateway 192.168.244.2 DNS的设置及查看 root@xueji:~# vim /e