One Container, 2 Puiblic IPs with own Gateways on different Bridges

BuLoMa

New Member
Dec 15, 2023
1
0
1
Hi,

i got Proxmox 7.4-16 on an older Server.

2 Bridges
vmbr0 => for a single /32 IP routed over the main ip of the server
vmbr1 => an additional subnet with few ips

The container has 2 network adapters
eth0 => a subnet ip from vmbr1 with the bridge ip as gateway

as soon as i add another network adapter on bridge vmbr0 with the single routed /32 ip and the ip of vmbr0 as gateway, i can't ping the first eth anymore.

when i remove the gateway of the second eth the first eth is pingable again but i can't reach the second ip from vmbr1.

How can i add 2 different public ips with their own gateways from different bridges in one container?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!