العربية

Proxmox Networking: Bridges, VLANs and a Static IP That Sticks

Last updated: December 2, 2026

Proxmox VE network panel showing vmbr0 bridged to the physical NIC with a static address.

A home lab that loses its address on every reboot is a home lab you stop using.

Proxmox VE does not invent a network stack. It uses the Linux one, and it writes the whole configuration into a single file, /etc/network/interfaces. What makes Proxmox different is the bridge: a software switch named vmbrX that guests plug into, so a virtual machine looks to your router like one more device on the LAN with its own MAC address. This part covers the layout that works at home, then the VLAN and bond options for when one flat network is not enough. The facts come from the Proxmox VE network documentation.

This is part 4 of our Proxmox home lab series. If Proxmox is not installed yet, start with how to install Proxmox VE. If your disks are still undecided, part 3 on Proxmox storage explains ZFS, LVM-thin and the ext4 directory.

The Default Layout, and Why It Works

⚡ Quick Answer: The installer creates one bridge, vmbr0, attached to the network card you chose, with the host's address on the bridge itself and no address on the physical card. Leave that shape alone. Give the host a static address outside your router's DHCP range, put guest disks on the same bridge, and add a second bridge later if you want a separate lab network.

The default configuration looks like this:

Terminal
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.10.2/24
    gateway 192.168.10.1
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0

Four details in that block explain most surprises:

  • The physical card, eno1, is inet manual. It carries no IP of its own. The address lives on the bridge.
  • bridge-ports eno1 is what makes the switch work. Remove it and the host is unreachable while the guests keep their MAC addresses.
  • A host can have up to 4094 bridges, and each one is a separate broadcast domain.
  • Every guest gets its own MAC address on the wire, even though the whole machine has one cable.
⚠️ Warning: Proxmox does not write straight into /etc/network/interfaces. The GUI stages changes in /etc/network/interfaces.new and applies them when you press Apply Configuration, or on reboot through the pvenetcommit service. That staging file is a safety net, not a backup: a wrong address on vmbr0 still cuts your access the moment it is applied, so keep a monitor and keyboard, or the provider's console, within reach.

Give the Host a Static Address

A DHCP address on the host works until the lease moves and every bookmark, SSH alias and guest gateway breaks with it.

  1. Pick an address outside the router's DHCP pool, for example 192.168.10.2 if the pool starts at 192.168.10.100. Keep it in the same subnet as your gateway.
  2. Open the node, then System, then Network, and edit vmbr0.
  3. Set IPv4 to Static, type the address with its prefix, 192.168.10.2/24, and the gateway 192.168.10.1.
  4. Press Apply Configuration. With ifupdown2, the default since Proxmox VE 7.0, the change applies live without a reboot.
  5. Reconnect on the new address before you close the old session.

If you edited the file by hand instead, apply it with ifreload -a. The documentation warns against reaching for ifdown vmbrX and ifup vmbrX when you are unsure: ifdown cuts all guest traffic on that bridge, and bringing the bridge back up does not reconnect the guests.

Two more habits worth having: keep a DHCP reservation on the router as a fallback for the host's MAC, and write the address and the root login somewhere you can find without the machine.

One Bridge or Several

A single bridge is the right answer for most home labs. A second bridge earns its place when you want a network that cannot reach your main LAN.

  • vmbr0 on the physical card: management, guests that need the internet, anything you reach from your laptop.
  • vmbr1 with no ports: an isolated lab network for tests, malware samples, or a cluster that must not touch the house network. bridge-ports none gives you a private switch that only the host and its guests can use.
  • vmbr1 bridged to a second network card: a real separation, with the second card plugged into a router port on its own subnet.

With bridge-ports none, the host needs a NAT rule to reach the internet from that bridge, which is the masquerade setup the documentation covers. For a lab network, no internet is usually the point.

Routed and NAT Setups, in One Paragraph Each

Most hosting providers disable a port as soon as they see more than one MAC address on it, which rules out a plain bridge. The routed model keeps a single MAC: the host forwards packets with IP forwarding and proxy ARP turned on, and the guests use an IP block the provider routes to the host. The masquerade model is for a single public address: the host rewrites outgoing guest traffic with iptables to look like its own, and incoming access needs port forwarding. Neither belongs on a normal home LAN, where the bridged default is simpler and faster.

❤️

Support Our Content

Your donation helps us keep going

VLANs When You Outgrow a Flat Network

A VLAN is a broadcast domain carved out of one physical network, identified by a tag. Proxmox supports it in several ways, and the choice is made by the bridge.

  • VLAN-aware bridge: add bridge-vlan-aware yes and bridge-vids 2-4094 to the bridge, then give each guest its tag in its network device, net0: bridge=vmbr0,tag=5,.... The bridge handles the tagging for you.
  • Traditional VLANs: a VLAN device and a bridge per VLAN, for example eno1.5 with vmbr0v5. More moving parts, more interfaces to keep straight.
  • VLAN inside the guest: the guest does its own tagging. Useful when one virtual NIC has to carry several VLANs.
  • SDN VLAN zones: define a VLAN zone on the bridge and a VNet per tag, then hand guests the VNet. The documentation calls this the preferred route when a cluster has a small number of VLANs.

To put the host's own management address on a VLAN, configure the VLAN interface on the bridge rather than on the card: auto vmbr0.5 with the address, on top of a VLAN-aware vmbr0. The documentation lists a failure mode here worth knowing. If the host address sits on a VLAN interface under a bridge that is not VLAN-aware, it stops answering as soon as a guest on that bridge uses the same VLAN. Configuring the address on vmbr0.5 avoids it, and also avoids an ifupdown2 error about the next hop device not being up when a default gateway is set on the wrong interface.

Troubleshooting is two commands. bridge -compressvlans vlan show lists each bridge, its ports and the VLANs configured on them. bridge fdb show lists the forwarding database, so you can see which MAC is learned on which port and with which tag.

Bonds: Only When the Switch Agrees

Bonding joins two network cards into one logical interface. Of the seven Linux modes, the documentation recommends 802.3ad, LACP, when your switch speaks it, and active-backup otherwise. The two adaptive modes, balance-tlb and balance-alb, are not suitable when the local addresses are not known to the host, and should not be used with a Linux bridge carrying guests. A home switch that does not do LACP makes bonding a way to survive a dead cable, nothing more.

What to Check Before You Call It Done

  • The host answers on its static address after a reboot, not just after Apply Configuration.
  • A guest on vmbr0 gets an address from the router and can reach the internet and the host.
  • A guest on an isolated bridge cannot reach the house LAN, which is what you wanted.
  • ip -br a shows the address on the bridge, not on the physical card.
  • You know which file holds the configuration, /etc/network/interfaces, and how to stage a change safely.

Next in the Series

  1. Installing Proxmox VE on old hardware
  2. Backups with vzdump and Proxmox Backup Server
  3. Storage: ZFS, LVM-thin and a directory on ext4
  4. Networking: bridges, VLANs and static addresses (this guide)
  5. GPU and USB passthrough to a virtual machine
  6. Updates, repositories and snapshots

Sources: the Proxmox VE Network Configuration documentation, including its bridge, routed, masquerade, bond and VLAN sections.

📬
Home Lab and Proxmox Guides

Get Home Lab Guides That Actually Work

Practical Proxmox, Docker and self-hosting guides based on official documentation and delivered to your inbox from Valley4Techs.

🔒 100% free. No spam, ever. Unsubscribe with one click anytime.

Add Valley4Techs as a Preferred Source

Follow us on Google News for the latest updates

Add Now
Comments