Hello All,<br><br>I am trying to set up a cobbler server running as a guest on an isolated network. I'm having trouble figuring out how I can forward the DHCP and DNS traffic to this guest instead of DNSMASQ on the host. So far I have only tried to get dhcp working by enabling the
'allow-dhcp-server' on a guest named test and setting the $DHCPSERVER variable through a filterref parameter element. I figure If I can get this
working I can use this filter as a basis for DNS. <br><br>In my guest the filter is applied to the only network interface setting DHCPSERVER to the IP of my cobbler VM.<br><br> <interface type='network'><br>
<mac address='52:54:00:6b:56:ab'/><br> <source network='internal'/><br> <target dev='vnet2'/><br> <model type='virtio'/><br> <filterref filter='allow-dhcp-server'><br>
<parameter name='DHCPSERVER' value='192.168.100.2'/><br> </filterref><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/><br>
</interface><br><br>And the internal network is defined as:<br><br><network><br> <name>internal</name><br> <uuid>c1aef8ea-9d30-7514-5eb4-5ffbc235cffb</uuid><br> <bridge name='virbr1' stp='on' delay='0' /><br>
<ip address='192.168.100.1' netmask='255.255.255.0'><br> </ip><br></network><br><br>My understanding of the filter is that when it is applied to a hosts interface it should allow DHCP requests to go to a server other than the host system. Is this correct? Are guests allowed to serve DHCP to other guests?<br>
<br>Does anyone have any suggestions or experience with this?<br><br>Thanks in advance,<br><br>Adam Reid<br><br>