Bridging on a shared host for multiple containers

karlos

Well-Known Member
Apr 11, 2010
51
0
46
Proxmox installed on my hosting service shows this default etc/network/interface file

Code:
# network interface settings
auto lo
iface lo inet loopback
 
iface eth0 inet manual
 
auto vmbr0
iface vmbr0 inet static
       address  115.55.23.5
       netmask  255.255.252.0
       gateway  115.55.23.254
       bridge_ports eth0
       bridge_stp off
       bridge_fd 0

The wiki states this for routing on a host for eth0:

Code:
auto eth0
iface eth0 inet static
        address  192.168.10.2
        netmask  255.255.255.0
        gateway  192.168.10.1
        post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

I can't change the hosts eth0 address so how could this be setup?
 
Last edited:
OOPS :(

No need to use bridging at all! Just add the public IP to the 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!