How do i know what DHCP scope is being used?

Posted on 2010-08-16
Last Modified: 2012-05-10
Im working on a test enviorement MS 2008 server.
Currently configuring DHCP scopes for a company that has 35 Offices.
In total there will be 500 clients.

How do i configure so the right clients get ip address from the correct DHCP scope?
Is this done in the router, switch on that network?

Question by:MrFantastic
LVL 39

Accepted Solution

Krzysztof Pytko earned 84 total points
ID: 33445822
As I understood all clients are in different subnets, right? Then you have to use DHCP Relay Agnet on Windows Server to point them where DHCP server is or set on your rooter BOOTP forwarding (for security reasons you shouldn't do that; use the first option). Then DHCP server will server IP from proper scope.
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33445841
Sorry for repeating but I would correct my previous answer

As I understood all clients are in different subnets, right? Then you have to use DHCP Relay Agent on Windows Server to point them where DHCP server is, or set on your router BOOTP forwarding (for security reasons you shouldn't do that; use the first option). Then DHCP server will serve IPs from proper scope.
LVL 10

Expert Comment

ID: 33446025
at your layer 2 switch level. Assign your vlan to the switch. By vlan, I mean subnet. You can get a little more granular by assigning the vlan to the port. Say ports 1 - 24 are for vlan 4 (ex Ports 25 - 47 (48 is uplink) are vlan 1 ( - default on Cisco). At the port you would have the config line 'switchport access vlan 4' or 'switchport access vlan 1'. It goes without saying, your vlans are defined at the router or layer 3

Expert Comment

ID: 33447140
It depends on how your subnets are connected.  We have different VLANs on our network which are all connected together by our corporate firewall.  For our network, we are just doing IP helpers for the DHCP protocol from our VLAN networks to the DHCP server.  In the broadcast DHCP discovery packet it contains information about the network the client is coming from.  The windows DHCP can interpret that and lease from the correct scope.  There are many articles on microsoft's website about how this works.  
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Assisted Solution

balasundaram_s earned 83 total points
ID: 33448380
Its done at the default gateway router.

Assisted Solution

OOsorio earned 83 total points
ID: 33454614
There are several ways to go about this. A DHCP server at each location could do this or a router at each location could do this. I personally would not centralize the handing out of IP's but distribute the function; in case the central location goes down.

Expert Comment

ID: 33459938
i would second that too what OOsorio said. the last thing you want is every single branch to go down when one is down.

Author Closing Comment

ID: 33829324
Relay agent working fine

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve DNS query failed errors for Exchange
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now