cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
0
Helpful
2
Replies

Multiple subnets 1 dhcp server

andifur
Level 1
Level 1

Currently we are running in a switched network. Next month we are moving to a pure routed network. We currently have 1 dhcp server sending out addresses in our 10.0.16.0/20. We want to take the /20 and break it up among the different floors to a /22 while still keeping 1 dhcp server. We purchased a cat4503, and will be doing intra VLAN routing.

We will be setting up different scopes for each subnet on the DHCP Server.

How can I be sure that a PC on the 10.0.19.0/22 floor gets an IP that is correct for their scheme. Meaning if the PC is broadcasting from the 10.0.19.0/22 how can I make sure it gets an adress in the 10.0.19.0/22 scope and not the 10.0.26.2 scope and therfore leave the PC useless because each scope will have a gateway assigned to it.

I hope I am making this clear.

Thanks

Anthony

2 Replies 2

donewald
Level 6
Level 6

Anthony,

The only way to truly be sure is to check your DHCP leases and the PC but the way it works, it is pretty hard to mess this up. The Client sends out a DHCP Discover message (BCAST) the router (with ip-helper) will encapsulate this up with it's source IP (of the VLAN interface) and send the request off to the DHCP server. This VLAN source IP is how the DHCP server knows which scope to pull the address from. So if a DHCP Discover message comes in from Subnet A the DHCP Server will issue from subnet A ..

Hope this helps clarify,

Don

Perfect. I thought thats how it would work, but I needed to be sure. We have very little time from when we get the equipment in until we have to install it. Go figure. That was the only piece that I was missing.

Thanks for your help

Anthony

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: