Community discussions

MikroTik App
 
bluenobbe
newbie
Topic Author
Posts: 33
Joined: Wed Jan 26, 2005 1:04 pm
Location: Germany

DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Tue Nov 26, 2019 1:10 pm

I'm trying to configure a Mikrotik router to use a DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334.

DS-Lite combines a native IPv6 connection with a IPIPv6 tunnel to a CGNAT gateway called AFTR (Address Family Transition Router). The router learns the remote tunnel endpoint through DHCP option 64, which contains a fully qualified domain name in the format defined by RFC 3315. The client needs to request this option in order to receive it. IPv4 traffic is sent through the IPv4-in-IPv6 tunnel unmodified: The remote endpoint (AFTR) operated by the ISP performs NAT.

It appears to me that RouterOS does not currently support DS-Lite. Is that correct? DS-Lite is a widely used IPv6 transition mechanism in Germany.

What I'm trying to figure out now is if this functionality can be implemented through scripting. Is there a way to get the DHCPv6 client to request option 64 and provide the resulting FQDN to a script, which could then set up the IPIPv6 tunnel accordingly?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Tue Nov 26, 2019 5:28 pm

We will try to add some functionality to read options in the script.
 
bluenobbe
newbie
Topic Author
Posts: 33
Joined: Wed Jan 26, 2005 1:04 pm
Location: Germany

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Sun Mar 01, 2020 9:47 pm

When can I expect this functionality? Is it possible to get a example to set up a DSlite connection to ISP including the script?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Mon Mar 02, 2020 11:54 am

This feature was added to ROS v7beta
 
bluenobbe
newbie
Topic Author
Posts: 33
Joined: Wed Jan 26, 2005 1:04 pm
Location: Germany

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Mon Mar 09, 2020 9:10 am

Can you discribe it in detail the options wich are now added in V7beta. Maybe with a example script.
Will be helpful.

Thanks in advance
 
bluenobbe
newbie
Topic Author
Posts: 33
Joined: Wed Jan 26, 2005 1:04 pm
Location: Germany

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Sat Mar 28, 2020 4:22 pm

This feature was added to ROS v7beta
When can I expect a answer? Still open task.... Is someone else able to answer? regarding DS-Lite (dual stack lite)?
 
davidb11
just joined
Posts: 3
Joined: Thu Jan 28, 2016 6:24 pm

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Thu Oct 29, 2020 2:02 pm

Any information on how to configure this feature would be appreciated. I can't find anything!
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Mon Nov 02, 2020 1:12 pm

You can get received attributes and their values by accessing "options" variable on script event.
Example on how to use script on DHCP event and access variables can be seen here:
https://wiki.mikrotik.com/wiki/Manual:I ... pt_example
 
urban69
just joined
Posts: 5
Joined: Tue Sep 12, 2017 4:50 pm

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Mon Dec 28, 2020 5:45 pm

Are there any examples for dslite configuration? I want to remove another router and move ds-lite to mikrotik.
 
einichi
just joined
Posts: 7
Joined: Sat Jan 16, 2021 5:33 pm

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Sat Jan 16, 2021 5:57 pm

I would like to see this implemented natively at some point in the near future, along with more general improvements to IPv6.

It seems to be adopted in Germany and Japan at the moment, but I expect it will continue to gain traction as more ISPs begin to make their moves to an IPv6-first network.

In the mean-time, OP, I think we'd all be grateful if you shared your implementation, if you got around to doing it.

I'll likely be moving to a DS-lite ISP toward the end of this year, so if nothing is implemented by then, I'll share whatever I've hacked together.
 
Omosa
just joined
Posts: 7
Joined: Mon Sep 20, 2021 11:45 am

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Sat Nov 13, 2021 9:44 pm

I'll likely be moving to a DS-lite ISP toward the end of this year, so if nothing is implemented by then, I'll share whatever I've hacked together.
Any news about that?
 
einichi
just joined
Posts: 7
Joined: Sat Jan 16, 2021 5:33 pm

Re: DS-Lite (dual stack lite) internet connection as defined in RFCs 6333 and 6334

Tue Nov 16, 2021 10:11 am

Sadly not. Not sure if my configuration was incorrect or if my ISP was doing something non-standard.

Who is online

Users browsing this forum: FranMercedesG and 22 guests