Aruba & ProVision-based
1748158 Members
3915 Online
108758 Solutions
New Discussion юеВ

DHCP Server service on 5406zl switch

 
RRosas
Occasional Advisor

DHCP Server service on 5406zl switch

Hi,

How I can enable DHCP Server on the 5406zl switch? Can I do it?

For example, on some routers I can do this:

ip dhcp excluded-address 192.168.198.1 192.168.198.149
ip dhcp excluded-address 192.168.198.170 192.168.198.254
no ip dhcp relay information check

ip dhcp pool test
network 192.168.198.0 255.255.255.0
domain-name test.com
default-router 192.168.198.11
dns-server 192.168.91.5
netbios-name-server 192.168.91.5

On the 5406zl switch, can I do something similar?

 

 

P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. - Hp Forum moderator

12 REPLIES 12
Jeff Carrell
Honored Contributor

Re: DHCP Server service on 5406zl switch

basically, no...

the dhcp service on procurve switches only supports connected devices going for web-auth on an 802.1X platform...

for normal device dhcp needs, you need an external dhcp server...

hth...jeff
TW_Nighty
Advisor

Re: DHCP Server service on 5406zl switch

Hey,

 

I realise this is an ancient topic, however for people searching for this information i would like to update this topic:

 

HP introduced a DHCP-server function with one of the newer firmware releases.

Try firmware K15.14.xxxx or search the release notes.

 

I have a 5406 with firmware K15.16.0005 and here are some commands you can look into for setting up dhcp.

 

in your vlan configuration:

Conf t

vlan X

you can set dhcp-server with command "dhcp-server"

 

this enables the vlan for dhcp-server use.

 

Next setup a dhcp server with pools and enable the dhcp server:

 

in normal config mode, no vlan context:

(Config)#

dhcp-server pool "yourpoolname here"

dhcp-server pool "yourpoolname here" network "your ipnetwork and mask"

dhcp-server pool "yourpoolname here" default-router "gateway adres here"

dhcp-server pool "yourpoolname here" domain-name "your domain name"

 

additionally you can add dhcp options, lease time, exclusions, static ip adresses reservations and a ip range to hand out.

 

for example:

dhcp-server pool "yourpoolname here" range "start ip adres here" "end ip adres here"

dhcp-server pool "yourpoolname here" lease 02:00:00      <- this sets your lease time to 48 hours

 

 

finally you can (globally) enable the dhcp-server using:

dhcp-server enable

 

Below you wil find a cut and paste from the configuration file.

 

vlan 100

   name "DCR-Services"

   untagged B1-B11

   ip address 10.128.100.1 255.255.255.0

   dhcp-server

   exit

 

dhcp-server pool "DCR-Services"

   authoritative

   default-router "10.128.100.1"

   domain-name "proef.tuin"

   lease 02:00:00

   network 10.128.100.0 255.255.255.0

   range 10.128.100.51 10.128.100.200

   exit

dhcp-server enable

 

Omarrsd
Advisor

Re: DHCP Server service on 5406zl switch

HI Dear I have created the following DHCP POOL in COnfiguraiton mode

dhcp-server pool VLAN30
dhcp-server pool VLAN30 network 172.16.30.0 255.255.255.0
dhcp-server pool VLAN30 default-router 172.16.30.1
dhcp-server pool VLAN30 dns-server 62.215.6.4

 

But after enabling the dhcp Server in Configuration Mode i got this error. 

No valid pool has been configured. 

 

Please help. 

 

16again
Respected Contributor

Re: DHCP Server service on 5406zl switch

try adding:

dhcp-server pool VLAN30 authoritive
dhcp-server pool VLAN30 pool 172.16.30.100  172.16.30.200
Michael Patmon
Trusted Contributor

Re: DHCP Server service on 5406zl switch

I think you mean range instead of pool, but that should do it.

dhcp-server pool "test"

   range 172.16.30.100 172.16.30.200

sajid_Khan
Occasional Visitor

Re: DHCP Server service on 5406zl switch

HI i want to configure DHCP pools for each vlan ( per vlan DCHP configuration on HP E5412 zl Switch ) kindly help me in this regards

 

Thanks 

sajid_Khan
Occasional Visitor

Re: DHCP Server service on 5406zl switch

my email address is 

-----------

ActNatural
New Member

Re: DHCP Server service on 5406zl switch

To create DHCP pools per VLAN, each VLAN needs a unique subnet and the switch needs an IP on that subnet. Then it is simply a matter to create a pool with a unique name for each network.

WonderWOW
Occasional Visitor

Re: DHCP Server service on 5406zl switch

I love this thread . Question . What if I wanted to set up an Helper address for the vlan ? Would it just point to an address in the pool or do I need to set up another pool?