I really need someone to help me with IPv6. I can't figure it out and I've been on and off trying to troubleshoot it for a month with no success. I have a Hetzner server and IPv4 in VMs work fine. I can't for the life of me get IPv6 working. I'll post some configs to troubleshoot.
/etc/network/interfaces
VM's /etc/network/interfaces
What's in /etc/sysctl.conf
Something concerning I noticed in the VM:
ip -6 neigh gives this output.
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto eth0
iface eth0 inet static
address 5.x.x.44
netmask 255.255.255.255
gateway 5.x.x.33
pointopoint 5.x.x.33
iface eth0 inet6 static
address 2a01:x:x:x::2
netmask 128
gateway fe80::1
auto vmbr0
iface vmbr0 inet static
address 5.x.x.44
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 144.x.x.248/32 dev vmbr0
up ip route add 144.x.x.249/32 dev vmbr0
up ip route add 144.x.x.250/32 dev vmbr0
up ip route add 144.x.x.251/32 dev vmbr0
up ip route add 144.x.x.252/32 dev vmbr0
up ip route add 144.x.x.253/32 dev vmbr0
up id route add 144.x.x.254/32 dev vmbr0
up ip route add 144.x.x.255/32 dev vmbr0
iface vmbr0 inet6 static
address 2a01:x:x:x::2
netmask 64
auto vmbr1
iface vmbr1 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
VM's /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 144.x.x.249
netmask 255.255.255.255
gateway 5.x.x.44
pointopoint 5.x.x.44
iface eth0 inet6 static
address 2a01:x:x:x::1111
netmask 64
gateway 2a01:x:x:x::2
What's in /etc/sysctl.conf
Code:
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
net.ipv4.conf.all.send_redirects = 0
Something concerning I noticed in the VM:
ip -6 neigh gives this output.
Code:
2a01:x:x:x::2 dev eth0 FAILED