Solved

Getting DHCP from trunked ports on an HP switch

Posted on 2013-11-15
10
419 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Let’s list some of the technologies that enable smooth teleworking. 
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…
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…

867 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

22 Experts available now in Live!

Get 1:1 Help Now