HPE Aruba Networking & ProVision-based
1833490 Members
2887 Online
110052 Solutions
New Discussion

Re: Procurve 5412zl DHCP and VLAN issues

 
Jnno
Occasional Contributor

Procurve 5412zl DHCP and VLAN issues

Hi. I am setting up a 5412zl. I have three main VLANs (4,5,6) and a management VLAN (3). Each of the three main VLANs has it's own DHCP server.

 

I am finding that when I connect a PC to any of the ports I initially get an IP address relating to VLAN 4, regardless of which VLAN I have setup as untagged on that port. I can only get a correct IP address for VLANs 5 and 6 after doing an "ipconfig /release" and then "ipconfig /renew".

 

I have tried adding helper addresses for VLANs 5 and 6, corresponding to the DHCP servers for these, but it hasn't changed the result.

 

I am confused because the PC obtains the correct IP addrses after an "ipconfig /renew", suggesting that it can communicate with the correct dhcp server, but gets the wrong IP address when the PC is first switched on. I am running the latest firware and have rebooted the switch since making any changes. Can anyone help please?

 

Here is the config:

; J8698A Configuration Editor; Created on release #K.15.04.0003

; Ver #01:00:01

hostname "TEST_SWITCH"

module 1 type J9534A

module 2 type J9535A

trunk B19-B20 Trk1 Trunk

ip routing

vlan 1

  name "DEFAULT_VLAN"

  no untagged A1-A24,B1-B18,B21-B24,Trk1

  no ip address

exit

vlan 3

  name "B_3"

  untagged Trk1

  ip address 10.12.3.42 255.255.255.0

exit

vlan 2

  name "UNASSIGNED"

  untagged A4-A24,B1-B18

  tagged Trk1

  no ip address

exit

vlan 4

  name "VLAN_4"

  untagged A1

  tagged Trk1

exit

vlan 5

  name "VLAN_5"

  untagged A3

  tagged Trk1

  no ip address

exit

vlan 6

  name "VLAN_6"

  untagged A2

  tagged Trk1

  no ip address

exit

ip route 10.12.8.0 255.255.248.0 172.1.1.1

ip route 10.12.8.0 255.255.255.0 10.12.3.1

snmp-server community "public" unrestricted

snmp-server host 10.12.9.153 community "public"

spanning-tree Trk1 priority 4

primary-vlan 4

management-vlan 3

password manager

 

Many thanks for any assistance you can give.

2 REPLIES 2
Fredrik Lönnman
Honored Contributor

Re: Procurve 5412zl DHCP and VLAN issues

Hi, since you have no ip adress on either vlan 4,5,6 im guessing that the vlans are routed/terminated elsewhere? Thats where you have to troubleshoot and add ip-helpers etc, not on this switch.

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

cenk sasmaztin
Honored Contributor

Re: Procurve 5412zl DHCP and VLAN issues

your config is wrong

 

please copy and paste my config

dhcp server resiade in vlan 4 untag port and ip adress must be 10.12.4.100/24  dhcp server default gateway address 10.12.4.42

 

hostname "TEST_SWITCH"

module 1 type J9534A

module 2 type J9535A

trunk B19-B20 Trk1 Trunk

ip routing

vlan 1

  name "DEFAULT_VLAN"

  no untagged A1-A24,B1-B18,B21-B24,Trk1

  no ip address

exit

vlan 3

  name "B_3"

  untagged Trk1

  ip address 10.12.3.42 255.255.255.0

exit

vlan 2

  name "UNASSIGNED"

  untagged A4-A24,B1-B18

  tagged Trk1

  ip address 10.12.2.42 255.255.255.0
  ip helper-address 10.12.4.100

exit

vlan 4

  name "VLAN_4"

  untagged A1

  tagged Trk1
  ip address 10.12.4.42 255.255.255.0

exit

vlan 5

  name "VLAN_5"

  untagged A3

  tagged Trk1

  ip address 10.12.3.42 255.255.255.0
  ip helper-address 10.12.4.100

exit

vlan 6

  name "VLAN_6"

  untagged A2

  tagged Trk1

  ip address 10.12.6.42 255.255.255.0
  ip helper-address 10.12.4.100

exit

ip route 10.12.8.0 255.255.248.0 172.1.1.1

ip route 10.12.8.0 255.255.255.0 10.12.3.1

snmp-server community "public" unrestricted

snmp-server host 10.12.9.153 community "public"

spanning-tree Trk1 priority 4

primary-vlan 4

management-vlan 3

password manager

cenk