KatharaFramework / Kathara

A lightweight container-based network emulation system.
https://www.kathara.org/
GNU General Public License v3.0
461 stars 64 forks source link

Cannot enable IPV6 on interfaces besides `eth0` (Docker) #306

Closed tcaiazzi closed 2 months ago

tcaiazzi commented 2 months ago

We have encountered an issue where IPv6 cannot be enabled on interfaces besides eth0 when using Docker. This limitation is problematic for configurations that require IPv6 support on multiple interfaces.

It appears that the value set for net.ipv6.conf.default.X is not working anymore, as new interfaces are created.

To fix it, we need to configure a proper driver_opt when interfaces are connected to devices.

To do so, we can create and pass proper parameters in this method: https://github.com/KatharaFramework/Kathara/blob/8f63323ca864c71bdb7191af7a12166f250128b0/src/Kathara/manager/docker/DockerMachine.py#L345

We are working on a fix that will be released as soon as possible.

Sorry for the inconvenient