Marcelo Giles wrote:
> You can see the current active dnsmasq settings in a ps list:
> 
> # ps aux | grep dnsmasq
> nobody    3219  0.0  0.0   1820   744 ?        S    Sep10   0:00
> /usr/sbin/dnsmasq --keep-in-foreground --strict-order --bind-interfaces
> --pid-file  --conf-file  --listen-address 192.168.122.1
> --except-interface lo --dhcp-leasefile=/var/lib/libvirt/dhcp-net1.leases
> --dhcp-range 192.168.122.2,192.168.122.254
> 
> Problem is, if you want to use dnsmasq's full featured dhcp server, you
> can't have libvirtd running as a daemon at the same time because
> libvirtd already started dnsmasq in foreground with above (hardcoded +
> xml config file) mentioned values.

You still can, just configure your dnsmasq instance with bind-interfaces option.
I have running in parallel libvirt's default and dnsmasq using the config:
interface=tstbr
except-interface=lo
bind-interfaces
dhcp-range=192.168.123.50,192.168.123.150,12h
 
> dhcpd, on the other hand, can be modified to listen on specific
> interfaces in /etc/sysconfig/dhcpd:
> 
> # cat /etc/sysconfig/dhcpd
> # Command line options here
> DHCPDARGS=eth0

That should go to TroubleShooting wiki

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to