OVH recently added IPv6 addresses for all their VPS hosts. Unfortunately they did not provided the instructions how to add IPv6 support for their Arch Linux distribution. Here is what have worked for me (highlighted are changes to default file value):

# cd /etc/systemd/network
# cp eth0-dhcp.network eth0-dhcp.network.ORIGINAL
# cat eth0-dhcp.network
[Match]
Name=eth0

[Network]
DHCP=ipv4

[DHCP]
UseMTU=true

[Address]
Address=2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:1234/64

[Route]
Gateway=2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:0001

# networkctl status et0


Please note that default OVH recommendation (i.e. /128 mask and static route to gateway) is not possible to achieve with systemd networking. That is why I went with /64 mask and simple Gateway option.

Comments

Popular posts from this blog

Hardening OpenWRT - adding non-root user account

Dropbear SSH keys and autossh on OpenWRT

SSH Tunel with OpenWRT