VLAN-aware bridges and guest VLANs in Proxmox VE

VLAN-aware bridges let one Proxmox VE host carry many guest VLANs over a single trunk without a bridge per network. This page explains how they work, how they compare with per-VLAN bridges and SDN VLAN zones, and what to plan before you build.

On this page

How VLAN-aware bridges carry guest VLANs in Proxmox VE

A host with one trunk uplink that must serve many guest VLANs is the common case this design solves. A VLAN-aware bridge is a Linux bridge that understands 802.1Q tags, so one bridge can carry frames for many VLANs over a single physical uplink instead of requiring one bridge and one uplink per network. Teams need it when the switch port toward the host is a trunk carrying several VLANs and the number of guest networks would make a bridge-per-VLAN layout hard to manage.

The bridge passes tagged frames through to the guests, and the VLAN tag is assigned per guest network interface rather than per bridge. In the Proxmox VE configuration, the bridge is marked as VLAN-aware, and each guest NIC is given a VLAN tag in its network device settings, which is stored in the guest configuration file. Proxmox VE is open source under the GNU Affero General Public License, version 3, and it runs KVM virtual machines and LXC containers on this same host networking, so the same model applies to both guest types. Confirm the exact bridge options and the VLAN range the bridge accepts against the Proxmox VE networking chapter of the administration guide for your installed version before you write the host configuration.

Before you build this, decide which VLANs the trunk must carry, which of them terminate on the host itself (management, Corosync, storage, migration), and which belong only to guests. Host-facing VLANs need their own interfaces on the bridge, and a mistake there can cut off the node from the cluster. Check that the switch trunk allows exactly the planned VLAN list, and test one guest on each VLAN before moving production workloads. If you need a trunk port inside a guest, such as a firewall or router VM, confirm how the guest OS handles tagged traffic and document that setup separately from the host configuration.

Choosing between per-VLAN bridges, VLAN-aware bridges and SDN VLAN zones

This table compares three ways to carry guest VLANs on a Proxmox VE host: one bridge per VLAN, one VLAN-aware bridge, and SDN VLAN zones. Read each row as a decision factor, and use the last row to judge when a single host setup should give way to cluster-wide definitions. Most small clusters can start with one VLAN-aware bridge, while growing clusters usually need SDN zones to keep every node consistent.

FactorPer-VLAN bridgesVLAN-aware bridgeSDN VLAN zones
Guest count and VLAN countPractical for a handful of VLANs, since each VLAN needs its own bridge and host config entrySuits many VLANs on one trunk, with tags set per guest NIC rather than per bridgeSuits many VLANs across many nodes, with VLANs defined once and applied cluster-wide
Host configuration effortHighest: each VLAN adds a bridge stanza in /etc/network/interfaces on every nodeLow: one bridge with VLAN awareness enabled, plus the physical trunk portLow per node once the zone exists, but the zone and VNets are created in the cluster datacenter view
Cluster-wide consistencyManual: each node must carry the same bridge names and VLAN setsManual: each node's bridge must match, so drift is possible if a node is edited by handEnforced: configuration is replicated, and nodes apply the same zone definition
Trunk port requirementSwitch port must carry each VLAN as tagged, or the bridge carries untagged traffic for one VLANSwitch port must be a trunk carrying every VLAN the bridge will use, taggedSwitch port must be a trunk carrying every VLAN in the zone, tagged, on each node's uplink
Guest NIC taggingUsually left untagged, since the bridge itself selects the VLANTag set on each guest NIC through the VLAN tag field, the bridge passes tagged framesUsually left untagged, since the VNet maps the VLAN; confirm how your version handles tags
Trunk ports into guestsPossible but awkward, since the guest must see the bridge for one VLAN onlyPossible: a guest NIC with no tag receives all VLANs on the bridge, which suits firewalls and routersPossible, but confirm the behavior of VNets with guest trunk NICs before relying on it
When it fitsA few fixed VLANs on a standalone host with no plan to growA single host or small cluster with many VLANs and a stable switch trunkA growing cluster, shared VLAN policy, or an environment that needs consistent definitions across nodes

Setting up a VLAN-aware bridge and tagging guest NICs

