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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Understanding DHCP on multiple subnets 2

Status
Not open for further replies.

MattWray

Technical User
Nov 2, 2001
2,332
US
I am VLANing my hq network here this weekend. When doing so, I am using 1 DHCP server to host all the subnets. I understand how the DHCP server knows how to hand out addresses to the remote clients via IP Helper, but what I don't understand is how it knows not to hand out "wrong" addresses to local clients attached to the same VLAN/segment.

Can anyone help me to understand this? I've been trying to get my head around it for days now....

Thanks,

Matt Wray

GFH

 
When you say "wrong" do you mean duplicate addresses (because in same vlan)? DHCP verifies the address is not currently in use before sending the offer.

Since Windows NT 4.0 Service Pack 2 (SP2), it provides updated code to assist DHCP in detecting and flagging duplicate IP addresses. Functionality has been added both at the client and at the Windows NT DHCP server.

Hope I understand what you are asking.
 
Thanks for the replies!

Kenny, no I didn't mean a duplicate address. Let me try to clarify. I have server A (dhcp server) on a 192.168.77.x network. VLAN A is 192.168.76.x and VLAN B is on 192.168.75.x.

Now I understand how VLAN A and B will get the correct IP's via IP helper through the Catalyst switch.

What I am confused on, is how the server knows not to give machines on the local segment a .76.x or .75.x address.

Glen, thanks for the link, but I really didn't follow it too well.. lol...



Thanks,

Matt Wray

GFH

 
If a request comes as a broadcast, than the client is on a local subnet. If it comes as an unicast with source IP from the clients subnet, than the client will be given IP from the that subnet.
 
If a request comes as a broadcast, than the client is on a local subnet. If it comes as an unicast with source IP from the clients subnet, than the client will be given IP from the that subnet.

ok, that makes sense. And I take it the DHCP server will "just know" the local subnet because of the address of its own interface, is that right?

Thanks,

Matt Wray

GFH

 
Got everything up and running this past weekend. Thank you all for the help, its nice to understand something before trying to implement it.


[thumbsup2]



Thanks,

Matt Wray

GFH

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top