Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcp3 round-robin multiple subnets

Reply
Thread Tools Display Modes

dhcp3 round-robin multiple subnets

 
 
Oliver Emslers
Guest
Posts: n/a

 
      11-09-2007, 01:37 PM
Hi,

I have two dsl uplinks to my provider and two different public
/25-networks routed over them. I would like to do a kind of round-robin
via dhcp to assign public ips to my internal clients equal on both
networks. I already have a working dhcp-setup with isc dhcp3 which works
like this:

....

default-lease-time 600;
max-lease-time 600;

shared-network "internal" {

subnet 87.1.1.0 netmask 255.255.255.128 { pool { range 87.1.1.1; option
routers 87.1.1.126; option domain-name-servers 192.168.9.254; } }
subnet 87.2.2.0 netmask 255.255.255.128 { pool { range 87.2.2.1; option
routers 87.2.2.126; option domain-name-servers 192.168.9.254; } }
subnet 87.1.1.0 netmask 255.255.255.128 { pool { range 87.1.1.2; option
routers 87.1.1.126; option domain-name-servers 192.168.9.254; } }
subnet 87.2.2.0 netmask 255.255.255.128 { pool { range 87.2.2.2; option
routers 87.2.2.126; option domain-name-servers 192.168.9.254; } }
subnet 87.1.1.0 netmask 255.255.255.128 { pool { range 87.1.1.3; option
routers 87.1.1.126; option domain-name-servers 192.168.9.254; } }
subnet 87.2.2.0 netmask 255.255.255.128 { pool { range 87.2.2.3; option
....
}

....

isn't there a easier way to do this with dhcp?

thanks
oli
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS round-robin w/ shared/sync'ed folder? Historian Windows Networking 0 05-29-2007 08:00 PM
multiple subnets stueken@conterra.de Linux Networking 5 10-09-2006 09:57 AM
Round robin packet routing Kevin Brown Linux Networking 0 03-15-2005 12:40 AM
Help with samba and multiple subnets Dani Camps Linux Networking 0 03-08-2005 02:42 PM
dns and multiple subnets Noah Roberts Linux Networking 1 02-04-2005 09:54 AM



1 2 3 4 5 6 7 8 9 10 11