This sequence turns one host uplink into a trunk that carries several guest VLANs, so each VM or container NIC can be placed on the right network with a single tag setting. Each step ends with a check so problems surface before guests are moved onto the bridge.

  1. Confirm the switch trunk carries the guest VLAN IDs

    Before touching the host, the network team confirms that the switch port facing the Proxmox VE host is configured as a trunk and that every guest VLAN ID is allowed on it, with the management VLAN either native or tagged as agreed. Ask for the port configuration in writing, including the native VLAN and allowed VLAN list, because a missing VLAN on the trunk is the most common cause of guests that have an address but cannot reach anything. Done when the network team can show the allowed list for that port and a test device on each VLAN can reach its gateway after being plugged into a tagged access point of the same trunk.

  2. Review the current bridge and uplink definitions

    On each host, the administrator opens the network configuration in the web interface or reads the interfaces file and notes the existing bridge, its bridge ports, the physical uplink and the management address. Record which bridge carries the management IP so it is not disturbed when VLAN awareness is switched on. Confirm that the uplink name is stable across reboots, since a changed interface name will break the bridge definition. Done when the administrator has a written copy of the current bridge stanza for every node in the cluster, so a rollback is possible.

  3. Enable VLAN awareness on the bridge

    In the host network settings, the administrator edits the Linux bridge that will carry guest traffic and enables the VLAN-aware option, then confirms the bridge still lists the physical uplink as its port. In the interfaces file, this appears as a VLAN-aware setting on the bridge stanza, and the exact key name should be confirmed against the Proxmox VE administration guide for the installed release. Use the same bridge name on every node so that guests can migrate without losing their network. Done when the bridge shows VLAN awareness enabled in the GUI and the file matches the GUI after saving.

  4. Apply the network change and verify with host tools

    The administrator applies the pending network change using the apply action in the web interface or the reload tool for the network configuration, starting with one node in a maintenance window. Afterward, the administrator checks the bridge with standard Linux tools such as the bridge command to list VLAN entries on the uplink and bridge ports, and confirms the management address still answers from another host. Keep a console or out-of-band session open during the change, because a mistake in the management path can cut off remote access. Done when the bridge is up, the management address responds, and the VLAN table on the bridge port matches the allowed list on the switch.

  5. Tag the guest NICs with their VLAN

    For each VM, the administrator sets the VLAN tag on the network device in the hardware settings, choosing the bridge name and the guest VLAN ID. For containers, the same tag is set on the container network interface. Give every VLAN-tagged NIC a clear description so the purpose is visible when troubleshooting, and leave the tag empty for guests that should stay untagged on the native VLAN. Changes to a running guest's NIC may need a restart or hot-plug support, so confirm the behavior for the guest type before applying it. Done when the configuration of each guest shows the bridge and tag that match the design document.

  6. Confirm guest addressing inside each VLAN

    Inside the guest, the operating system or cloud-init assigns an address from the subnet for that VLAN, and the team confirms the interface received the expected address and default route. Check the guest sees only the intended VLAN by pinging the gateway and a second host on the same VLAN, and confirm that the guest cannot reach a host on a different VLAN unless a firewall rule allows it. Record the address in the IPAM system so the record stays consistent with the network. Done when the guest reports the expected address, the gateway answers, and the isolation test behaves as the design requires.

  7. Test connectivity per VLAN and record the result

    The administrator runs a repeatable test for each VLAN: a guest on that VLAN reaches its gateway, a host on the same VLAN, a DNS server, and any service it must reach, and fails where isolation is expected. Repeat the test after a live migration of one guest to another node to confirm the bridge name and VLAN tag behave the same on every host. Record the results with dates, the tested node names and the switch port configuration, because these records become evidence for change reviews and later audits. Done when each VLAN has a passing test record covering the gateway, same-VLAN reachability, isolation and one migration.

Trunk ports into guests for firewalls, routers and appliances

