[lxc-users] Network configuration for multiple IP adresses
Moritz Kobel
mailinglists at kobelnet.ch
Tue Nov 11 09:02:36 UTC 2014
Hello,
I would like to configure several IPv4 and IPv6 adresses for one
container. This works basically with the configuration below.
But it configures only one network interface (eth0) with all addresses.
(One primary and the others as seconday).
What do I have to modify to get several interfaces (eth0,eth0:0,eth0:1,..
or eth0,eth1,eth2,...)?
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.hwaddr = <REMOVED>
lxc.network.ipv4.gateway = <REMOVED>
lxc.network.ipv6.gateway = <REMOVED>
lxc.network.name = eth0
lxc.network.ipv4 = <REMOVED>.106/27
lxc.network.ipv6 = <REMOVED>:106/64
lxc.network.ipv4 = <REMOVED>.108/27
lxc.network.ipv6 = <REMOVED>:108/64
lxc.network.ipv4 = <REMOVED>.109/27
lxc.network.ipv6 = <REMOVED>:109/64
Best regards
- Moritz
--
<\ __@ __@
\ __ _-\<, -\<,_
http://www.tandemblog.ch 0<==`-(-)/---|/-(_)
More information about the lxc-users
mailing list