2 NICs, 1 public 1 private, cant fully separate?

K5KTF

New Member
Jan 30, 2026
1
0
1
Migrating from {puke} Virtualbox... (quite impressed with Proxmox so far over VB!)

2 hardware NICs in the host:
1 Plugs into the back of the ISP-provided switch (behind their modem) for public IP use,
1 into my switch behind my router (for LAN private IPs) of which the WAN then goes to the ISP switch.

I have 5 statics from my ISP, 1 used by my router which then handles the private LAN.
I use the other publics in VM's, each VM uses 1 public.

When I setup proxmox, it created VMBR0, and I put that as the private LAN, and I have moved VMs that dont touch the outside over, they work great,
I have tried to setup VMBR1, but I get the error about already a gateway. I have seen other posts and responses, but none seem to do what I need:
All private LAN routes to my router as the LAN GW.
All but 1 public on the host for individual VM's to use and use the public IP GW.

The GUI obviously cant do this, so curious if there is some direct config-file way?

If I missed something in online docs, please pop me a link and Ill gladly RTFM...

Thanks
 
Do you get Default gateway already exists on interface 'vmbr0'?

If I understood your setup correctly you have vmbr0 on the private LAN with the default gateway also via the lan(vmbr0). Everything on the private lan subnet should use the lan gateway, and everything else should be routed via the second network on vmbr1. That works by moving the default gateway to vmbr1. You can change that using the web interface and remove the default gateway from vmbr0 and add the correct entry to vmbr1, then apply the configuration.

You can check your routing config with ip route get <some ip>

The relevant docu section [0]

[0]: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_network_configuration
 
Last edited: