Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

DHCP on ProCurve 5412zl

ryjguy7
Occasional Contributor

DHCP on ProCurve 5412zl

Hello, We have a ProCurve 5412zl switch and I would like to configure a dhcp server to broadcast across the subnets. I cannot find the appropriate command line options to set a port on the VLAN for the dhcp server. How is this done, and if so what is the command to set this up via a telnet session.

ryjguy7
8 REPLIES
Sudain
Advisor

Re: DHCP on ProCurve 5412zl

I'm unclear what you mean. Do you want the 5412 to be the DHCP server? Or do you want it to just connect a DHCP server to the network?

Also, are you having it do any routing?
ryjguy7
Occasional Contributor

Re: DHCP on ProCurve 5412zl

. . . I just want to setup an ip helper-address on the switch. I am adding a backup DHCP server to our network, I see that our primary DHCP is setup already from the previous Systems Admin ;


show ip helper-address vlan 100

IP Helper Addresses

IP Helper Address
-----------------
10.0.0.184

show ip helper-address vlan 200

IP Helper Addresses

IP Helper Address
-----------------
10.0.0.184
10.2.200.1

What I want to do is add an ip helper-address for 10.2.200.1 to the vlan 100 which has been setup already in the vlan 200, as I need our DHCP backup server to, run on both vlans like the 10.0.0.184 DHCP server is . . .

Sudain
Advisor

Re: DHCP on ProCurve 5412zl

config t
vlan 100
ip helper-address
exit
show ip helper-address vlan 100

Due to the nature of the command I'm guessing if the backup DHCP server is on vlan 100 it doesn't need this command - it'll just be redundant.


http://www.procurve.com/network-pro-news/articles/network-rxmar08.htm

The minimum requirements for DHCP Relay Operation are:

1.DHCP Relay is enabled on the routing switch (the default setting);
2.A DHCP server is servicing the routing switch;
3.IP Routing is enabled on the routing switch;
4.There is a route from the DHCP server to the routing switch and back;
5.An IP Helper address is configured on the routing switch, set to the IP address of the DHCP server on the VLAN connected to the DHCP Client.
DHCP relay is enabled by default. If it has been disabled, it can be re-enabled simply by issuing the command:

ProCurve Switch(config)# dhcp-relay

Next, configure the IP Helper Address on VLANs where clients will reside:

ProCurve Switch(config)# vlan 2
ProCurve Switch(vlan-2)# ip helper-address
ryjguy7
Occasional Contributor

Re: DHCP on ProCurve 5412zl

Thanks! Exactly what I needed . . . sometimes it's not so clear on the pro curve command line manual. Excellent!

Thanks again!

ryjguy7
ryjguy7
Occasional Contributor

Re: DHCP on ProCurve 5412zl

. . . what would be handy would be to know how to remove the ip helper-address aswell . . .
Sudain
Advisor

Re: DHCP on ProCurve 5412zl

lol, love the formatting. :D

config t
vlan 100
no ip address helper
OR
no ip address helper
exit
show ip-helper vlan 100
ryjguy7
Occasional Contributor

Re: DHCP on ProCurve 5412zl

. . . rock on!
Sudain
Advisor

Re: DHCP on ProCurve 5412zl

No problem!

Let me know if have further questions. :)