VMNet DHCP Server does not assign my Ubuntu machine its own IP

Solution 1:

Set eth0 inteface edit the following file

/etc/network/interfaces

and be sure it is configured as this:

auto eth0
iface eth0 inet dhcp

Then be sure the VMNet 2 (Custom) is rightly configured:

To change(check) DHCP settings:

  • Click Edit > Virtual Network Editor and select the virtual network adapter.

enter image description here

  • Select Use local DHCP service to distribute IP address to VMs and click DHCP settings.

enter image description here

  • Modify the third number in the IP address. For example, 192.168.x.0 or 198.16.x.0. In general, do not change the subnet mask. Certain virtual network services might not work as well with a customized subnet mask.

enter image description here

  • Click Apply.

Source


Aditional Resourses