Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple DHCP Scopes

Status
Not open for further replies.

anthonymel

Technical User
Jan 4, 2005
76
US
We currently have one site but wish to give administration at the school there own T1 connection that is separate from student and lab computers T1 connection. This is an AD environment.

How do I use a DHCP server to distribute new address configured for our second router. I already have all the clients now on one DHCP at 10.5.17.x/24 but I would want administration to have the 10.5.17.x/24 addresses and student machines to have 10.5.18.x/24 address. Is it possible to assign computers on a subnet to a DCHP Server? How does this work with out the networking equipment being physically separate and only connected by routers?

As you can see I'm totally lost here.

Anthony

 
i gather the student and admin PCs are on the same physical network...

You can do this, but you need a router.

a router that is hardware or software.

setup a member server with two network cards, one on each 'segment'

run the RRAS wizard and configure it to route between the two networks. choose rip v2 as the protocol.

a hint when doing this, first change the name of each MAN connection, call one student and one admin, you'll get less lost ;-)
____________________
you can do this another way, and have all on the same subnet address.....

its usefulness depends on how many PCs you have that require a different setting.

you can use the switch setclassid on ipconfig...
eg

-ipconfig /setclassid student

this will make all pcs on which you have run this command request a certain set of parameters from DHCP...
and the classid 'student' is something you set up in DHCP server console for it to send certain options.. like nameserver, wins server, or default gateway (the one you want)...
it's like scope or server options, only this way you can specify settings for a certain 'class' of PCs, then you assign them to this class with the ipconfig switch..
hope this makes sense.....
david

Aftertaf

"Solutions are not the answer." - Richard Nixon
 
So I guess what I could do is create a script that I setup in AD to run on those machines that are administration and those that are student machines with the ipconfig /setclassid student or admin command in the script.

Once that's out of the way I have to setup the DHCP server to look for the classid on the machine and assign it the proper ip information.

Where within the DHCP snap-in could I find such settings?

Thanks
Anthony
 
Ok I'm testing this out and well let's see

I created a new scope for a new subnet 10.5.18.x/24

I disabled the other scope which was 10.5.17.x/24

The ip address of the DHCP server is 10.5.17.1

On a client machine I did ipconfig /release and then /ipconfig /renew and set the class id up to admin

I created the class ID on the server and when I assinged it to the 10.5.17.x scope it worked fine with the changes. However, when I assigned to the 10.5.18.x scope the client could not get a IP address.

Now I'm guessing I can't do this because I need a Second Nic card in that server with an ip address of 10.5.18.something.

I'm I right?

Thanks,

Anthony
 
Update..

Ok I create a super scope and place both subnet scopes under it. And I got the admin and student ID Classes to work, however If I set one scope to check for the student class and the other for the admin class and no default for either, The client machine would just randomly pick one scope even if it had no DNS or Gateway setting for it.

For Example I set 10.5.17.x for student and 10.5.18.x for admin

I went to a client and setup the id class for student and did ipconfig /release and then /renew

I got this as my new IP address: 10.5.18.1 but no setting for DNS or the Gateway.

If I disable the 10.5.18.x scope and from the client do a ip config on the client I then would get the 10.5.17.x address I want with all the DNS and Gateway setting configured.

I'm sorry that I'm bothering people on this but I find it interesting to learn.

Thanks
Anthony
 
I'm was not thinking right. I was trying to do something that's impossible. Two subnets on the same pyshical network. The scope option in a DHCP server is further way to break down a larger subnet, am I right? Other wise I don't know why even have it.

Take care all,

Anthony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top