Configure Netcup's Routed /64 IPv6 Subnet via Link-Local Gateway (fe80::1)
Netcup assigns a dedicated /64 IPv6 prefix (18.4 quintillion addresses) to every RS and VPS instance. Unlike providers that use SLAAC, Netcup routes your /64 block statically through the link-local gateway fe80::1. Replace 2a0a:4cc0:xxxx:xxxx::1/64 below with the prefix shown in your SCP panel under 'Network'.
# /etc/netplan/50-cloud-init.yaml (Netcup KVM Dual-Stack IPv4 + Routed /64 IPv6)
network:
version: 2
ethernets:
eth0:
match:
macaddress: "xx:xx:xx:xx:xx:xx" # Keep your existing MAC address
dhcp4: true
dhcp6: false
accept-ra: false
addresses:
- "2a0a:4cc0:0000:0000::1/64" # Replace with your SCP /64 IPv6 address
- "2a0a:4cc0:0000:0000::2/64" # Optional: bind extra IPv6s from your /64
nameservers:
addresses:
- 46.38.225.230 # Netcup Primary DNS
- 46.38.252.230 # Netcup Secondary DNS
- 2606:4700:4700::1111 # Cloudflare IPv6 DNS
routes:
- to: "::/0"
via: "fe80::1" # Netcup Link-Local IPv6 Gateway
on-link: true
# Apply & test:
# sudo chmod 600 /etc/netplan/50-cloud-init.yaml
# sudo netplan apply
# ip -6 route show && ping6 -c 3 2606:4700:4700::1111