Results 1 to 2 of 2

Thread: IP address keeps changing

Hybrid View

  1. #1
    Join Date
    Nov 2011

    IP address keeps changing


    I'm running Ubuntu in VMware Workstation 7.1.4.

    Networking for the VM is NAT and is working okay. I'm connecting to the internet, host etc... from the VM

    However, when I put the host to sleep and then restore, the IP address of the ubuntu virtual machine changes in steps of 2.

    i.e :

    IP is, then put host to sleep (VM is still running), wake up host and the VM will now have an IP of, put the host to sleep again, wake it up and the VM is now 52 etc.....

    I'm using the VM as a web dev server, so it's very annoying that the IP address keeps changing !!

    Please could someone guide me to either set up a static IP for the VM or to keep the same IP following a host sleep....

    Thank you

  2. #2
    Join Date
    Oct 2009
    Ubuntu 16.04 Xenial Xerus

    Re: IP address keeps changing

    The host shouldn't be changing ip addresses when it goes to sleep.

    You can set a static IP by following the steps here:
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts