
May 19th, 2004, 05:07 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 18
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Router behind a router dhcpd.conf problem
I am trying to create a router at my workplace.
The setup is as follws:
Internet -> Linksys Router -> RedHat9 Router -> Misc. Servers
The segment that I am having trouble with is RedHat9 -> Servers.
The Redhat9 box has 2 nics: eth0 and eth1. eth0 gets an IP address from the Linksys router via dhcp (the address is 129.168.1.106/255.255.255.0).
I would like to setup a dhcp server to listen for connections on eth1. To this end I have configured eth1 to be started on boot with a static class B IP address of 172.16.1.1 /255.255.255.0, and have set my routing
table as follows:
Code:
$route
Destination Gateway Genmask Flags Metric Ref UseIface
192.168.1.0 * 255.255.255.0 U 0 0 eth0
172.16.1.0 * 255.255.255.0 U 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 eth0
I believe that this setup is correct for my routing table, but I do not know how to write a proper dhcpd.conf file. Any help at all would be appreciated. Thank you in advance for your time.
|