-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 not working with Hetzner #295
Comments
OK, this is not related to the script. I already noticed the issue while playing with bridges and LXD and reported it to Hetzner but they don't care. Let's take an example:
You can see that our public IPv6 has To fix this, in our case: ip -6 addr change 2a01:4f8:1c1c:7b7a::1/64 dev eth0 preferred_lft forever To permanently fix it: root@debian-2gb-nbg1-1 ~ # cat /etc/network/interfaces.d/50-cloud-init.cfg
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
dns-nameservers 213.133.99.99 213.133.98.98 213.133.100.100
auto eth0:0
iface eth0:0 inet6 static
address 2a01:4f8:1c1c:7b7a::1/64
gateway fe80::1
post-up route add -A inet6 default gw fe80::1%eth0 || true
pre-down route del -A inet6 default gw fe80::1%eth0 || true
post-up ip -6 addr change 2a01:4f8:1c1c:7b7a::1/64 dev eth0 preferred_lft forever |
To do:
|
Thank you! Thanks a lot! I was going crazy trying to figure why ipv6 wasn't working with OpenVPN, you are a lifesaver! |
No description provided.
The text was updated successfully, but these errors were encountered: