[lxc-users] IPv6-only Bridge?

Andrey Repin anrdaemon at yandex.ru
Tue May 30 14:42:51 UTC 2017


Greetings, Thomas Ward!


> I'm trying to set up IPv6 bridging

wat

> so that I can get my IPv6 addresses working properly on containers so they
> can just *get* IPv6 addresses that work, either by static assignment or dynamic.

It's called "routing".

> Attempting to set a bridge breaks host routing for IPv4, and I'm stuck
> on using the serial console to get in.  Is there a way to achieve an
> IPv6-only bridge to the LXD container(s), that can bridge IPv6 addresses
> to an ethernet port without disrupting the IPv4 routing of the host?

> (I currently use DNAT/SNAT/FORWARD rules on the host to route specific
> IPv4 addresses' traffic via 1:1 NAT into individual containers, but I
> need similar functionality with IPv6 and DNAT/SNAT doesn't work in IPv6)

Just dedicate an IPv6 subnet for your containers and route traffic to the
required interface.


-- 
With best regards,
Andrey Repin
Tuesday, May 30, 2017 17:41:43

Sorry for my terrible english...



More information about the lxc-users mailing list