- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- 2920 vlan, dhcp server scope per vlan
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
05-06-2015 12:27 PM
05-06-2015 12:27 PM
2920 vlan, dhcp server scope per vlan
Hi people,
Thanks up front for any help. My boss is letting me teach myself how to setup and configure 2920 switches. I have updated to last available firmware.
The idea is set up 4 vlans with applied dhcp scopes. When I went to check to see if I could connect a pc and get ip per scope and port I get apippa address... and of course cannot get online. When I try to change server scope I get an error of ip address already asinged in range. Also just a thought is there and order of operations to follow? like vlan then dhcp pool?
Running configuration:
; J9727A Configuration Editor; Created on release #WB.15.16.0006
; Ver #06:0c.fc.f3.ff.35.0d:c2
hostname "HP-2920-24G-PoEP"
module 1 type j9727a
gvrp
ip routing
snmp-server community "public" unrestricted
oobm
ip address dhcp-bootp
exit
vlan 1
name "defualt"
untagged 2,A1-A2,B1-B2
tagged 1,3-24
ip igmp
voice
dhcp-server
exit
vlan 2
name "Wireless"
untagged 3
tagged 1-2,4-24
ip address 10.0.2.1 255.255.255.128
dhcp-server
exit
vlan 3
name "voip"
untagged 4
tagged 1-3,5-24
ip address 10.0.3.1 255.255.255.128
dhcp-server
exit
vlan 4
name "Servers"
untagged 5
tagged 1-4,6-24
ip address 10.0.4.1 255.255.255.128
dhcp-server
exit
dhcp-server pool "1"
range 10.0.1.1 10.0.1.254
exit
dhcp-server pool "2"
range 10.0.2.1 10.0.2.254
exit
dhcp-server pool "3"
range 10.0.3.1 10.0.3.254
exit
dhcp-server pool "4"
range 10.0.4.1 10.0.4.254
exit
- Tags:
- DHCP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2015 03:19 PM
05-06-2015 03:19 PM
Re: 2920 vlan, dhcp server scope per vlan
newbenstein,
I would take a look at the DHCP scopes that you have created.
- The scope configs are missing the network and default-router statements.
- The ranges specified are /24, whereas the VLAN subnets are /25
I'm pretty sure that they should be configured something like this :
dhcp-server pool "1"
default-router "10.0.1.1"
network 10.0.1.0 255.255.255.128
range 10.0.1.2 10.0.1.126
exit
On a more "design" note - you have no IP address on VLAN 1, but you have defined a scope there, and you have created a scope for VLAN 4, which is your server VLAN and probably the last place that you actually want DHCP :).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2015 04:49 PM
05-06-2015 04:49 PM
Re: 2920 vlan, dhcp server scope per vlan
Here is a config that is working on my 2920:
Running configuration:
; J9729A Configuration Editor; Created on release #WB.15.17
; Ver #08:04.eb.8f.fc.f3.ff.37.2d:82
hostname "2920"
module 1 type j9729a
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip routing
oobm
no ip address
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 44-48
untagged 1-43,A1-A2,B1-B2
ip address 10.1.1.3 255.255.255.0
dhcp-server
exit
dhcp-server pool "Home"
authoritative
default-router "10.1.1.1"
dns-server "10.1.1.1,10.1.1.2"
domain-name "test.local"
network 10.1.1.0 255.255.255.0
range 10.1.1.200 10.1.1.254
exit
dhcp-server enable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2015 06:38 AM
05-07-2015 06:38 AM
Re: 2920 vlan, dhcp server scope per vlan
Is your issue resolved now?
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2015 11:07 AM
05-07-2015 11:07 AM
Re: 2920 vlan, dhcp server scope per vlan
Thanks but not yet I got sent back on site today to fix teir 1 pc stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2015 11:23 AM
05-08-2015 11:23 AM
Re: 2920 vlan, dhcp server scope per vlan
Is there an order in which to set this up? Also the commands to add the info to the vlans can you help me out with that too? It seems not to take the changes which is why I ask about the order of operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2015 01:43 PM
05-08-2015 01:43 PM
Re: 2920 vlan, dhcp server scope per vlan
The order didn't matter much to me except that the global "dhcp-server enable" was last.
1. Configure your DHCP Server Pools: dhcp-server pool, etc.
2. Turn on dhcp-server on the appropriate VLANs: vlan 20, dhcp-server
3. Enable the DHCP Server globally: dhcp-server enable