Article ID: 117846, created on Oct 10, 2013, last review on May 11, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo hypervisor


How do I create a Virtual Machine that will automatically get network settings from DHCP pool?


For this purpose, it is necessary to configure a DHCP server on the network. Than you can force the adapter of the Virtual Machine to receive its TCP/IP settings automatically using the Dynamic Host Configuration Protocol (DHCP). For example, you can run this command to make the net0 adapter in MyVM virtual machine get its IP settings through DHCP:

# prlctl set MyVM --device-set net0 --dhcp yes
Creating net0 (+) network=Bridged mac=001C42C84F3E
Enable automatic reconfiguration for this network adapter.
The VM has been successfully configured.

Search Words

network settings


virtual machine

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF