Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kind of SOLVED] Suddenly problems with IPv6 ULAs
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
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Sat Nov 02, 2024 8:57 pm    Post subject: [kind of SOLVED] Suddenly problems with IPv6 ULAs Reply with quote

Hello,

since a few days, I suddenly have problems with my internal IPv6 traffic. I set up dhcp6 via dibbler quite a time ago since I wanted to have local IPv6 addresses with dynamic DNS. My server has a static address in the ULA range (fd00::/8) and provides other clients with addresses in the same subnet.

This whole process worked quite fine until a few days ago. The addresses are still being given, but I can't connect between my clients/server via local IPv6 ULA at all... Name resolution works, addresses are given but trying to connect just times out (no matter from/to which machine).

I already checked ip6tables, but the ULA range is being whitelisted. I also tried to check route -6, but unfortunately, I don't exactly know how it SHOULD look like... In route -6, the local address itself is being listed and not a whole network/prefix.

Using the link local addresses works and internet via IPv6 also has no problems. Only ULA...

I may have broken something, when I accidently started dhcpcd (so the DHCP client) on my server while wanting to restart dhcpd. That really mixed up things for a short while (minutes), but after I fixed that, internal IPv6 traffic worked for a few days.

Any ideas what the problem could be or what I could check?
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64


Last edited by Mr_Maniac on Thu Nov 07, 2024 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Sat Nov 02, 2024 9:38 pm    Post subject: Reply with quote

Okay... Already an update. I thought I already tried this.

I've now manually added a static route
Code:
route -6 add fc00::/7 ethX
on both server and client and now the connection works again... I think I only tried it on one of both machines before, so that could be why it did not work before...

But why should I suddenly have to add this route manually? I did not change any network config in the last days... Only my little fauxpas with the DHCP client on my server...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Thu Nov 07, 2024 8:57 pm    Post subject: Reply with quote

Okay, I kind of solved it for now. IMHO it's not the most elegant solution, but as long as it works ;)

It seems that IPv6 routes can not be propagated via DHCP6 but via router advertisements. But I did not want to install radvd, too...

My DSL router has the ability to also assign ULAs via RA with a choosable prefix. So now I also let my router assign additional ULAs with the same prefix.
With that, my clients get two ULAs (one by RA and one by DHCP6) and the route for this prefix is being set correctly (with my router as the first hop).
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
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