Search

Language:  

Available article translations:

Linux virtual machine cannot receive ip address with AirPort adapter type

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

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




223eaea75536b1878213dd8e38ab608d 1e5db16426987d561060acdf56d947b4 df4909b7dd0609a3c148f007041db6d9 7f7551051651be47612fed81ddb2b30e

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