homepage Welcome to WebmasterWorld Guest from 54.166.105.24
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Linux Router and DHCP
zeon




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

Hi,

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. 192.168.1.0/24), with the routers internal interface say, 192.168.1.1 and 192.168.1.2

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 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1, 192.168.1.2; #IS THIS POSSIBLE?
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}

Thanks,
zeon

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved