From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461) Description of problem: In a machine with multiple interfaces and dhcpd running, even if you tell dhcpd to only bind to one specific interface, it binds to all. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install a system with multiple network interfaces 2. Configure dhcpd with a subnet{ } config for one interface, don't configure the other. 3. Start up the dhcpd Actual Results: The dhcpd starts, and says that it only binds to one interface, however, netstat -an reveals the system has something bound to udp/67 on 0.0.0.0. Expected Results: I would expect it to behave the way BIND does when you use a listen-on{} directive in the options{} section. Additional info:
In /etc/sysconfig/dhcpd, you can do e.g.: DHCPDARGS="eth1 eth3 eth5" to have dhcpd bind only on eth1/eth3/eth5
No, this does not work, because /etc/rc.d/init.d/dhcpd looks like: daemon /usr/sbin/dhcpd ${DHCPDARGS} it should be changed to: daemon /usr/sbin/dhcpd "${DHCPDARGS}"
If the quotes are added, that will cause the entire contents of DHCPDARGS to be treated as a single argument, which will definitely break things. dhcpd wants an argument for each interface name to pay attention to.