- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Aruba & ProVision-based
- >
- Enable DHCP in switch HP 8212zl
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-25-2015 08:42 AM
05-25-2015 08:42 AM
Enable DHCP in switch HP 8212zl
Hi.
now I configured a VLAN 109 with addressing 192.168.109.1/26 and I want configure DHCP in this switch for this VLAN.
What is the process of configure?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-25-2015 05:41 PM
05-25-2015 05:41 PM
Re: Enable DHCP in switch HP 8212zl
There are two options that I can think of regarding DHCP and I am not sure which is of interest to you. So here is info on both:
DHCP Relay:
Add the command "ip helper-address <IP-ADDR> to VLAN 109.
vlan 109
name "VLAN109"
ip address 192.168.109.1 255.255.255.192
ip helper-address <DHCP-Server>
exit
DHCP Server:
Configure the DHCP Scope with commands similar to this:
dhcp-server pool "<Scope-Name>"
authoritative
default-router "192.168.109.1"
dns-server "4.4.4.4,8.8.8.8"
domain-name "domain.com"
network 192.168.109.1 255.255.255.192
range 192.168.109.2 192.168.109.62
exit
dhcp-server enable
Then enable the dhcp server on VLAN 109 with the command "dhcp-server".
Here is the interesting config:
vlan 109
name "VLAN109"
ip address 192.168.109.1 255.255.255.192
dhcp-server
exit
dhcp-server pool "VLAN109"
authoritative
default-router "192.168.109.1"
dns-server "4.4.4.4,8.8.8.8"
domain-name "domain.com"
network 192.168.109.1 255.255.255.192
range 192.168.109.2 192.168.109.62
exit
dhcp-server enable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-24-2015 01:00 AM
09-24-2015 01:00 AM
Re: Enable DHCP in switch HP 8212zl
Hi,
This is a fascinating bit of news to me. I'm setting up an HP8212 from scratch. Just flashed the firmware to K.15.18.0006 and have followed your guide to add a working DHCP server and scope on one of the VLANs I've configured on the switch.
My question is:
---How many different DHCP server scopes can I run on the HP8212?
I tried adding the DHCP-SERVER command on another VLAN. It accepts the command and the scope config in the global context but when I check the config after exit command none of those show up, as in it just drops the additional DHCP server scope commands and only retains the original one I configured for the single VLAN. I tried disable and enable of dhcp-server etc...
So to recap I need to have different DHCP server scopes for atleast 2 possibly 3 VLANs and would like to run the in built DHCP service on the HP8212, ie.
VLAN33
name "Guest Wifi"
range 192.168.33.30 to 192.168.33.200
VLAN 34
name "VOIP"
range 192.168.34.100 to 192.168.34.200
VLAN 35
name "Spare DHCP"
range 192.168.35.100 to 192.168.35.200
plus run a number of DHCP options if at all possible.
Appreciate your help with this.
Kiarash
AGATE IT
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP