LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ISC-DHCPD on specified interface only? (https://www.linuxquestions.org/questions/linux-networking-3/isc-dhcpd-on-specified-interface-only-525895/)

zivota 02-05-2007 06:48 PM

ISC-DHCPD on specified interface only?
 
Hi,

I am using isc-dhcp server on Centos4.4 server. I am looking for configuration option which will setup dhcpd to listen only on specified interface not all of them, in my case eth3.

Idea?

fur 02-05-2007 07:08 PM

Just put the interface name after the dhcpd command. You will need to edit your startup scripts to get this to persist a reboot.


dhcpd eth3

zivota 02-06-2007 02:36 PM

There is a file /etc/sysconfig/dhcpd with only one next content.

-----------
# Command line options here
DHCPDARGS=
-----------

I changed line into
DHCPDARGS=eth3


... and it looks like it does the magic.


All times are GMT -5. The time now is 05:02 AM.