vi /etc/network/interfaces//IP文件路径iface lo inet loopbackauto eth3 iface eth3 inet static address 192.168.1.139 netmask 255.255.255.0 gateway 192.168.1.1//文件里的内容sudo /etc/init.d/networking restart//重新启动