0

i've seen some answers that says edit the /etc/network/interfaces http://www.sudo-juice.com/how-to-set-a-static-ip-in-ubuntu-the-proper-way/#gather-info

E.g

auto lo iface lo inet loopback

iface eth0 inet static address 192.168.0.101 gateway 192.168.0.1 netmask 255.255.255.0

Restart your networking services

Finally, restart your networking services to put your new settings into effect.

Type/copy the following:

sudo service network-manager restart sudo service networking restart sudo service resolvconf restart This should restart your network interfaces and services. Use ifconfig to confirm your new static IP

i have succeded to change the interfaces but the ip does not change !!

  • What is your virtualization technology (vmware, hyper-v etc...) ? have you considered Network Connection Type (Bridged, Natted, Host-only etc...) ? – user2196728 Aug 23 '14 at 22:32
  • using Hyper V, regarding the network type, i'm sorry i dont understand too much.. – Jerbi Aug 23 '14 at 22:35
  • Are you able to ping Ubuntu machines each other ? are you able to ping Ubuntu machines from Host each other ? – user2196728 Aug 23 '14 at 22:45
  • not reachable - i manage to save the etc/network/interfaces configuration but when i write ifconfig i see it has not changed it – Jerbi Aug 23 '14 at 22:53
  • Please provide sudo ifconfig -a for both Ubuntu machines. Also, are you able to ping the default gateway ? – user2196728 Aug 23 '14 at 23:09

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.