Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Set up a KVM DHCP server

An example of how to configure a KVM DHCP server.

You must configure a DHCP server to allow the PXE client to locate the ISO image. You can use any DHCP server.

When using KVM, you can use the embedded server that is created by the KVM hypervisor.

The following example shows how to configure the KVM DHCP server on the network where the router and servers are connected.

Use virsh net-edit <Network_Name> to edit the configuration file, where <Network_Name> is the name of the network to which the router and the DHCP server are connected (Net_PXE in the example). Add the DHCP section to the file (delimited by <dhcp> </dhcp>, highlighted in the example).
<network connections='5'> 
   <forward mode='nat'> 
         <port start='1024' end='65535'/> </nat> 
   <bridge name='virbr11' stp='on' delay='0'/> 
   <mac address='52:54:00:cc:2b:ac'/> 
   <ip address='' netmask=''> 
      <tftp root='/var/lib/tftpboot'/> 
 <dhcp> <range start='' end=''/> <bootp file='/gpxelinux.0'/> </dhcp> 
The KVM DHCP server is configured.