Having inaugurated my new OVH’s VPS SSD 1 I am greeted by a notification reading
Your instance is now linked to a free IPv6 in addition to the default IPv4.
Indeed I can see a “IPv6” and a “Gateway” fields.
Problem is: I can’t ping it using this IPv6. I read OVH documentation on the subject but didn’t see anything related to systemd-networkd; and I’m pretty sure it’s what’s being used.
I tried to edit the default /etc/systemd/network/eth0-dhcp.network like this:
[Match]
Name=eth0
[Network]
DHCP=ipv4
Address=2001:41d0:404:200::21e8/128
Gateway=2001:41d0:404:200::1
[DHCP]
UseMTU=true
Now ip -6 addr show
shows me
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2001:41d0:404:200::21e8/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe97:9a63/64 scope link
valid_lft forever preferred_lft forever
ip -6 route
shows
2001:41d0:404:200::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default dev lo proto kernel metric 256 pref medium
default dev lo proto static metric 1024 pref medium
default via 2001:41d0:404:200::1 dev eth0 proto static metric 1024 pref medium
I can ping the gateway’s IP but pinging ipv6.google.com returns
Destination unreachable: No route
How can I configure my VPS to make it accessible using IPv6?