Sportica   Sportica

Ubuntu 下静态IP修改

 vi /etc/network/interfaces
//IP文件路径

iface lo inet loopback
auto 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
//重新启动
posted @ 2012-02-07 14:29  qingjoin  阅读(205)  评论(0编辑  收藏  举报
  Sportica