Comment 0 for bug 1747455

Revision history for this message
Jean-Daniel Dupas (xooloo) wrote :

I have an hosted server and for some reason, I only have a single global ipv6 with prefix /128.

To be able to reach the world using IPv6, I have to declare a route to the router, and then the default route:

In traditionnel ifupdown, this is down using the following lines:

post-up /sbin/ip -family inet6 route add 2001:41d0:8:8fff:ff:ff:ff:ff dev eth0
post-up /sbin/ip -family inet6 route add default via 2001:41d0:8:8fff:ff:ff:ff:ff

I think that in networkd it should be declare as:

[Route]
Destination=2001:41d0:8:8fff:ff:ff:ff:ff
Scope=link

[Route]
Gateway=192.168.0.1

Actually, I don't find anyway to express such route in netplan. IU can easily define the gateway route setting 0.0.0.0 as dest, but it look like there is currently now way to define the "link" scoped route.

netplan "route" should support a scope attribute that match networkd Scope attribute.