Lost network on ubuntu server

Posted by user1838473 on Super User See other posts from Super User or by user1838473
Published on 2012-12-17T07:36:41Z Indexed on 2012/12/17 11:05 UTC
Read the original article Hit count: 150

Filed under:
|

I have a virtual machine on Vsphere 5.0 running Ubuntu 12.04 when i put dinamic IP (/etc/network/interfaces) iface eth0 inet dhcp Ubuntu have network and i can do ping to google for example (8.8.8.8)

but when i put static IP and configure resolv.conf

My interfaces file:

auto eth0
iface eth0 inet static
address 192.168.1.54
gateway 192.168.1.1
netmask 255.255.255.0

it lost the network and i cant do ping to anything...i dont understand where is the problem...

Thanks a lot

© Super User or respective owner

Related posts about networking

Related posts about ubuntu