Error creating new bridge - duplicate GW, but it is not

hachiman

New Member
Jan 29, 2025
11
2
3
Hello,
I am quite new to proxmox and try to setup my first VLAN network across a cluster of two nodes.

Right now I have, per node, one bridge, untagged, on a LACP bond of two NICs.

The network is 10.0.1.0/24, with a GW of 10.0.1.1

Now I want to create a new network for my VMs, based on .1q VLANs. The switch is capable of sending untagged and tagged pakets.

Therefore I want to create a new vmbr on each node before I can create the zone in the SDN.
I try to create a new bridge with a different subnet, 10.0.10.0/24, with a GW of 10.0.10.1
However when I try to create it I always receive an error that the gateway already exists - which it does not.

Is there something I am doing wrong or somethig I missed in my understanding of proxmox networking?

Thank you!

PS: This also happens with an entirely different network like 192.168.1.0/24
 

Attachments

  • Screenshot 2025-01-29 at 19.46.54.png
    Screenshot 2025-01-29 at 19.46.54.png
    111.3 KB · Views: 6
Last edited:
Hi,
I try to create a new bridge with a different subnet, 10.0.10.0/24, with a GW of 10.0.10.1
The network is 10.0.1.0/24, with a GW of 10.0.1.1
The error message is correct, you can never have two gateways on a system, per definition. This is not something Proxmox-specific and applies everywhere.

In your case you probably just want route 10.0.1.0/24 via the new bridge. The appropriate route entry is created automatically for that subnet when you create the bridge.

Also, you want to connect both bridges to the same bond? That's not possible, there can only ever be one (parent) bridge per physical interface.
 
Hi,


The error message is correct, you can never have two gateways on a system, per definition. This is not something Proxmox-specific and applies everywhere.

In your case you probably just want route 10.0.1.0/24 via the new bridge. The appropriate route entry is created automatically for that subnet when you create the bridge.

Also, you want to connect both bridges to the same bond? That's not possible, there can only ever be one (parent) bridge per physical interface.
Hi cheiss,

thanks for the info.

So I probably still dont get the networking in Proxmox.

The error message is correct, you can never have two gateways on a system, per definition. This is not something Proxmox-specific and applies everywhere.
Setting up multiple GW for various IP subnets on L3 is actually I have seen many times.
This means the vmbr is actually a L3 routing switch, which has to be exclusive because it does the routing for the proxmox host itself too?
In your case you probably just want route 10.0.1.0/24 via the new bridge. The appropriate route entry is created automatically for that subnet when you create the bridge.
This is actually what I wanted - a new bridge with a dedicated VLAN at L2 and a dedicated IP network on L3, with a dedicated IP GW (the firewall).
Also, you want to connect both bridges to the same bond? That's not possible, there can only ever be one (parent) bridge per physical interface.
That is a good hint. In this case I have to rethink anyway.

Because I have only one bond per proxmox host, do you recommend to simply keep the vmbr0 and make it VLAN aware and then set the corresponding VLAN tag on the VMs?
I assume in such a setup the vmbr0 will use the bond a VLAN .1q trunk?

PS: I think I go for SDN networks on the cluster and test this out.
 
Last edited: