Inter-VLAN routing Proxmox

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

kroem

Active Member
Aug 16, 2014
252
44
28
38
Anyone routing intra VLANs on Proxmox? Right now I'm doing all my routing in the firewall, but seems kinda silly.

OVS is a totally new area for me, so I'd really like to see some working configuration.
 

PigLover

Moderator
Jan 26, 2011
3,186
1,545
113
OVS is a virtual switch (openvswitch), not a router. You can set it up to bridge two VLANs, but that passes all traffic from one to the other - and then you might as well not be using VLANs to segregate the traffic at all.

You need a router somewhere that has ports open on each VLAN, and then that router can make layer-3 decisions about passing traffic between the VLANs. Your firewall is essentially that router - in fact, almost all firewalls in existence are essentially just routers with some form of ACL and/or packet filtering rules running on them.

In large virtual deployments where routing between virtual networks is required you'll find "v-routers" installed, which are essentially just VMs with ports open on each virtual network segment and doing the routing function between them. There are still free versions of vyoss (vyatta) around that can do this pretty well.
 
Last edited:
  • Like
Reactions: kroem and Patrick