DD-WRT v3 beta - IPv6 ISP with multiple Prefix Delegations

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3
Author Message
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Tue Jun 08, 2021 17:02    Post subject: Reply with quote
Code:
quiet-dhcp
quiet-dhcp6
quiet-ra
enable-ra
dhcp-range=::10,::1ff,constructor:br0,ra-names,slaac,64,24h
Sponsor
fdumont
DD-WRT Novice


Joined: 23 Apr 2012
Posts: 24

PostPosted: Tue Jun 08, 2021 19:43    Post subject: Reply with quote
Not sure to understand ;

No need to specify My IPv6 (prefix 2a01:e0a:22a:xxx1) ?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Tue Jun 08, 2021 19:55    Post subject: Reply with quote
That's handled by the constructor::br0
fdumont
DD-WRT Novice


Joined: 23 Apr 2012
Posts: 24

PostPosted: Sat Jun 12, 2021 12:32    Post subject: Reply with quote
Thank you Wink With your help and advices everything works fine !

However I would made a suggestion about GUI interface when configuring IPv6.

Mode "DHCPv6 with Prefix Delegation"
>>> This mode enable the use of dhcp6c (it run the command dhcp6c -c /tmp/dhcp6c.conf -T LL #WanInterface).
So it is meaningful to propose the option "Dhcp6c custom"

But with the mode "Native IPv6 from ISP"
>>> From what I have observed : No use of dhcp6c. Even if you enabled the option "Dhcp6c custom" with custom code.

So why not hide/remove the option "Dhcp6c custom" when the mode "Native IPv6 from ISP" is selected ?
FTP
DD-WRT User


Joined: 01 Jul 2012
Posts: 97

PostPosted: Sat Apr 30, 2022 10:35    Post subject: Reply with quote
fdumont wrote:
Thank you Wink With your help and advices everything works fine !

Hi fdumont,

I'm in the exact same configuration as you:
  • same ISP "free"
  • same technology "optical fiber"
  • same ISP modem & settings "free server (Revolution) in Bridge mode"
  • a DD-WRT router (in r48741) after the ISP modem
  • and same need to "enable IPv6", in my case to be able to use the Oqee app on Apple TV

So I would like to check with you the appropriate settings to save time.

I've read the 3 pages of the topic and here is what I understood of what I should set. I would appreciate if you could tell me if it's correct Smile

1/ Enable IPv6 - not sure about the DNS fields though (on the 1st page you set some but on the 2nd you don't in your summary of settings)


2/ Add this line in the Startup commands


3/ Enable Dnsmasq and add those 5 lines in the Additional options


Is that correct?
Thanks! Smile


P.S.: free server IPv6 settings to illustrate and make the link with the DD-WRT settings...


Last edited by FTP on Sun May 01, 2022 21:39; edited 4 times in total
fdumont
DD-WRT Novice


Joined: 23 Apr 2012
Posts: 24

PostPosted: Sat Apr 30, 2022 12:45    Post subject: Reply with quote
I hope config/settings are always the right ones.

DD-WRT Settings / IPv6

Static DNS 1 & Static DNS 2 --> Any IPv6 DNS Servers (free or Google or ....)
Assigned / Routed Prefix -> Freebox prefix delegation but not the 1st one, 2nd prefix used (don't try to use the first one due to warning message).

Router IPv6 Address --> 2nd prefix delegation::2/64

Freebox parameters : IPv6 parameters Prefix Delegation (2nd prefix) Next Hop configured to local IPv6 dd-wrt router address.

About Dnsmasq options : Only two lines used
"enable-ra
dhcp-range=::10,::1ff,constructor:br0,ra-names,slaac,64,24h"

And cross the fingers Wink
FTP
DD-WRT User


Joined: 01 Jul 2012
Posts: 97

PostPosted: Sat Apr 30, 2022 13:35    Post subject: Reply with quote
Thanks for your quick answer!

fdumont wrote:
Static DNS 1 & Static DNS 2 --> Any IPv6 DNS Servers (free or Google or ....)

Ok. I've added the Google ones and updated the screenshot above.

fdumont wrote:
Assigned / Routed Prefix -> Freebox prefix delegation but not the 1st one, 2nd prefix used (don't try to use the first one due to warning message).

Ooops, true, I forgot about this warning.
I'm using the 2nd one then and I've updated the screenshot.

fdumont wrote:
Router IPv6 Address --> 2nd prefix delegation::2/64

Ok. I've read your exchange with Per Yngve Berg regarding this setting, but I've not really understand the explanation Sad

fdumont wrote:
Freebox parameters : IPv6 parameters Prefix Delegation (2nd prefix) Next Hop configured to local IPv6 dd-wrt router address.

Ok. It took me a bit of time to understand, but it looks like you're talking about the IPv6 Scope:Link address of the DD-WRT router that we can get via the ifconfig command.

BTW, it's funny as Oqee explicitly ask NOT to use prefix delegations in the freebox settings Sad
https://assistance.oqee.tv/hc/fr/articles/4911734078225-Connexion-impossible-IPv6

So I don't know who's writting their FAQ, but they'll have to update it.

fdumont wrote:
About Dnsmasq options : Only two lines used
"enable-ra
dhcp-range=::10,::1ff,constructor:br0,ra-names,slaac,64,24h"

Ok we can remove them indeed, but I prefer to keep them. No need to log everything...
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

At last, you did not answer this point, but I confirm we can disable Radvd when we use Dnsmasq. It works fine.

Overall, after applying all those settings, everything works!
DD-WRT, Windows clients and the Apple TV all get their IPv6 address and TV lives now works fine on the Oqee app on Apple TV.

Thanks you! Smile
Goto page Previous  1, 2, 3 Display posts from previous:    Page 3 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
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
You cannot attach files in this forum
You cannot download files in this forum