Lost network on ubuntu server
- by user1838473
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