Virtual firewalls and routers are the guests that most often need a trunk. They terminate several VLANs on one virtual NIC, route between them, and apply policy at each boundary. On a VLAN-aware bridge, the guest NIC is attached to the bridge without a fixed tag, and the guest OS creates one sub-interface per VLAN. The host then passes tagged frames to the guest and the guest does the tag handling. The VLAN list for the NIC is set on the Proxmox VE side, so the host firewall and bridge filtering must allow every VLAN you intend to carry.

  • Allowed VLAN list: Restrict the NIC to the VLAN IDs the appliance really needs, and keep the list documented alongside the firewall rules.
  • Guest sub-interfaces: Create one tagged sub-interface per VLAN inside the guest, using the same IDs as the host configuration.
  • Routing role: If the guest routes between VLANs, enable forwarding in the guest and confirm that its own firewall rules match your intended policy.
  • Single NIC versus several: A dedicated NIC per security zone can be simpler to audit, though it uses more host ports and bridges.
  • Management path: Keep the appliance management interface on its own VLAN or NIC so a bad trunk change does not lock you out.

Before go-live, check which VLANs are visible from each side with a packet capture on the host bridge and inside the guest.

Security risks of shared VLAN trunks

A VLAN-aware bridge puts many guest networks, the host's own management path and the firewall decisions for each VLAN onto one trunk. The cards below cover the failure modes that follow from that design, and the control that addresses each one.

VLAN hopping through native VLANs

A trunk port has a native or untagged VLAN, and frames arriving on it are not tagged. If the physical switch port and the host bridge disagree on which VLAN is native, traffic can land in a network the sender should not reach. Set the native VLAN deliberately on the switch, leave it unused for guest traffic, and verify the trunk allowed-VLAN list on both sides before any guest is attached.

Proxmox VE docs

Guest trunk NICs exposing many networks

A guest NIC with no VLAN tag set receives every VLAN the bridge carries, so one compromised VM sees traffic and broadcast domains it was never meant to reach. Tag each guest NIC with a single VLAN ID unless the guest is a router or firewall that needs a trunk. Treat any trunk-carrying guest as a network appliance with its own hardening and review.

Host management on the same bridge

When the management address for the Proxmox VE host sits on the same VLAN-aware bridge as guest traffic, a guest that reaches the management VLAN can probe the hypervisor's web and SSH interfaces. Place management on a separate bridge or a dedicated VLAN, restrict who can reach it, and confirm that the cluster and migration networks are not reachable from guest VLANs.

Firewall rules that differ per VLAN

Isolation between guest networks depends on firewall rules applied per VLAN or per NIC, and gaps appear when a new VLAN is added without matching rules. Write a default-deny policy for inter-VLAN traffic, document which rules apply to which tag, and test each boundary by attempting the traffic from a guest in one VLAN to a host in another. Confirm the firewall features your Proxmox VE version provides before relying on them.

Unreviewed changes to VLAN tags

A single edit to a guest NIC tag or a bridge VLAN list can move a workload into another network or expose a trunk without any approval step. Keep the bridge configuration and guest network settings in version control, require a review for tag changes, and schedule changes to host networking in a maintenance window with a console path that does not depend on the bridge being changed.

Missing logs for guest network changes

If nobody records who changed a guest NIC or bridge, an incident involving unexpected network access is hard to reconstruct. Keep Proxmox VE task logs and the cluster configuration history, forward host and firewall logs to a central system, and compare the running configuration with the version-controlled copy on a schedule so drift is noticed.

When a growing cluster should move to SDN VLAN zones

A growing cluster should consider SDN VLAN zones once keeping bridge and VLAN configuration identical across nodes becomes a manual, error-prone job. With a handful of hosts, each /etc/network/interfaces file can be edited by hand and checked with a quick diff. As the node count grows, every new VLAN, bridge name or MTU change has to be repeated on every host, and a single missed node shows up later as a guest that migrates fine but loses its network. That drift is the signal to centralize the definition.

SDN VLAN zones move the definition of the VLAN-aware bridge and its allowed VLANs into the cluster configuration, so each node receives the same zone and VNet layout from one place rather than from separately edited files. Guest NICs are then attached to VNets instead of raw bridge names. Before you switch, confirm in the current administration guide how your target version handles zone types, the bridge a zone uses on each node, and how existing vmbr bridges are represented. The SDN pages cover the next steps: routed fabrics in the SDN fabrics material and address management in the separate IPAM and DNS page for SDN.

Migrating existing bridges needs a written change plan, not a single edit. Record every host's current bridge, bond and VLAN list, schedule a maintenance window per node, and move guests one node at a time while keeping a console or out-of-band path to each host. Test one VNet with a non-production guest first, confirm that live migration keeps the VLAN tag on the target, and keep the old interface file until the new configuration has survived a reboot. Ask your partner or platform team to write the rollback step for each node before the first change.

