[Lxc-users] multiple IP-addresses

"Matthias P. Würfl" mpw at taquiri.de
Mon Jul 9 14:43:08 UTC 2012


Hello!

I habe a new container set up (precise on precise) and it works well. 
Network configuration is:

lxc.network.type=veth
lxc.network.link=br0
lxc.network.flags=up
lxc.network.hwaddr = [...]:ed:d8
lxc.network.ipv4 = 84.16.228.72/32

if i add a second id address:

lxc.network.type=veth
lxc.network.link=br0
lxc.network.flags=up
lxc.network.hwaddr = [...]:ed:d9
lxc.network.ipv4 = 84.16.228.75/32

...i can see this in the container (ifconfig) as eth1, but i cannot ping 
the container from the outside using this ip-address. I think i need to 
add a route, as the output of "route" shows nothing for eth1. What's the 
recommended way to get this working?

Matthias






More information about the lxc-users mailing list