HPE Aruba Networking & ProVision-based
1830213 Members
1441 Online
109999 Solutions
New Discussion

DHCP Issue

 
VShiv
Frequent Visitor

DHCP Issue

Hi

 

I have deployed to HP switches as Core switch 5406zl. There are 2 cisco switches also installed in the network each hanging on the Core switch. My client machines are unable to get ip address from the DHCP server.

Please  help in the case. I have attached config files for both the core switches North-Server-Room-HP-Switch and South-Server-HP-Switch

 

VJ

 

 

 

 

 

7 REPLIES 7
Vince_Whirlwind
Trusted Contributor

Re: DHCP Issue

A few little things first:

 

1/ On the North switch, you have something called "primary VLAN 5". You don't have the same config on the South switch. I have never used this command, I doubt it is necessary, but it doesn't seem like a good idea to have different config on the 2 switches.

 

2/ You have "management vlan 2" defined. I don't know what the effect of this is going to be on routing switches. Maybe nothing. I doubt it does anything useful?

 

3/ You have IP routing enabled on both switches. You also have a "default gateway" defined. If they are routing switches, you don't need a "default gateway", you need a default route, "ip route 0.0.0.0 0.0.0.0 10.0.0.250". Some switches correctly interpret a default gateway as a default route when IP routing is enabled, but some don't.

 

OK, but the major thing:

You have both switches enabled as routers, and they are both routing for all the same subnets. Although I have seen similar designs that work, to me, this is a horrible way to design a network, and I can think of all sorts of things that would go wrong with it, quite beside it being unnecessarily complicated to manage.

The thing is - you have 5400s, which support VRRP, so you can have a perfectly sound design by configuring VRRP, which will give you much better resilience and simpler management.

 

Configure VRRP for VLAN2, make North the master and make 10.0.1.1 the virtual on both switches, then make all the VLAN2 hosts use 10.0.1.1 as their default gateway.

 

 

As for your Cisco switches - are they on port A19 on both switches?

VLAN5 is untagged to the Cisco switches, the servers mentioned in your DHCP forwarding are on VLAN5, so the requests should be being forwarded OK.

The problem is probably the server's default GW - what is it?

VShiv
Frequent Visitor

Re: DHCP Issue

Hi Vince

 

Hi Vince

I am new to HP switches; here is my network diagram just to put some more light. The default gateway is my firewall. The actual issue I am facing is my Access points are not getting IP address were as my client machines are. I tried connecting the AP to access port but still I was not getting ip address.

Thanks & regards

 

VJ

Vince_Whirlwind
Trusted Contributor

Re: DHCP Issue

What is the default GW on your DHCP servers?

 

What is the router address in the scopes configured for the new VLAN?

VShiv
Frequent Visitor

Re: DHCP Issue

Hi Vince

 

The default gateway is my firewall 10.0.0.250/24.

 

What do you mean by route address

 

Thanks

Vijay

Vince_Whirlwind
Trusted Contributor

Re: DHCP Issue

If you want your switch to perform inter-VLAN routing, you should not be using your firewall to route for that subnet.

 

 

Vince_Whirlwind
Trusted Contributor

Re: DHCP Issue

So, your DHCP server is using the firewall as its router - how does the DHCP server communicate with hosts in the new VLAN? Does the firewall even know where this new VLAN's subnet is?

 

The router address is a scope option.

VShiv
Frequent Visitor

Re: DHCP Issue

Hi Vince

 

I do not want my firewall to do the inter vlan routing the switch is capable to doing it.

 

Thanks & regards

 

Vj