Linode Forum
https://forum.linode.com/

IPv6
https://forum.linode.com/viewtopic.php?f=19&t=11462
Page 1 of 1

Author:  anthonyw [ Thu Dec 04, 2014 7:31 am ]
Post subject:  IPv6

I've just configured a new linode, and I'm having trouble with the IPv6 access.

ifconfig shows that it has an IPv6 address, but it appears that packets are getting lost somewhere as I can't access any ipv6 resources.

e.g. ping6 ipv6.google.com reports 100% packet loss

My other linode in the same data centre works fine.

Any ideas?

Author:  lakridserne [ Thu Dec 04, 2014 8:00 am ]
Post subject:  Re: IPv6

Have you configured your IPv6 address?

https://www.linode.com/docs/networking/ ... networking

Author:  anthonyw [ Thu Dec 04, 2014 10:18 am ]
Post subject:  Re: IPv6

Yes. The linode has an ipv6 address in the linode manager, and ifconfig shows this IP address.

Author:  akerl [ Thu Dec 04, 2014 10:27 am ]
Post subject:  Re: IPv6

Here are the commands you want to run:

Code:
ip -6 addr
ip -6 route
ip6tables-save


Those results will likely shed some light on this.

- Les

Author:  anthonyw [ Thu Dec 04, 2014 10:52 am ]
Post subject:  Re: IPv6

Code:
root@vega:~# ip -6 addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2a01:7e00::9503:ca45:d005:d13/64 scope global temporary dynamic
       valid_lft 586473sec preferred_lft 67473sec
    inet6 2a01:7e00::f03c:91ff:fe89:da45/64 scope global dynamic
       valid_lft 2591992sec preferred_lft 604792sec
    inet6 fe80::f03c:91ff:fe89:da45/64 scope link
       valid_lft forever preferred_lft forever
root@vega:~# ip -6 route
2a01:7e00::/64 dev eth0  proto kernel  metric 256  expires 2591991sec
fe80::/64 dev eth0  proto kernel  metric 256
default via fe80::1 dev eth0  proto ra  metric 1024  expires 81sec
root@vega:~# ip6tables-save
# Generated by ip6tables-save v1.4.21 on Thu Dec  4 14:51:31 2014
*filter
:INPUT ACCEPT [1:104]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:ufw6-after-forward - [0:0]
:ufw6-after-input - [0:0]
:ufw6-after-logging-forward - [0:0]
:ufw6-after-logging-input - [0:0]
:ufw6-after-logging-output - [0:0]
:ufw6-after-output - [0:0]
:ufw6-before-forward - [0:0]
:ufw6-before-input - [0:0]
:ufw6-before-logging-forward - [0:0]
:ufw6-before-logging-input - [0:0]
:ufw6-before-logging-output - [0:0]
:ufw6-before-output - [0:0]
:ufw6-reject-forward - [0:0]
:ufw6-reject-input - [0:0]
:ufw6-reject-output - [0:0]
:ufw6-track-forward - [0:0]
:ufw6-track-input - [0:0]
:ufw6-track-output - [0:0]
-A INPUT -j ufw6-before-logging-input
-A INPUT -j ufw6-before-input
-A INPUT -j ufw6-after-input
-A INPUT -j ufw6-after-logging-input
-A INPUT -j ufw6-reject-input
-A INPUT -j ufw6-track-input
-A FORWARD -j ufw6-before-logging-forward
-A FORWARD -j ufw6-before-forward
-A FORWARD -j ufw6-after-forward
-A FORWARD -j ufw6-after-logging-forward
-A FORWARD -j ufw6-reject-forward
-A FORWARD -j ufw6-track-forward
-A OUTPUT -j ufw6-before-logging-output
-A OUTPUT -j ufw6-before-output
-A OUTPUT -j ufw6-after-output
-A OUTPUT -j ufw6-after-logging-output
-A OUTPUT -j ufw6-reject-output
-A OUTPUT -j ufw6-track-output
COMMIT
# Completed on Thu Dec  4 14:51:31 2014

Author:  akerl [ Thu Dec 04, 2014 11:00 am ]
Post subject:  Re: IPv6

Code:
inet6 2a01:7e00::9503:ca45:d005:d13/64 scope global temporary dynamic


Looks you have IPv6 Privacy Extentions turned on. You can confirm that with `sysctl -a | grep use_tempaddr`, which will show something besides 0 if you're using them.

If you have something in /etc/sysctl.d that's setting use_tempaddr to non-zero, remove that. If you don't, you can add a file there and manually set them to 0.

Author:  anthonyw [ Thu Dec 04, 2014 11:04 am ]
Post subject:  Re: IPv6

That fixes it. Thanks!

Why would that cause a problem?

Author:  akerl [ Thu Dec 04, 2014 11:06 am ]
Post subject:  Re: IPv6

Because your Linode can only talk to Linode's network on the IPv6 address that it owns, not weird ones it invented.

- Les

Author:  anthonyw [ Thu Dec 04, 2014 11:14 am ]
Post subject:  Re: IPv6

Makes sense. Thanks again.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/