I have one DHCP server running Windows Server 2008 R2. It is configured with one Superscope which contains 5 member scopes. One scope for each one of my subnets.

Here is the problem, if I am on VLAN 12 I get a VLAN 12 IP but if I disconnect my laptop and walk over to a port that is on VLAN 1 and reconnect nothing works. Makes sense because my laptop still has the VLAN 12 IP address. I perform a ipconfig /release followed by a renew but I get the same IP address which is still a VLAN 12 address!

I am guessing this is because my laptop is requesting to have the same IP address. How can I have my laptop not request the same IP? Or better yet, how can I configure DHCP to know that the laptop is on another VLAN and not to give it the same IP?

link|improve this question

feedback

2 Answers

up vote 5 down vote accepted

I'm not sure why you are using superscopes at all since you're using VLANS..

You should try to use dhcp relay on the router that connects all these VLANS - I'm pretty sure it will work out for you.

link|improve this answer
1  
I agree. Super scopes are intended for multinets, which is not the intended scenario here. technet.microsoft.com/en-us/library/dd759168.aspx – joeqwerty Dec 19 '11 at 17:57
feedback

Are you absolutely sure that it's your laptop keeping the IP, and not the DHCP server misguidedly assigning the same IP because it already has a lease for that MAC address (albeit on a different vlan)? Because you're still getting the same IP on a manual renew, I'd say the DHCP server is to blame here.

The client system should be dropping its DHCP IP when it loses a link on the interface, but verify by checking the address between the disconnect and the reconnect on the other vlan. And feel free to be really sure by capturing the renewal conversation with wireshark.

But, it sounds like the DHCP server's the issue - what DHCP server software is it running on, and how's it configured? And how is your relaying configured to get the requests over to the server from the different vlans?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.