Switches, Hubs, and Modems
1753427 Members
4802 Online
108793 Solutions
New Discussion юеВ

DHCP across vlans not working

 
Jeff74
Occasional Advisor

DHCP across vlans not working

My clients in VLAN25 are having to reboot several times to obtain an IP address in Windows XP. My config is below from my Procurve 2910al

My DHCP servver is 172.16.45.10 and my procurve switch is plugging into a 3com layer 2 switch which is setup as vlan25 only.

Running configuration:

; J9147A Configuration Editor; Created on release #W.14.38

hostname "ProCurve 2910al-48G Switch"
module 1 type J9147A
trunk 1-2 Trk1 LACP
ip default-gateway 172.16.45.1
ip routing
vlan 1
name "DEFAULT_VLAN"
untagged 41-48
ip address 172.16.45.1 255.255.255.0
no untagged 3-40,Trk1
exit
vlan 25
name "lvl2"
untagged Trk1
ip helper-address 172.16.45.10
ip address 172.16.25.1 255.255.255.0
exit
vlan 15
name "lvl1"
untagged 3-40
ip helper-address 172.16.45.10
ip address 172.16.15.1 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 172.16.45.254
snmp-server community "public" unrestricted
snmp-server contact "Jeff Powers Ext 237" location "Server Room Lvl 1"
spanning-tree Trk1 priority 4
no autorun
password manager
password operator


20 REPLIES 20
cenk sasmaztin
Honored Contributor

Re: DHCP across vlans not working

hi jeff
what is the your dhcp server default gateway address
cenk

Jeff74
Occasional Advisor

Re: DHCP across vlans not working

172.16.45.1

I have removed the trk1 which was LACP between the 2 switches for a 2 GB connection. It is now just a single link to see if that helps my situation.
Jeff74
Occasional Advisor

Re: DHCP across vlans not working

The removal of the LACP link has not helped my situation :(
AUS Adam
Advisor

Re: DHCP across vlans not working

Switch config looks sound, I would put wireshark on a PC and /or the DHCP server and trace it at a packet level.

Shadow13
Respected Contributor

Re: DHCP across vlans not working

is this the only switch or there are other switched with routing enabled on them ?
Jeff74
Occasional Advisor

Re: DHCP across vlans not working

We have only 2 switches and 2 floors.

Default VLAN for servers
VLAN lvl1
VLAN lvl2

Now everyone on lvl1 is plugged into the Procurve switch and all is well.

Everyone on lvl2 is plugged into the 3com Baseline switch and are having trouble getting DHCP addresses. The 3com 2948 Baseline is a layer2 switch with all ports set to VLAN25 lvl2.

I setup wireshark and ran it on both workstations on each level unfortunately I got the same result for both floors which is not good as the second floor is not working all the time. Have attached the wireshark output from the problem floor when releasing and renewing the IP address in cmd.

Thanks for your help so far but am getting deperate and running out of ideas.
Jeff74
Occasional Advisor

Re: DHCP across vlans not working

My DHCP server is Windows 2003 with 3 scopes now I assume I don't need a superscope for these VLANS to work as I thought this was for multiple subnets on the same wire.
Shadow13
Respected Contributor

Re: DHCP across vlans not working

No which port this 3com switch is plugged on the HP switch ?
cenk sasmaztin
Honored Contributor

Re: DHCP across vlans not working

your dhcp server ip address 172.16.45.10
must have connect vlan 1 untag port

(because 172.16.45.0 network have vlan 1)

but I see your dhcp server connect on vlan 25
it is not working

please test and say me result
your 3com switch uplink port connect hp switch port 42
and dhcp server default gateway address must have 172.16.45.1
cenk