Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Linux Router and DHCP



7:00 pm on Apr 7, 2008 (gmt 0)

5+ Year Member


I currently have 2 ISP connections. For testing purpose, I'm setting up 2 linux boxes both to act as routers for each of the two ISP connections. These routers as well as few workstations will be under the same subnet (eg., with the routers internal interface say, and

One of the linux box will run DHCP. With the DHCP, I wonder if I'm able to use it to assign the gateway ip to the clients (randomly?).

For example, here is what I have in the dhcpd.conf "option routers":

default-lease-time 600;
max-lease-time 7200;
option subnet-mask;
option broadcast-address;
option routers,; #IS THIS POSSIBLE?
option domain-name-servers,;
option domain-name "mydomain.org";
ddns-update-style ad-hoc;
subnet netmask {



Featured Threads

Hot Threads This Week

Hot Threads This Month