Solved

Getting DHCP from trunked ports on an HP switch

Posted on 2013-11-15
10
422 Views
Last Modified: 2013-11-16
Hi Everyone,

I am wondering if you could help me out. I am in the middle of setting up a Bonjour Gateway and I need to Tag all of my VLANs on the switchport the gateway is plugged into, but also be able to get DHCP from that switchport as if I was sitting untagged on a specific vlan. I am using an HP switch.

Any ideas, I know how to do this with Cisco and Brocade but not HP

Thanks a ton
0
Comment
Question by:WindhamSD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 46

Expert Comment

by:Craig Beck
ID: 39652435
So on the switch, you'd do something like this...

vlan 1
 untagged 1-12,25-26
vlan 2
 tagged 1,25-26
vlan 3
 tagged 1,25-26
vlan 4
 tagged 1,25-26

Open in new window


VLAN 1 is the native VLAN for ports 1-12 and 25-26
VLANs 2-4 are tagged in ports 1, 25 and 26.

In this example the Bonjour Gateway is connected to port 1, and the switch uplinks are 25 and 26.

In a HP switch you look at it the opposite way to a Cisco switch.  In a Cisco switch you tag VLANs in ports.  In HP switches you tag ports in VLANs.

Make sense?
0
 

Author Comment

by:WindhamSD
ID: 39653118
I think I understand where you are coming from. Let's say that I need the gateway to get DHCP from vlan 100 but the switch is setup to have vlan 1 as the native vlan. The gateway is on port 1. Would you know the syntax to complete this?

Thanks for your help so far!
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 39653141
Ok, which VLAN would the gateway be on, and which VLAN would the DHCP server be on?  Are you saying the gateway is on VLAN 100 and the DHCP server is on VLAN 100?

The native VLAN isn't relevant to DHCP.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:WindhamSD
ID: 39653151
Thanks for the comment Craig. Basically I have 23 vlans which all need to be trunked on the same port that the gateway is on. The gateway needs to get DHCP from vlan 172. Right now I have all vlans tagged except 172 and have 172 untagged.
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 39653165
So can the gateway do VLAN tagging?  It's unusual for a gateway to obtain an IP from DHCP.

I think I get what you're doing, but the DHCP bit doesn't really make much sense.

Anyhow, to put the gateway in each VLAN you'd do this...

vlan 2
 tagged 1
vlan 3
 tagged 1
vlan 4
 tagged 1
...
...
vlan 172
 untagged 1

Open in new window

That's probably what you've already got??

Is the DHCP server actually on VLAN 172, or does it just assign addresses on VLAN 172?
0
 

Author Comment

by:WindhamSD
ID: 39653259
Yep you got it Craig,

I have done that and the DHCP server is on the 172 VLAN and I use DHCP relay on all other VLANs to get to the DHCP server that is on 172. I think this document might help out trying to explain what I am trying to do:

http://www.aerohive.com/330000/docs/help/english/documentation/AerohiveBonjourGatewayQuickStart_330079-01.pdf

I am setting up this Aerohive Bonjour Gateway as described here...

I want to thank you again Craig for your help!
0
 
LVL 46

Accepted Solution

by:
Craig Beck earned 500 total points
ID: 39653273
Ok get you now... I've used the Aerohive Bonjour Gateway so I know where you're coming from!

The gateway doesn't need to use the DHCP service - it just needs to see the DHCP server.  Although, I'm not 100% convinced that it actually does need to be on the same VLAN as the DHCP server at all.  It just needs an interface on the VLAN where the Bonjour services will be located.

The gateway needs an interface in any VLAN where a Bonjour client or service exists, so it can respond to Bonjour broadcasts.  So, if your gateway's management interface is on VLAN 172 but the clients are on VLAN 20, you'd need an interface on VLAN 20 from the gateway too.  You'd need to add extra VLANs to the vNIC if you're running the gateway on VMWare.

On the HP switch you'd have...

vlan 20
 tagged 1
vlan 172
 untagged 1


On the gateway, VLAN 172 would be the native VLAN, and VLAN 20 would be tagged.
0
 

Author Closing Comment

by:WindhamSD
ID: 39653285
Beautiful!!!! Thanks Craig works like a champ!!!!!! I was on the right track but coming from the Cisco world theory is upside down on the HPs sometimes.

Have a great day!
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 39653312
Glad to help.  I feel your pain... I do both Cisco and HP!



You too :-)
0
 

Author Comment

by:WindhamSD
ID: 39653368
Haha I'm on my way there... At my new place I need to learn HP and Brocade... Thankfully, they are very similar to each other.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
An article on effective troubleshooting
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question