Hello techies,

My DC is the only DHCP in our subnet and we have 2 gateways to connect to
the data centre.My idea is to utilize both the links(2
gateways)...loadabalance them or rather utilize both the links...

If my DHCP can give half the PC's the gateway as the first and the other
half pc's the second gateway....It would be great!

2 gateways and one subnet...is there a way to do it?Scripting?
Tools?anything??
Is there any way to do that with Windows 2003 DHCP server?

Thanks in advance for any help...

cheers

Re: DHCP by Herb

Herb
Fri May 09 22:58:22 PDT 2008


"maverick" <maverick@discussions.microsoft.com> wrote in message
news:D58670A6-81F7-4352-8B5D-E28057059E24@microsoft.com...
> Hello techies,
>
> My DC is the only DHCP in our subnet and we have 2 gateways to connect to
> the data centre.My idea is to utilize both the links(2
> gateways)...loadabalance them or rather utilize both the links...

Probably better to buy more sophisticated routers but that is probably
not ideal for you so here are the methods that do what you ask...

> If my DHCP can give half the PC's the gateway as the first and the other
> half pc's the second gateway....It would be great!
>
> 2 gateways and one subnet...is there a way to do it?Scripting?
> Tools?anything??
> Is there any way to do that with Windows 2003 DHCP server?

Two ways if they are all on the same subnet:

1) DHCP "User Classes" Set these on the DHCP Server and
assign the class on half the stations (ipconfig /setclassid)
Assign the class(es) different default gateways.

2) Use reservations for half the stations and supply these a
different default gateways

If you have lot of machines then #2 is not very convenient.

#1 might not seem convenient either, but you can use a "startup
script" to assign the ipconfig /setclassid and so avoid touching
every machine manually. (Differentiate with different sub-OUs,
or alphabetically in the script that sets classid, or some such.)

> Thanks in advance for any help...
> cheers



Re: DHCP by maverick

maverick
Tue May 13 13:27:05 PDT 2008

Thanks Herb..but I wish a more helpful way like DHCP doing a Round robin of
assigning IP addresses with different gateways would have been the best...

Thanks again
CHeers
Maverick



"Herb Martin" wrote:

>
> "maverick" <maverick@discussions.microsoft.com> wrote in message
> news:D58670A6-81F7-4352-8B5D-E28057059E24@microsoft.com...
> > Hello techies,
> >
> > My DC is the only DHCP in our subnet and we have 2 gateways to connect to
> > the data centre.My idea is to utilize both the links(2
> > gateways)...loadabalance them or rather utilize both the links...
>
> Probably better to buy more sophisticated routers but that is probably
> not ideal for you so here are the methods that do what you ask...
>
> > If my DHCP can give half the PC's the gateway as the first and the other
> > half pc's the second gateway....It would be great!
> >
> > 2 gateways and one subnet...is there a way to do it?Scripting?
> > Tools?anything??
> > Is there any way to do that with Windows 2003 DHCP server?
>
> Two ways if they are all on the same subnet:
>
> 1) DHCP "User Classes" Set these on the DHCP Server and
> assign the class on half the stations (ipconfig /setclassid)
> Assign the class(es) different default gateways.
>
> 2) Use reservations for half the stations and supply these a
> different default gateways
>
> If you have lot of machines then #2 is not very convenient.
>
> #1 might not seem convenient either, but you can use a "startup
> script" to assign the ipconfig /setclassid and so avoid touching
> every machine manually. (Differentiate with different sub-OUs,
> or alphabetically in the script that sets classid, or some such.)
>
> > Thanks in advance for any help...
> > cheers
>
>
>

Re: DHCP by Herb

Herb
Wed May 14 10:12:41 PDT 2008


"maverick" <maverick@discussions.microsoft.com> wrote in message
news:EB8E349A-C799-4705-A106-06294FD437B6@microsoft.com...
> Thanks Herb..but I wish a more helpful way like DHCP doing a Round robin
> of
> assigning IP addresses with different gateways would have been the best...

DHCP doesn't do "round robin".

You can give out different routers (default gateways) or a different
order, but that is labor intensive.


> "Herb Martin" wrote:
>
>>
>> "maverick" <maverick@discussions.microsoft.com> wrote in message
>> news:D58670A6-81F7-4352-8B5D-E28057059E24@microsoft.com...
>> > Hello techies,
>> >
>> > My DC is the only DHCP in our subnet and we have 2 gateways to connect
>> > to
>> > the data centre.My idea is to utilize both the links(2
>> > gateways)...loadabalance them or rather utilize both the links...
>>
>> Probably better to buy more sophisticated routers but that is probably
>> not ideal for you so here are the methods that do what you ask...
>>
>> > If my DHCP can give half the PC's the gateway as the first and the
>> > other
>> > half pc's the second gateway....It would be great!
>> >
>> > 2 gateways and one subnet...is there a way to do it?Scripting?
>> > Tools?anything??
>> > Is there any way to do that with Windows 2003 DHCP server?
>>
>> Two ways if they are all on the same subnet:
>>
>> 1) DHCP "User Classes" Set these on the DHCP Server and
>> assign the class on half the stations (ipconfig /setclassid)
>> Assign the class(es) different default gateways.
>>
>> 2) Use reservations for half the stations and supply these a
>> different default gateways
>>
>> If you have lot of machines then #2 is not very convenient.
>>
>> #1 might not seem convenient either, but you can use a "startup
>> script" to assign the ipconfig /setclassid and so avoid touching
>> every machine manually. (Differentiate with different sub-OUs,
>> or alphabetically in the script that sets classid, or some such.)
>>
>> > Thanks in advance for any help...
>> > cheers
>>
>>
>>