Technology Insights

Setup dhcp3 Server To Listen On eth1

Earlier I was setting up a PXE boot server that was connected to two networks and wanted to hand out DHCP addresses only on the second interface which in this case was eth1. The primary interface on the server is eth0 however that Ethernet port is attached to a switch that already has a DHCP server connected to it so I needed to make sure that the DHCP server only replies to requests on eth1. Use the dhcpd.conf configuration option below to specify the Ethernet interface that dhcpd will listen for and reply to DHCP and/or BOOTP requests.