You are not logged in.
Hi,
today I moved a Arch VM to another provider and it only 10 IPv6. On the "preinstalled" Ubuntu the IPv6 had /64 prefixes and a host route to the gateway (which lies in the /48). I searched around but only found issues with IPv4-hostroutes.
I tried to accoplish the same with a systemd-networkd config, but had no luck:
[Match]
Name=ens3
[Route]
Destination=2a02:e00:fff0::1/128
[Network]
Address=2a02:e00:fff0:21a::1/128
Gateway=2a02:e00:fff0::1
systemd-networkd sets the host route to 2a02:e00:fff0::1, but afterwards complains it cannot set it as default route because "no route to host".
Any ideas how to tell systemd-networkd it knows the route?
Last edited by bjo (2018-07-25 16:51:39)
Offline
The gateway in IPv6 is always the router's link-local address.
I don't understand why you would need to specify a route to your network.
Try with something like this:
[Match]
Name=ens3
[Network]
Address=2a02:e00:fff0:21a::1/128
Gateway=fe80::xxxxxxxxxxxx --> here is your router's link-local address. Find it with "ip -6 neighbor"
Offline