4 Operator

 • 

2.9K Posts

November 27th, 2020 15:00

Hello,

 

What you might consider is within the hypervisor having the virtual switches tag the traffic for VLAN 300. That traffic should exit the physical host to the switches as VLAN1 and out whatever port is appropriate. Once that traffic makes it to the next host, the virtual switch should be able to route based on VLAN 300.  I'm sure there are other ways you could configure this, depending on your needs, but I'd start with this.

1 Rookie

 • 

14 Posts

November 30th, 2020 00:00

Yeah I've tried that already but unfortunately it doesn't work.

I'm running proxmox, I asked them and they say the switch will remove the vlan tag. It works within the same machine but not from one machine to the other so I guess it makes sense.

 

1 Rookie

 • 

14 Posts

November 30th, 2020 01:00

Yes, I already have a VLAN-aware virtual bridge. I also configured port-channels of both hypervisors to trunk (vlan-stack trunk). However, when I just add ports of both hypervisors to tagged VLAN 300 (for testing) and add 2 VMs on the hypervisor both to VLAN 300, they still can't see each other. So I might have a complete other issue here.

Moderator

 • 

27.6K Posts

November 30th, 2020 01:00

Hi,

 

have you tried to create a virtual brigde into your Proxmox configuration? That could be the solution.

In this way you are able to use multiple VLAN in a same physical port.

I've find this article related to this topic : https://engineerworkshop.com/blog/configuring-vlans-on-proxmox-an-introductory-guide/

 

Let me know if it's suitable with your environnement.

 

Regards,

3 Apprentice

 • 

73 Posts

November 30th, 2020 03:00

Hello martinjnk2,

I'm assuming your S6010s are running our OS9, probably in a VLT domain to allow a port-channel across two switches.

With this operating system ports in switchport mode are either able to participate in an untagged VLAN or multiple tagged ones.

To get classic "trunk" port operation mode with one untagged (native) VLAN and multiple tagged VLANs you need to set the port to hybrid mode without the vlan-stacking option which is fact double tagging frames for specific scenarios.

 

OS9#conf
OS9(conf)#int po1
OS9(conf-if-po-1)#portmode hybrid
OS9(conf-if-po-1)#switchport
OS9(conf-if-po-1)#ex
OS9(conf)#int vlan 2
OS9(conf-if-vl-2)#tagged po1
OS9(conf-if-vl-2)#do sh vlan

Codes: * - Default VLAN, G - GVRP VLANs, R - Remote Port Mirroring VLANs, P - Primary, C - Community, I - Isolated
       O - Openflow, Vx - Vxlan
Q: U - Untagged, T - Tagged
   x - Dot1x untagged, X - Dot1x tagged
   o - OpenFlow untagged, O - OpenFlow tagged
   G - GVRP tagged, M - Vlan-stack
   i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged

    NUM    Status    Description                     Q Ports
*   1      Inactive                                  U Po1()
    2      Inactive                                  T Po1()

 

The result is port-channel 1 in this example will accept untagged frames and will put the in VLAN 1 as well as tagged frames for VLAN 2.

Please post your output of the command "show vlan" if you like.

A good method to check if switchport settings are valid is to check the learned MAC addresses on the interface in question:

OS9#show mac-address-table interface po1

Codes: *N - VLT Peer Synced MAC
*I - Internal MAC Address used for Inter Process Communication
VlanId     Mac Address           Type          Interface        State

 

If settings are correct you should see MAC addresses learned in each VLAN.

Tim

 

 

1 Rookie

 • 

14 Posts

December 2nd, 2020 02:00

Hi Tim,

Thanks for the extended info, that really helps a lot! So I did everything you said. I have two LAGs, portgroup 6 and 24.

DellEMC(conf-if-po-6)#show config
!
interface Port-channel 6
no ip address
mtu 9216
portmode hybrid
switchport
lacp long-timeout
no shutdown

DellEMC(conf)#int po24
DellEMC(conf-if-po-24)#show config
!
interface Port-channel 24
no ip address
mtu 9216
portmode hybrid
switchport
lacp long-timeout
no shutdown

These are added to VLAN 300:

DellEMC(conf-if-vl-300)#show config
!
interface Vlan 300
no ip address
mtu 9216
tagged Port-channel 6,24
no shutdown

As well as untagged VLAN 1 obviously because of the hybrid mode.

In Proxmox I've created a VLAN aware bridge of the LACP bond, vmbr1. This is added to the VM and tagged to VLAN 300. I did the same on both hypervisors.

Still though, they can' t ping/see each other, only when the VMs are on the same host they can. I'm not sure what's going on, it might be something related to Proxmox rather than the switch.

Thanks again!

1 Rookie

 • 

14 Posts

December 6th, 2020 09:00

Hi Tim,

I have no clue why, but your settings didn't work on VLAN 300. Then for fun I tried VLAN 100 and everything worked! Then I tried 300 again, nope nothing. Then I tested 299, still nothing. Then I went to VLAN 2 and again it worked.

Any idea why one VLAN does work and the other doesn't? I checked and these ports have no special configuration.

 

1 Rookie

 • 

14 Posts

December 6th, 2020 10:00

Btw does anybody have a clue how I can add a port channel to multiple VLANs at once?


Rather then having to do int vl 100, tagged po6,24. int vl 101, tagged po6,24 etc. etc etc

 

Moderator

 • 

27.6K Posts

December 7th, 2020 04:00

Hello,

for what I know you cannot add it to multiple VLANs at once.

Here you can see all the commands for VLAN of the switch 

https://dell.to/3lPM4Xh

Thanks

Marco

3 Apprentice

 • 

73 Posts

December 7th, 2020 08:00

Hello martinjnk2,

if it works for some VLANs there must be a configuration difference on either side.

I'm not aware of any VLAN limitations in our switch OS nor in Proxmox.

Please check the running configuration on the switch and the vmbridge settings in Proxmox.

 

From OS version 9.14.2 you can configure multiple VLANs in one go with the "interface group vlan" command:

OS9(conf)#int group vlan 10 , vlan 20 - 30
OS9(conf-if-group-vl-10,vl-20-30)# [un|tagged...]

You can use either a comma-separated list or a range with "-". Important are the blanks in between.

Tim

1 Rookie

 • 

14 Posts

December 8th, 2020 00:00

Awesome, thanks guys for all the help. Really appreciate it!

 

No Events found!

Top