
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 03:02 PM - edited 03-02-2019 09:49 PM
I have a customer with a multiple vlans.
The edge switches are 3750s and they are trunked dot1q back to the core where at 6500 sits. The DHCP server is attached to the 6500 off a gigabit port.
The problem is the core switch has the interface vlanX setup and ip helper-address X.X.X.X setup under it for each vlan.
When we go to the edge switch and release the ip address of the pc, change the vlan to another vlan on that edge switch and then do a renew we get the same ip address back to us but now we are on the wrong vlan so we can't talk to anything.
If I take and turn the vlan server off and setup a DHCP server with multiple scopes on the core switch each vlan works fine and gets their correct ip address for the vlan they are designated on the edge 3750 switches.
So at this point I'm stumped. I don't know why this is a issue. I have another customer with a similar setup except he isn't doing trunking to the edge switch.. he is doing a dedicated fiber port off the core switch in one vlan to the edge switch and everyone on that edge switch is in the default vlan 1 and they get their ips just fine.
I am thinking that the core switch can't tell what VLAN I am correctly coming from and so it can't put the right giaddress into the packet to send to the dhcp server on the gigabit port of the core switch..
Does anyone have anything I should try?
Do I maybe have VTP configured incorrectly?
Solved! Go to Solution.
- Labels:
-
Other Networking
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 08:54 AM
Good luck, although i'm convinced its down to you not having your scopes configured in a superscope.
You could quickly prove this by using network monitor on your DHCP server.
If you are seeing packets with the correct giaddress and the server is serving IPs from a single scope then you have the answer.
Rgds
Paddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 03:12 PM
First of all ensure that each vlan interface on L3 switch has a helper-address for the dhcp requests.
Also make sure you have multiple scopes defined on the DHCP server with a default gateway option specified.
Is the L3 switch VTP server for your network ? Are the edge switches VTP clients ? If they are working properly, all vlans should be synchronized on all switches. Ensure this ( sh vtp status)
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 04:00 PM
Hi,
When running DHCP from a Windows based infrastructure, Your customer needs to have each DHCP scope defined for each VLAN under a superscope, otherwise windows DHCP won't be able to differentiate between the different sources addresses (vlan interfaces) that are requesting an IP address. As a result of this the DHCP server will always allocate an IP address from the same scope.
Rgds
Paddy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 04:25 PM
Paddy are you irish!? If this is the answer I'll buy you a beer! Anyone possibly have a screenshot of what this looks like.. can't say I have ever seen a superscope setup. I have seen seperate scopes for each vlan scope but never some kind of superscope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 04:32 PM
Half Irish!!
Defo check out the superscope bit, this is certainly required when serving IP addresses via DHCP from a Windows DHCP server to networks with multiple source ranges
I'm trying to sound technical but i have infact just got back from the pub!
Goodluck
Paddy
PS checkout the following link, its for windows 2003 but also the same for 2000

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 05:18 PM
I'm still kind of puzzeled why this is required. I read the paper but im still puzzled.
In the past I have done this before with routers to a central network data center with a DHCP server in a single network. I did DHCP relay at each remote router to the central network and I had a different scope for each network and it handed out DHCP just fine.
Now instead of seperating everything with routers I am doing it with layer 3 vlans that shouldn't be able to talk to one another until it reaches the core vlan interfaces.. each core interface vlan has the ip helper command and I am running eigrp to router between the vlan interfaces to let the networks talk to one another..
now I thought network rules state that dhcp will not pass one interface to another without a relay (aka the helper command) to help it along.
Well if a dhcp broadcast packet in vlan 10 hits interface vlan10 and the helper says to forward it to x.x.x.x dhcp server why is the dhcp server thinking it is in a different scope range.. the giaddr should be the ip address of the vlan 10 interface and should make the dhcp server respond back with a ip addres from the matching scope.
Thats what is just puzzling the hell out of me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 02:44 AM
Hi,
One thing i would also check, when you get the same IP address from the DHCP server, are you seeing this address as leased in the servers DHCP console.
What happens if you delete the lease from within DHCP and try ipconfig /release | renew again?
PD

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 05:57 AM
If we ipconfig /release while on vlan 10 then go to the dhcp server and delete the reservation out of the scope it was in for vlan 10.
Then we go and move the port the pc is on to vlan 11 and then do a ipconfig /renew (it takes a minute) then we get a ip address but its in the vlan 10 range and if we look on the server its being assigned from the vlan 10 scope.
So I am stumped why the dhcp server seems to think im coming from the 10 vlan when I am in the 11 vlan. in fact I know im in the 11 vlan because if I try to ping the 10 gateway I get zero response. One thing I haven't tried is staticly assigning a ip in the 11 vlan to see if I can ping the 11 vlan gateway to double check I am in the 11 vlan. I am pretty sure I would get a response.
It's sounding like I really need to drop a sniffer on between the PC and the edge switch and the core switch and the dhcp server and see if my packets are working correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 08:54 AM
Good luck, although i'm convinced its down to you not having your scopes configured in a superscope.
You could quickly prove this by using network monitor on your DHCP server.
If you are seeing packets with the correct giaddress and the server is serving IPs from a single scope then you have the answer.
Rgds
Paddy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 09:17 AM
yeah thats my plan of action to try tomorrow.
I am going to toss up a sniffer between the DHCP server and the core switch port and check that dhcp relay packet out.. I want to know if its coming off the correct relay interface.
if not then I have to go back and figure out why vlan traffic being tagged for 1 vlan is leaking onto another vlan..
Is that even possible?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 12:59 PM
Problem found.
It was a superscope problem.
Basicly he had superscopes setup and he shouldn't have so all the scopes were responding to the request when it was just one scope that was supposed to.
He removed the superscope and tested it and it worked fine. Problem solved.
Now I am unsure why he was trying to use superscopes. Myself I have done lots of these dhcp relay installations and never once did superscopes. In fact this is the first time I have heard of it so now I will know to look for it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 04:10 PM
let me anwer your questions:
1. yes each vlan has ip helper-address X.X.X.X (ip address of w2003 dhcp server
2. I am not sure if there is a default gateway option on each scope. I am pretty sure there is one. I didn't setup the scopes but I did watch as I deleted a address and then watched as it reappeared in the wrong scope.
3. I am sure the core switch is a server (I set this myself) I am unsure if the remote is a client or server or transparent. I know that if I do a show vlan on the edge switch I do see all the vlans listed. I am doing switchport allowed vlans x,x,x,x where the vlans I want to be allowed across the trunked 801q uplink to the core.
Anyhow any suggestions on where to start would be appreciated.
Oh I almost forgot there is a redundant core switch setup with a port channel 4 gig uplink between the two. I'm not sure if that would effect anything but I figured I would share that info incase it might make a difference.
