Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: IPv6
PostPosted: Thu Dec 04, 2014 7:31 am 
Offline
Senior Newbie

Joined: Thu Dec 04, 2014 5:52 am
Posts: 5
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?


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 8:00 am 
Offline
Junior Member

Joined: Tue Jan 31, 2012 6:17 am
Posts: 42
Website: https://www.serverfruit.com/
Location: Denmark
Have you configured your IPv6 address?

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

_________________
lakridserne
Serverfruit - shared and managed VPS hosting, SSL certificates and domains
Awesome servers rented from Linode!


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 10:18 am 
Offline
Senior Newbie

Joined: Thu Dec 04, 2014 5:52 am
Posts: 5
Yes. The linode has an ipv6 address in the linode manager, and ifconfig shows this IP address.


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 10:27 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
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


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 10:52 am 
Offline
Senior Newbie

Joined: Thu Dec 04, 2014 5:52 am
Posts: 5
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


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 11:00 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
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.


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 11:04 am 
Offline
Senior Newbie

Joined: Thu Dec 04, 2014 5:52 am
Posts: 5
That fixes it. Thanks!

Why would that cause a problem?


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 11:06 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Because your Linode can only talk to Linode's network on the IPv6 address that it owns, not weird ones it invented.

- Les


Top
   
 Post subject: Re: IPv6
PostPosted: Thu Dec 04, 2014 11:14 am 
Offline
Senior Newbie

Joined: Thu Dec 04, 2014 5:52 am
Posts: 5
Makes sense. Thanks again.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group