Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get an IPv6 address
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
alex6
Apprentice
Apprentice


Joined: 18 Jul 2011
Posts: 157

PostPosted: Thu May 12, 2016 10:21 pm    Post subject: Can't get an IPv6 address Reply with quote

Hi, when I try to get an IPv6 address, here is what I get :

Code:
eth0: soliciting an IPv6 router
eth0: Router Advertisement from fe80::20d:29ff:fe75:43c9
eth0: ignoring RA from fe80::20d:29ff:fe75:43c9 (no public prefix, no managed address)
eth0: soliciting a DHCPv6 lease
...


And I only get a local address (fe80)...
I can ping this router but not get an IPv6 adress.

Any idea of options to accept this RA, or specific configuration ?

I tried adding this options to /etc/sysctl.conf but it doesn't help :

Code:

net.ipv6.conf.all.accept_ra = 1
net.ipv6.conf.default.accept_ra = 1


On my network at home, I don't have this problem, I can have an IPv6 address without doing anything...
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6755
Location: Blighty

PostPosted: Fri May 13, 2016 9:01 am    Post subject: Reply with quote

Add ipv6ra_accept_nopublic to /etc/dhcpcd.conf

This flag has been removed in newer versions.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
alex6
Apprentice
Apprentice


Joined: 18 Jul 2011
Posts: 157

PostPosted: Fri May 13, 2016 11:14 am    Post subject: Reply with quote

Thank you, now I don't have these messages anymore, but still no IPv6 address...

Any idea how to find out exactly what's happening ?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6755
Location: Blighty

PostPosted: Fri May 13, 2016 12:00 pm    Post subject: Reply with quote

Use tcpdump to see if the IPv6 router is actually offering any IPv6 addresses.
But if dhccpd thinks there are none, then there probably are none.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum