VLAN; TRUNK PORT

Geezer

New Member
Jun 9, 2016
5
0
1
33
Hello guys, I'm new here, and also new to ProxMox product. I have on question, please if you have i time, help me to solve this problem.


I have simple Topology


Switchport Fa0/22 (Vlan 10) which is access port goes to ========= > Proxmox Server. IP on proxmox is set to 10.10.10.10/24 everything is running and working. But what, if i want to add another network for my VMs, for example Vlan 20 with network 20.20.20.1

So Switchport Fa0/22 will Trunk port and allowed vlan will be 10, 20. But what config should i have on proxmox side?

Thanks
Sorry for my bad English.
 
Hi Geezer,

You can leave the proxmox config as-is and configure native vlan on the switch side.
(switchport trunk native vlan 10)

This will instruct the switch to send the packets for vlan 10 without tag (and also packets received without tag will be put into vlan 10).
The packets for the rest of vlans will be sent tagged as usual.
 
  • Like
Reactions: Geezer
Thanks for reply, but i'm going to have more Vlans, like 30, 40, 50, 60 and etc. what in this case?
 
It's the same thing
Only vlan 10 (native vlan) will be sent untagged, all the other vlans will be sent tagged.
In the proxmox interface you just need to set the VMs interface to use the specified tag.
 
In the network interface properties of the VM.
I attached an image from the VM creation window.
 

Attachments

  • vmbrvlan.png
    vmbrvlan.png
    18 KB · Views: 732
I did it but same error. I mean vlan 10 (native vlan) works after all but, another Vlan's have the same problem.

I did it same thing with VMware ESXi, only config on cisco switch was: switchport mode trun, switchport trunk allow vlan 10,20,30,40,50

Without native vlan config. So is there any way to do same thing on Proxmox ?

thanks
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!