Search

Language:  
Search for:

Available article translations:

Linux virtual machine cannot receive ip address with AirPort adapter type

APPLIES TO:
  • Parallels Desktop 7 for Mac
  • Parallels Desktop 6 for Mac

Symptoms

Linux virtual machine cannot connect to the Internet via Bridged network mode with AirPort adapter type. Virtual Machine cannot receive IP address with AirPort adapter type.

Cause

When setting up network in Linux, you may need to configure the DHCP client to send the virtual machine's ID in DHCP requests.

Resolution

For information on how to configure your DHCP client, refer to the DHCP client documentation.

For example, in Red Hat Linux guest OSs, you need to edit the DHCP client configuration file.

  1. Open the dhclient.conf file and make sure that the following lines are present.

    interface "eth0" {

    send dhcp-client-identifier 1:<MAC address>;

    }

  2. If there are no such lines, add them manually to the file and save it.

When the dhclient.conf file contains these lines, DHCP client sends the virtual machine's ID to the DHCP server. The DHCP server sends an IP address in response.

Tip

To locate the dhclient.conf file, in a terminal, enter:

strings /sbin/dhclient | grep etc | grep dhclient.conf

or:

rpm -ql dhclient




1e0c43ccf6ca78fa6744efc9edbc0659 1e5db16426987d561060acdf56d947b4 33c4522b6fa9ca8e050f19b889fb58f1 b0d2afa3ea1ba6ce10dddf5df618e6f6

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No