Using RHEL5.3/Xen 3.03, I am trying to assign dchp ip addresses to domU's based on their mac hw address, using the dhcp server of dnsmasq. I already have the file specified by --dhcp-hostsfile but how do I add this parameter to dnsmasq when libvirtd already starts it with --conf-file empty ?

I currently use a wrapper to add --dhcp-hostsfile to the original dnsmasq ( /usr/sbin/dnsmasq.orig $@ --dhcp-hostsfile=/var/lib/libvirt/dhcp-hostsfile ), but I think there should be a way to add extra paramters to dnsmasq.

( If I disable dhcp server of dnsmasq, then ISC dhcpd servces this purpose just fine ).

Any advice is greatly appreciated.

Vu

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to