Link to home
Start Free TrialLog in
Avatar of bhieb
bhieb

asked on

Multiple DHCP Scopes for Vlans

Forgive my ignorance on this subject, but here goes.

DHCP Server: Server 2003 SP2
Switches: Cisco 3560's

We have a vlan setup for our voip phones, and currently they get all of their DHCP from the phone server itself since that vlan could not see our DHCP server. However now I have activated the 2nd nic on our DHCP box, and would like to manage DHCP from there. So I have a nic in the box set to 192.168.0.x and one to 192.168.2.x (and the switch set so the 2.x net only sees that vlan). I know how to add a new scope, but how do I link that scope to a specific nic. Here is how I think it works.

PC/PHONE/WHATEVER needs an IP address, so it asks hey is there a dhcp server here. In which case regardless of subnet this server will respond yes and give it an address.

I found this basic definition.

A DHCP scope is a valid range of IP addresses which are available for assignments or lease to client computers on a particular subnet.

That sounds all good, except the client machine is not on a subnet until the DHCP server assigns one right? So how does it know which scope to use?

SOLUTION
Avatar of pitchford
pitchford

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhieb
bhieb

ASKER

Regardless of how the request gets to the server, how does the server know which scope to use? In your case how does your server know to use scope A for vlan1 and scope b for vlan2?
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhieb

ASKER

By the way your method is exactly what I'm trying to do. Currently we have 2 DHCP servers, I want to get rid of the extra one and just use our main DHCP.
Avatar of bhieb

ASKER

@iSiek

Ok I think I understand because the DHCP relay or helper in the swich only forwards traffic on 2.x the server assigns according to that traffic.
Avatar of bhieb

ASKER

So simply adding the scope is all I need to do, as whatever subnet it is coming from is what the server will use.  Let me try that out.
OK :) Wish you luck. If you configure DHCP Relay Agent/IP Helper properly, should work like a charm :]

Krzysztof
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial