[lxc-users] LXC containers IPv6 static problem
Bertrand Caplet
bertrand.caplet at chunkz.net
Tue Mar 1 17:54:38 UTC 2016
Hi all,
I've recently switched from OpenVZ to LXC, I'm using network bridge for
containers.
I set static IPv4 and IPv6 but I still have a temporary v6 address
configured on containers.
Here's my ifconfig on guest :
eth0 Link encap:Ethernet HWaddr 00:16:3e:d6:8c:1d
inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2a01:e34:ec7d:490::aaaa/64 Scope:Global
inet6 addr: 2a01:e34:ec7d:490:bbb:cccc:dddd:eeee/64 Scope:Global
inet6 addr: fe80::216:3eff:fed6:8c1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:156579 errors:0 dropped:0 overruns:0 frame:0
TX packets:80808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30134116 (28.7 MiB) TX bytes:123141603 (117.4 MiB)
And my sysctl.conf on host and guest :
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.eth0.autoconf=0
net.ipv6.conf.eth0.accept_ra=0
net.ipv6.conf.all.use_tempaddr=2
net.ipv6.conf.default.use_tempaddr=2
It seems to not configure on boot on container.
By the way, I tried to set to other parameters too but temporary v6
address still configure on network interface.
Thanks in advance,
--
CHUNKZ.NET - script kiddie and computer technician
Bertrand Caplet, Flers (FR)
Feel free to send encrypted/signed messages
Key ID: 6E494EB9
GPG FP: CB1B 664A 9165 98F8 459F 0807 CA35 B76F 6E49 4EB9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160301/9b324da7/attachment.sig>
More information about the lxc-users
mailing list