Adding multiple VLANS to a port (283 Views)
Reply
Occasional Contributor
Posts: 3
Registered: ‎04-12-2012
Message 1 of 4 (283 Views)

Adding multiple VLANS to a port

[ Edited ]

Hi guys, I know this has been covered a lot in the past, but I'm having difficulty getting a Procurve e5406 module to pass traffic when a port has two VLANS assigned to it.

 

When using the configuration below, the ports happily pass traffic between the two VLANS when connected to appropriate ports:

 

****

vlan 150
   name "Management Vlan" 
   untagged C1-C12
   ip address 10.120.150.244 255.255.255.0
   tagged Trk1
   ip access-group "Mgmt-Traffic-Only" vlan
   exit
vlan 155
   name "Management vMotion Vlan" 
   untagged C13-C24
   ip address 10.120.155.244 255.255.255.0
   tagged Trk1
   ip access-group "Mgmt-Traffic-Only" vlan
   exit

****

 

When the ports are tagged for both VLANS, as below, they refuse to pass any traffic for either VLAN, or between the two VLANS:

 

***

vlan 150
   name "Management Vlan" 
   tagged C1-C24
   ip address 10.120.150.245 255.255.255.0
   tagged Trk1
   ip access-group "Mgmt-Traffic-Only" vlan
   exit
vlan 155
   name "Management vMotion Vlan"
   tagged C1-C24
   ip address 10.120.155.245 255.255.255.0
   tagged Trk1
   ip access-group "Mgmt-Traffic-Only" vlan
   exit

***

 

Can anyone shed any light on this? This is to be used with VMware ESX Management and vMotion networks, however the problem persists with any machine attached to the ports.

 

(Note: the "tagged Trk1" entry is for a backbone trunk joining two consistently configured switches, has no IP assigned to it and is agnostic to the VLANs).

 

Many thanks for your time,

 

Tim Lovegrove

Honored Contributor
Posts: 448
Registered: ‎08-25-2009
Message 2 of 4 (274 Views)

Re: Adding multiple VLANS to a port

What is connected to ports C1-C24? Are you sure it's something that understands 802.1q traffic?
Trusted Contributor
Posts: 207
Registered: ‎09-30-2011
Message 3 of 4 (268 Views)

Re: Adding multiple VLANS to a port

Are your ESX NICs configured as trunk ports? I would assume not as it works when the switch ports are untagged and not when they are tagged.

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.
Visitor
Posts: 4
Registered: ‎11-08-2012
Message 4 of 4 (233 Views)

Re: Adding multiple VLANS to a port

In addition to ensuring that the interfaces on the ESX hosts are set up as trunk ports, also make sure you are using the same VLAN #'s in your ESX config.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.