Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting DHCP from trunked ports on an HP switch

Posted on 2013-11-15
10
Medium Priority
?
432 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
  • 5
  • 5
10 Comments
 
LVL 47

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 47

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 47

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 47

Accepted Solution

by:
Craig Beck earned 2000 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 47

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

885 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