Operating System - Linux
1830211 Members
2458 Online
109999 Solutions
New Discussion

dhcp server configuration on redhat

 
linuxtolinux
Frequent Advisor

dhcp server configuration on redhat

Hi all,
I have a LAN called sub1.sub1 has a dhcp server
I want to use a pc with 2 network cards as a router between sub1(eth0) and another subnet called sub2(eth1) for boot process.For the network booting process i need to run a dhcp server on this pc but i want it to listen or respond only to the dhcp request from sub 2. I am confused how to configure my new dhcpd .What shoul i add to my new config file to support only
sub2 dhcp request?


Regards
3 REPLIES 3
Delrish
Trusted Contributor

Re: dhcp server configuration on redhat

You should specify the NIC you want to listen for DHCP requests, in dhcp.conf .
dhcpd will answer to the request coming from the specified NIC
Jeroen Peereboom
Honored Contributor

Re: dhcp server configuration on redhat

Your 'router' PC should relay DHCP requests from sub2 to your dhcp server on sub1.
You should add a subnet and range for sub2 to the dhcpd config.

JP
linuxtolinux
Frequent Advisor

Re: dhcp server configuration on redhat

thanks