Can I do this with DHCP?

  • Thread starter Thread starter HDZ
  • Start date Start date
H

HDZ

Hopefully someone can come up with some suggestion to this
problem. I have DHCP setup on one of our domains and just
now all clients use the same gateway the problem is we are
moving to a new office and we now have 2 gateways. I need
some sort of smart assigning of the gateways so that we
can evenly split our workstations between the gateways.
Someone suggested we might be able to do some round-robin
type thing where gatewys 1 gets assigned first, then the
next request for dhcp assigns it the other gateway. Is
this possible? And how can I do it?

Thanks

HDZ
 
You can add several routers in DHCP options, but only first available router
will be used by clients.

You may consider setting DHCP options (ipconfig /setclassid) and give your
clients different configuration depending on classid. Search Help for DHCP
and classid to find more info.

You may consider using script containing command:
route add ...
Use route /? to see more details about this command.

Dusko Savatovic
 
What I would look at doing is utilizing two scopes on the dhcp server. One scope associated to each gateway and only make half the available IP addresses available for each scope. This way when one scope has used the alotted number of IP's (half) the second scope would be available for the second gateway. Now of course this will not "round robin" in other words rotate IP's to alternate gateways, but it would allow you to divide up the clients using the gateways.

If not the only other option would be two use two separate DHCP servers and physically seperate the clients by subnet. Allowing the IP configuration to occur dependent on client location on the subnet

Hope this helps.
 
Hopefully someone can come up with some suggestion to this
problem. I have DHCP setup on one of our domains and just
now all clients use the same gateway the problem is we are
moving to a new office and we now have 2 gateways. I need
some sort of smart assigning of the gateways so that we
can evenly split our workstations between the gateways.
Someone suggested we might be able to do some round-robin
type thing where gatewys 1 gets assigned first, then the
next request for dhcp assigns it the other gateway. Is
this possible? And how can I do it?

Best is probably use two separate scopes and assign half your systems
to each scope. You could tune this to have power users split between
them if you wish.

Jeff
 
Back
Top