IP address increase at each vm reboot

Discussion in 'Linux Virtual Machine' started by rhoekstra, Sep 11, 2015.

  1. rhoekstra

    rhoekstra Junior Member

    Messages:
    10
    Hi,

    With the latest version of Parallels Desktop (11) I encounter a weird behaviour about providing IP addresses to vms.
    Every time a Linux guest is being rebooted, it is provided a new IP address (the next 'in line'), while I would expect the same IP to be provided.

    This results in my /etc/hosts (on my MacBook) having two entries (or even more), different IPs with the same hostname. Connecting to it will fail as it wil use the first in the list, being an abandoned address.

    How to fix?
    It's a shared network configuration, not host-only. The Guest is Fedora 21.
     
  2. rhoekstra

    rhoekstra Junior Member

    Messages:
    10
    Hmm.. as it appears, a clean shutdown of the vm after updating parallels drivers, instead of rebooting it, the problem seem to have disappeared. As of now I cannot replicate the problem myself.. case closed for now.
     
  3. Robertjm

    Robertjm Member

    Messages:
    47
    Is your router set to use DHCP? If so, have you tried reserving an IP address manually for the virtual machine's MAC address? Perhaps it won't change when it sees the same MAC address.
     
  4. Mehdi1

    Mehdi1 Bit poster

    Messages:
    1
    i had same problem, but thanks to @Robertjm i solved it.
    seo


     

Share This Page