Two NICs and DHCPD

Christopher K. Johnson ckjohnson at gwi.net
Sat Feb 21 17:21:40 UTC 2004


Srinivasan S wrote:

>Hi
>
>I have 2 NICs in my PC running Fedora Core 1.
>
>One NIC is used for my cable modem (eth1) and is configured to get a IP by DHCP (client).  The other NIC (eth0) is used to connect to my local network.
>
>I am running DHCPD on the Fedora linux machine to provide IP addresses to my local network so that the internet connection can be shared.
>
>Question :  How do I configure DHCPD so that it listens for DHCPREQUESTS only on eth0 ie. my local network card.  (The daemon should not listen for requests on eth1)
>
>Please help
>Srini
>  
>
Edit /etc/sysconfig/dhcpd and change DHCPDARGS= line to be:
DHCPDARGS=eth0

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the users mailing list