Limits to confirm in your environment

A VLAN-aware bridge only works when the physical path, the guest configuration and the host release all agree. The items below are the ones most often assumed rather than verified, and each one is cheap to check before the first guest is moved onto the trunk.

Switch trunk and native VLAN

Confirm that every switch port facing the Proxmox VE host is configured as a trunk and carries each guest VLAN you plan to use. Check which VLAN is the native (untagged) VLAN on those ports, because untagged frames arriving on the bridge will land in that VLAN. Keep the native VLAN separate from guest traffic where your policy allows, and record the expected tagged VLAN list per port so a missing VLAN shows up as a test failure instead of a silent outage.

MTU across the full path

Verify the MTU on the host bridge, the bond or NIC, the switch ports and any firewall or virtual appliance in the path. If guest VLANs add tagging overhead and the path is not sized for it, large packets fail while small ones succeed, which looks like a slow or broken application. Test with a large ping across each VLAN before you put production traffic on it, and note any jumbo frame settings the storage or migration networks depend on.

Proxmox VE release and support window

Identify the Proxmox VE release each host runs and the Debian base it is built on, then check the published support timeline before you commit to a design. VLAN-aware bridge behavior and the SDN options available differ between releases, so the configuration you write today should be tested on the version you will run next year. Ask your partner or vendor to confirm which release the design targets and when it reaches end of life.

Proxmox VE FAQ

Guest NIC VLAN awareness

Decide whether each guest needs to tag its own traffic or whether the bridge should tag on its behalf. A guest that runs its own VLAN sub-interfaces needs a NIC that passes tagged frames, while a guest on a single VLAN usually only needs the VLAN tag set on its virtual NIC. Mixing the two models on one bridge is possible but makes troubleshooting harder, so document which guests use each approach and who owns the guest-side network configuration.

Hardware NIC driver behavior

Check how the physical NICs and their drivers handle VLAN offload, tagged frames and receive filtering, since these behaviors vary by hardware and firmware. Some adapters strip or handle tags differently under bonding, and driver updates can change the result after a kernel upgrade. Run a tagged traffic test on the exact hardware model and firmware you plan to deploy, and repeat it after each host kernel update.

Management traffic on its own bridge

Decide whether the Proxmox VE management interface and cluster traffic stay on a separate bridge or NIC, outside the trunk that carries guest VLANs. Keeping management off the guest trunk limits what a misconfigured guest VLAN or a broadcast storm can reach, and it keeps host access working during network changes. Confirm which interface carries the web interface, SSH and Corosync, and confirm that a change to the guest trunk cannot remove the path you use to fix it.

Proxmox VE docs

Questions buyers ask about VLAN setup in Proxmox VE

How much effort does a VLAN-aware bridge take in Proxmox VE?

A single VLAN-aware bridge on one host is a small configuration change, but the effort in a real cluster comes from consistency across nodes, not from the bridge itself. The work includes deciding the VLAN range the bridge will carry, setting the trunk uplink, checking that every node presents the same bridge and VLAN layout, and testing guest connectivity on each VLAN. The main drivers are the number of nodes, the number of VLANs, how many switch ports need matching trunk settings, and whether the team must also document and review the change. Ask any partner for a quote that lists the nodes, VLAN IDs, switch ports and test cases in scope.

Can our internal team set up guest VLANs without a partner?

Yes, if the team has Linux networking experience and access to the switch configuration. Proxmox VE uses standard Linux bridge and VLAN features, and its documentation covers the host network configuration. The risk is less the first setup than the ongoing discipline: a typo in a bridge name or a missing trunk setting on one switch port can isolate a guest or a node during a change. Teams often bring in outside help for the first cluster design, the change plan and a review of the switch side, then run routine VLAN additions themselves.

What do we need from the network team and the switch vendor?

The network team needs to own the VLAN plan, the trunk design and the switch configuration, because Proxmox VE can only tag traffic correctly if the upstream ports carry the same VLANs. Before work starts, confirm which VLAN IDs and subnets are approved, which switch ports connect to each host, whether those ports already carry the VLANs, and how spanning tree and link aggregation are configured. Confirm with your switch vendor how trunk ports are created and how changes are rolled back. Any bonded uplink should be planned together with the bond design, not after it.

