改不了IP 哪位大侠能帮帮我
发表于 : 2010-03-29 23:49
我是在windows下 虚拟的双系统 按下面的方法修改IP 但是修改后 还是只能PING通127.0.0.1 请问应该怎么才能成功修改IP 在线等待。。。。
1、ubuntu系统修改IP地址:sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet static
address 219.218.122.168
netmask 255.255.255.0
gateway 219.218.122.254
2、ubuntu系统修改DNS: sudo gedit /etc/resolv.conf
nameserver 202.194.15.12
3、使网络生效:sudo /etc/init.d/networking restart
1、ubuntu系统修改IP地址:sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet static
address 219.218.122.168
netmask 255.255.255.0
gateway 219.218.122.254
2、ubuntu系统修改DNS: sudo gedit /etc/resolv.conf
nameserver 202.194.15.12
3、使网络生效:sudo /etc/init.d/networking restart