Solved

Getting DHCP from trunked ports on an HP switch

Posted on 2013-11-15
10
416 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 45

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 45

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
 

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 45

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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 45

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 45

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now