[libvirt] [PATCHv2 2/2] dnsmasq: disable IPv6 default gateway in RA for isolated networks

Laine Stump laine at laine.org
Fri Jul 1 15:53:03 UTC 2016


On 07/01/2016 07:50 AM, Maxim Perevedentsev wrote:
> IPv6 RA always contains an implicit default route via
> the link-local address of the source of RA. This forces
> the guest to install a route via isolated network, which
> may disturb the guest's networking in case of multiple interfaces.
> More info in 013427e6e733f7a662f4e8a9c11f7dad4cd65e3f.
>
> The validity of this route is controlled by "default [route] lifetime"
> field of RA. If the lifetime is set to 0 seconds, then no route
> is installed by receiver.
>
> dnsmasq 2.67+ supports "ra-param=<interface>,<RA interval>,<default
> lifetime>" option. We pass "ra-param=*,0,0"
> (here, RA_interval=0 means default) to disable default gateway in RA
> for isolated networks.

ACK (assuming that you've run make syntax-check and make check.)

Thanks again for spending the time to investigate this!




More information about the libvir-list mailing list