Aruba & ProVision-based
cancel
Showing results for 
Search instead for 
Did you mean: 

HP switch (J9627A) not forwarding dhcp request of computer to dhcp server

 
SOLVED
Go to solution
TsAmE
Occasional Contributor

HP switch (J9627A) not forwarding dhcp request of computer to dhcp server

Hi. I have the following topology (attached). I have a computer which is connected to a new hp switch 48 port (J9627A model) which I recently configured. After connecting my computer to the hp 9627A switch, I noticed that it was not obtaining an ip address. However, if I swap this hp 9627A switch with another switch the computer gets an ip address, so I know that the dhcp server is working and the problem might be a misconfiguration with the hp 9627A switch.

Below is the output from the show running-config command on the hp 9627A switch:

Running configuration (HP: J9627A):

power-over-ethernet pre-std-detect ports 1-48
qos type-of-service ip-precedence
ip default-gateway 10.3.0.2
ip route 10.2.0.0 255.255.255.0 10.3.0.0
ip route 10.2.0.0 255.255.255.0 10.2.0.1
ip routing
snmp-server community "public" unrestricted
vlan 1
name "vlan 1"
untagged 1-52
ip address 10.3.0.1 255.255.255.128
exit
vlan 2
name "voice vlan"
tagged 1-52
ip address 192.168.1.2 255.255.255.0
voice
management-vlan 1
spanning-tree bpdu-protection-timeout 300 force-version rstp-operation
loop-protect 1-48
no dhcp config-file-update

Am I missing a command which is preventing the switch from forwarding the computers dhcp requests?

 

 

3 REPLIES
Vince-Whirlwind
Honored Contributor

Re: HP switch (J9627A) not forwarding dhcp request of computer to dhcp server

What IP address/default GW is on the DHCP server?

What is the config of the other switch?

What does the "ip default-gateway 10.2.0.1" achieve, given this switch doesn't appear to have any interface in that subnet?

Why do you have two routes for 10.2.0.0/24?

What does a default route pointing at a network address (10.3.0.0) even do?

How can a default route point at an IP address (10.2.0.1) that doesn't belong to any local subnet?

 

TsAmE
Occasional Contributor
Solution

Re: HP switch (J9627A) not forwarding dhcp request of computer to dhcp server

the default gateway is suppose to be 10.3.0.2 (not 10.2.0.1, that was a mistake), though this change didnt fix the problem. Removing the management-vlan 1 command with "no management-vlan 1" fixed the problem and the computer now gets an ip address from the dhcp server. Am curious as to why the management-vlan 1 command was preventing the switch from forwarding the dhcp requests of the pc.

EricAtHP
Esteemed Contributor

Re: HP switch (J9627A) not forwarding dhcp request of computer to dhcp server

The "management-vlan" command is basically a security setting. It stops access to the switch from other VLANs and it also stops routing to and from that VLAN. Disabling the management-vlan setting was definitely the right answer.