Bridging on a shared host for multiple containers

karlos

Renowned Member
Apr 11, 2010
52
0
71
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...