LXC drops the default IPv6 route #19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce:
/etc/default/lxc-net
This happens when installing docker and configuring it to be IPv6 capable or when installing a nested LXC container to be IPv6 capable.
Asked for help in the LXC forum. https://discuss.linuxcontainers.org/t/ipv6-default-route-is-removed-when-installing-a-nested-lxc/18408
Looking at https://linuxcontainers.org/lxc/manpages/man5/lxc.container.conf.5.html there does not seem to be anything that should be added to the config in addition to what is already there:
It can be fixed by
echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
andsystemctl restart networking
It appears to be a Debian only issue: there is a report that the reproducer does not fail on Ubuntu.