[lxc-users] Networking in Ubuntu with 2 ip failover in LXC
Tamas Papp
tompos at martos.bme.hu
Wed Aug 13 12:34:26 UTC 2014
Resending..
On 08/13/2014 02:27 PM, Tamas Papp wrote:
> host machine:
>
> auto br0
> iface br0 inet static
> bridge_ports eth0
> bridge_stp off
> bridge_maxwait 0
> bridge_fd 0
> address 94.23.237.216
> netmask 255.255.255.0
> network 94.23.237.0
> broadcast 94.23.237.255
> gateway 94.23.237.254
>
>
> Don't setup br0:0
>
>
> Remove the following entries from CONTAINER/config:
>
> lxc.network.ipv4 = 91.121.239.228/32 <http://91.121.239.228/32>
> lxc.network.ipv4.gateway = 91.121.239.254
>
>
>
> guest machine:
>
> auto eth0
> iface eth0 inet static
> address 91.121.239.228
> netmask 255.255.255.0
> gateway 94.23.237.254
>
>
> This should work.
>
>
> tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140813/dd1f7987/attachment.html>
More information about the lxc-users
mailing list