Aruba & ProVision-based
1748010 Members
4542 Online
108757 Solutions
New Discussion

Help with Procurve 2524 stacking.

 
SOLVED
Go to solution
manningit
Visitor

Help with Procurve 2524 stacking.

I have two HP 2524 Procurve switchs. I would like to stack the switches and retain DHCP for the computers connected to the switches. Is this possible? Here is the configuration I have set for the "commander".

 

Startup configuration:

; J4813A Configuration Editor; Created on release #F.05.17

hostname "City_Hall-0"
snmp-server contact "Eddie"
time timezone 5
cdp run
interface 9
speed-duplex 100-full
exit
ip default-gateway 192.168.2.1
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-26
ip address 192.168.2.160 255.255.255.0
exit
stack commander "City_Hall"
stack auto-grab
no aaa port-access authenticator active
spanning-tree

 

When I place this switch in the network, the computers only work with static ip. I do not see how to configure for DHCP if it is even possible.

Any help greatly appreciated.

4 REPLIES 4
Uma_Maheswar
Frequent Advisor

Re: Help with Procurve 2524 stacking.

This switch doesn't fulfil your requirement of DHCP.

 

Only couple of new models support this, like 2920

 

 

Oliver Wehrli
Valued Contributor
Solution

Re: Help with Procurve 2524 stacking.

Hi,

 

Where is your DHCP server located?

 

Your clients will only get an IP address from your DHCP, if they are located on the same VLAN, or to put it in other words, on the same broadcast domain. DHCP communicates through broadcasts, hence they need to be on the same subnet.

 

If your DHCP server is on a different subnet, you would need an IP helper or DHCP relay agent on the switch, which would forward any DHCP request received from the client side to the DHCP server unicast.

I am not sure if this is supported by the 2520. You might want to check the manual http://h20566.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=51079&docId=emr_na-c02565341

 

The switch as such cannot act as a DHCP server this is for sure, but if the clients are on the same VLAN as the DHCP server, they should get a DHCP lease.

 

Regards

#I work for Hewlett Packard Enterprise
manningit
Visitor

Re: Help with Procurve 2524 stacking.

First, thanks Oliver. You are correct.

I offer the following to anyone that may be trying to do the same as follows. What I had was two HP 2524 Procurve switches. One was in service, the other was a spare. On the one in service I started to run out of ports, so I wanted to stack the two switches to gain additional ports. All would be on the same vlan as Oliver pointed out. Here is the configuration I used to have a "commander" and "member" both using DHCP/boot. So far everything appears to be working great. Hope this helps.

 

; J4813A Configuration Editor; Created on release #F.05.17

hostname "City_Hall-0"
snmp-server contact "Eddie"
time timezone 5
cdp run
interface 9
speed-duplex 100-full
exit
ip default-gateway 192.168.2.1
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-26
ip address dhcp-bootp
exit
stack commander "City_Hall"
stack auto-grab
stack member 1 mac-address 001c2ea59f40
no aaa port-access authenticator active
spanning-tree

City_Hall-1# show config


Startup configuration:

; J4813A Configuration Editor; Created on release #F.05.72

hostname "City_Hall-1"
cdp run
interface 9
speed-duplex 100-full
exit
snmp-server community "public" Unrestricted
snmp-server host 192.168.2.66 "public" Not-INFO
vlan 1
name "DEFAULT_VLAN"
untagged 1-26
ip address dhcp-bootp
exit
stack join 00110a192a00
no aaa port-access authenticator active

cmwilk
New Member

Re: Help with Procurve 2524 stacking.

The DHCP setting in the switch config is only for the management address of the swich itself. Your DHCP IP address would be assigned by a DHCP server or your firwall, the swiytch has nothing to do with DHCP.