|
Using DHCP on vservers
A vserver may act as a DHCP client now. This is useful when you move vservers around (or transport them on your notebook) and wish to operate on the network without having to obtain a fixed IP address.
To enable this, just enter
IPROOT=dhcp
in the configuration file. Note that this also works even if the root server (the workstation or notebook) is also using DHCP to get an IP address. If this is the case, you must edit the file /etc/dhclient.conf (generally missing) and place the following line.
send dhcp-client-identifier "root server";
This allows the DHCP server to tell apart the requests coming from vservers from the requests coming from the root server, since they are all sharing the same MAC address.
|