Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting DHCP from trunked ports on an HP switch

Posted on 2013-11-15
10
Medium Priority
?
429 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 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
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.

 

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

730 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