How long does a VLAN change window take?

The length of a change window depends on the scope: the number of nodes, the number of VLANs, whether switch changes are included, and how much testing and rollback preparation the change requires. A single host adding one VLAN is very different from a multi-node cluster moving guests onto a new trunk design. Ask for a written schedule that separates planning, switch changes, host changes, testing and rollback, and confirm which of those steps need an outage window or maintenance approval in your own change process.

Do we need SDN VLAN zones from day one?

Usually not. A VLAN-aware bridge with explicit VLAN tags on guest NICs is enough for a small or medium cluster with a stable set of networks. SDN VLAN zones become worth considering when the cluster grows across several nodes and you want the VLAN and bridge definitions to be managed centrally rather than repeated on each host. Moving later is possible, but it changes how the networks are defined, so plan the naming and VLAN ranges now. Confirm the SDN features in your target Proxmox VE release with the official documentation before you commit to a design.

Does a paid Proxmox VE subscription add VLAN features?

No. Proxmox VE subscription tiers include the same software features, so VLAN-aware bridges and SDN are not gated by the subscription level. The tiers differ in support entitlements and access to the enterprise repository, which is recommended for production. Proxmox VE is licensed under the GNU Affero General Public License, version 3, and the software can be used without a subscription. Subscriptions are priced per CPU socket per year, so the decision to buy one depends on support needs and repository access rather than networking capability.

What should a quote for VLAN work contain?

A useful quote lists the written scope before the price: the hosts and cluster nodes, the bridges and VLAN IDs, the switch ports and vendor platforms involved, and whether the work includes the design, the configuration, testing, documentation and rollback plan. It should also name the deliverables, such as an address and VLAN inventory, a host network template and a test record, and state what the client provides, including access windows and switch credentials. DeployOpen works on fixed-scope engagements, and the quote follows from that written scope. Ask any provider to state which items are one-time and which recur, such as retainers for later VLAN additions.

How a VLAN-aware bridge passes tagged traffic to guests

The diagram starts at the physical trunk port on the switch, which carries several VLANs tagged. The host bond or NIC receives those frames and hands them to the VLAN-aware bridge, which reads the 802.1Q tag on each frame and forwards it only to guest NICs whose VLAN tag matches. A guest NIC with a tag sees only its own VLAN, while a guest trunk NIC receives several tags and must handle them itself. The management bridge sits on its own physical path, so host access does not depend on guest VLAN settings. Check that the switch port is configured as a trunk for the VLANs you need and that the management address stays on the separate bridge.

Tagged frames flow from the switch trunk through a VLAN-aware bridge, with management kept separate.

How DeployOpen scopes and delivers VLAN and bridge work

DeployOpen is a Chainscore Labs company that plans, implements and documents self-hosted open-source platforms inside the client's own infrastructure, including the Proxmox VE host networking described on this page. VLAN work is easy to underestimate in a quote because the visible change, a bridge line in /etc/network/interfaces, sits on top of decisions about which VLAN IDs exist, which switch ports carry them, which guests need tagged access and who owns the upstream configuration. Before any work starts, DeployOpen expects the client to supply the switch port layout, the VLAN plan with IDs and owners, the current host configuration and the list of guests that will change. Those inputs define the scope.

Scope, deliverables and timelines are agreed in writing before work starts. For a VLAN and bridge engagement, the written scope normally states which hosts and bridges are in scope, whether the work moves from per-VLAN bridges to a VLAN-aware bridge, how guest NIC tagging will be changed and tested, what the rollback plan is for each host, and what documentation and handover the client receives. A quote follows from that written scope, so the figure reflects the hosts, guests, switch changes and verification the client has agreed to, not a standard package. Ask for the quote to list each of those items separately so it is clear which parts depend on work the client's network team performs.

Retainers cover ongoing changes after the initial build, such as adding a VLAN, moving a guest to a new tag, or reviewing configuration after a Proxmox VE upgrade. Ask whether a planned move to SDN VLAN zones is part of the initial scope or a later phase, because that change alters how bridges, zones and IPAM records are maintained. DeployOpen does not publish a price list, so the practical step is to send the switch and host inventory with the VLAN plan and request a written scope and quote before any change window is booked.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.