Community discussions

MikroTik App
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Nov 14, 2018 3:41 pm

Any news?
 
fredyz
just joined
Posts: 7
Joined: Wed Jun 13, 2018 7:07 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Nov 27, 2018 6:14 pm

Well, a couple of weeks has passed and not signal of Delegated-IPv6-Prefix being implemented to PPP as well. It took so long for this to happen for DHCP so I hope it doesn't take the same time for PPP as well.

Seems the same people responsible to handle this are in charge for quiet a while with the same practises regardless if people using are satisfied or not.

On the top of that seems there is no understand how many ISPs are affected by the lack of this feature and how this is holding IPv6 adoption in many places as the lack of this features stops ISPs from getting the radius log of which prefix was given to a customer. And we are not asking for something "nice to have" or cosmetic.

How long more !
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Nov 27, 2018 10:19 pm

Good afternoon,
I do not know how you talk about ipv6 with routerOS for years with this pending. We are all affected by this question.
 
littlecake
just joined
Posts: 20
Joined: Sun Jun 04, 2006 8:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Nov 27, 2018 10:37 pm

i do not understand Mikrotik in this case.
I hope before that mikrotik wil implement this feature, now i am looking for alternative.
Our network was running completely with mikrotik.
After comes 802.11n the mikrotik radios was bad , we implement UBNT.
Now we are running routers from mikrotik... after few years it seems that mikrotik will go completely out from our network.
I am sad, that the change will take lot of work, but i cannot accept that we will not implement IPv6 only because the mikrotik is not able to do IPv6 PD.
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Nov 27, 2018 10:41 pm

I fully agree with the message littlecake. We have a similar situation.
In the radio, we already changed Mikrotik to another vendor.
MPLS - we are looking for an alternative vendor.
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Nov 28, 2018 9:41 am

Mikrotik is expected to be more agile than the other companies but unfortunately it's the opposite
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Dec 21, 2018 11:34 am

6.43.8 (2018-Dec-21 07:10) no news and changes. Does anyone in MikroTik deal with this problem?
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Dec 22, 2018 4:30 am

when we will have a novelty about a smooth operation, report prefix delegation. An alternative was presented in the GTER for PD logging
ftp://ftp.registro.br/pub/gter/gter46/
slide number 7
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sun Dec 23, 2018 1:18 pm

I have hope that they are still working on this and on IPv6 RADIUS accounting. They seem to have prioritized IPv6-related enhancements in the past year or so, judging by the change logs.
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Dec 24, 2018 4:44 pm

+1
Mikrotik, please tell us some estimated timeframe when this feature will be finished, so we can decide: wait longer, or go with accel-ppp on Linux instead (it's a lot of work, so it would not be fun to do all this work only to find out it was unnecessary because you finally implemented this feature).
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Dec 24, 2018 8:31 pm

We have been using a workaround for now, although I'm not sure whether it will work for everybody, if it does help someone I can post the script. We have a script that runs that turns any dynamic DHCPv6 PPPoE bindings into static bindings, so that if the customer disconnects and reconnects, they get the same lease. It also copies the pppoe interface name to the comment so that we know which user the binding is for.
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Dec 24, 2018 11:24 pm

We have been using a workaround for now, although I'm not sure whether it will work for everybody, if it does help someone I can post the script. We have a script that runs that turns any dynamic DHCPv6 PPPoE bindings into static bindings, so that if the customer disconnects and reconnects, they get the same lease. It also copies the pppoe interface name to the comment so that we know which user the binding is for.


Dear friend, I could post the script.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Dec 25, 2018 1:40 am

Dear friend, I could post the script.
Here it is - we run this every 5 minutes using the scheduler:
/ipv6 dhcp-server binding;
:foreach i in=[find server~"pppoe"] do={
  make-static $i;
  set $i comment=[get $i server];
  set $i server=all;
}
It works well and users always get the same prefix after disconnecting and reconnecting. It is really just a temporary solution for us until the better solution of Delegated-IPv6-Prefix becomes available.

Because static bindings will be backed up with the router configuration backup by Oxidized, we can look in there to see what user has what binding.

I was also toying with the idea of writing a parser that would look through the backed up config from RouterOS and update RADIUS mysql accounting table with the Delegated-IPv6-Prefix, as though it were being given by RouterOS itself, as a workaround for the lack of accounting. However it wasn't a big deal for us because we only have a few PPPoE concentrators and we tunnel all customers back to these concentrators.

@saaremaa and @marekm is this workaround useful for you at all?
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Dec 25, 2018 6:21 am

Dear friend, I could post the script.
Here it is - we run this every 5 minutes using the scheduler:
/ipv6 dhcp-server binding;
:foreach i in=[find server~"pppoe"] do={
  make-static $i;
  set $i comment=[get $i server];
  set $i server=all;
}
It works well and users always get the same prefix after disconnecting and reconnecting. It is really just a temporary solution for us until the better solution of Delegated-IPv6-Prefix becomes available.

Because static bindings will be backed up with the router configuration backup by Oxidized, we can look in there to see what user has what binding.

I was also toying with the idea of writing a parser that would look through the backed up config from RouterOS and update RADIUS mysql accounting table with the Delegated-IPv6-Prefix, as though it were being given by RouterOS itself, as a workaround for the lack of accounting. However it wasn't a big deal for us because we only have a few PPPoE concentrators and we tunnel all customers back to these concentrators.

@saaremaa and @marekm is this workaround useful for you at all?
Okay, thanks for the tip.

I can aggregate to a separate log server for better control of the delegate prefix.

Hello good afternoon,
I also made this scritp to make a copy of the daily static PD for future analysis, sending to a technical email.

Code: Select all

/ipv6 dhcp-server export verbose file=IPv6LOG-PD
:log info message="enviando LOGIPV6PD por email"
:delay 5s
:global data [/system clock get date]
:global hora [/system clock get time]
:global nome [/system identity get name]
/tool e-mail send to="noc@empresa.com.br" subject="IPV6LOGPD $nome - $data às $hora" body="IPV6LGPD $nome realizado às $hora de $data." file=IPv6LOG-PD.rsc start-tls=yes
:log info message="backup do log PD enviado!"
Last edited by DuhBatista on Sun Dec 30, 2018 6:33 pm, edited 1 time in total.
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Dec 25, 2018 3:32 pm

@saaremaa and @marekm is this workaround useful for you at all?
In my case, this method will not help. It is required that the binding of the prefix to the client's account be in the billing and issued by the Radius attribute. This is a requirement of Roskomnadzor (Russia).
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Feb 05, 2019 11:20 pm

Any news? It seems to me - again, no.
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Feb 08, 2019 3:27 pm

Until now, no one on the team gives anything. Terrible.
 
User avatar
remontti
just joined
Posts: 10
Joined: Mon Aug 31, 2015 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Feb 19, 2019 7:04 pm

Unfortunately the team has not yet deployed the Delegated-IPv6-Prefix.

It is by these and others that people have been abandoning mikrotik.

I hope you're ashamed in the face.

We have been expecting this since 2014.
5 years waiting.
it's ridiculous!
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Feb 19, 2019 10:44 pm

Good afternoon

Inevitably stay that way, a matter of extreme complexity, and mikrotik has not done anything yet so we can move forward.

Wrong
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Feb 26, 2019 10:26 pm

 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: Report

Wed Feb 27, 2019 12:15 am

Unfortunately the team has not yet deployed the Delegated-IPv6-Prefix.

It is by these and others that people have been abandoning mikrotik.

I hope you're ashamed in the face.

We have been expecting this since 2014.
5 years waiting.
it's ridiculous!
Hang on. .. 2014 ?

What sort of dreamland do you live in ? I have been asking for these kind of features, when 2.9 was stable.. and that is a long time before that.

Anyhow ...since before 2008 anyhow ..

I have tickets to prove it. Yet ignored.

/M
 
ft897d
just joined
Posts: 3
Joined: Sun Feb 19, 2017 2:29 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Feb 27, 2019 1:00 pm

Dear support, please tell me when the company MikroTik plans to implement the support of "Delegated-IPv6-Prefix" radius attribute for PPP services?
 
ft897d
just joined
Posts: 3
Joined: Sun Feb 19, 2017 2:29 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Feb 28, 2019 1:15 pm

Dear support, please tell me when the company MikroTik plans to implement the support of "Delegated-IPv6-Prefix" radius attribute for PPP services?
Hello,

It is in our plans to implement such functioality, however, I can not provide any ETA.

Best regards,
Martins S.

:((((((
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sun Mar 03, 2019 12:23 pm

viewtopic.php?f=21&t=145793&p=717609#p717667
saaremaa - What is the question here actually? Delegated-IPv6-Prefix is already working for DHCP service (RADIUS). Such parameter is not available yet for PPP service. If you make PPPoE server which then distributes addresses by using DHCP service, then this will not work since users are authenticated by using PPP service, not DHCP;
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sun Mar 03, 2019 12:27 pm

viewtopic.php?f=21&t=145793&p=717609#p717900
saaremaa - Sorry about that. I mixed both services together. We do support Delegated-IPv6-Prefix for DHCP service but not for PPP yet. It is in our plans to add support for this in the future;
 
littlecake
just joined
Posts: 20
Joined: Sun Jun 04, 2006 8:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sun Mar 03, 2019 12:28 pm

But nobody knows how far is the "future" :)
 
User avatar
remontti
just joined
Posts: 10
Joined: Mon Aug 31, 2015 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Mar 20, 2019 9:56 pm

viewtopic.php?f=21&t=145793&p=717609#p717667
saaremaa - What is the question here actually? Delegated-IPv6-Prefix is already working for DHCP service (RADIUS). Such parameter is not available yet for PPP service. If you make PPPoE server which then distributes addresses by using DHCP service, then this will not work since users are authenticated by using PPP service, not DHCP;
Everyone coming out of RouterOS exactly because they have not yet deployed Delegated-IPv6-Prefix with PPPoE. This update of you is useless to the vast majority.
We have been clamoring for this functionality for years. It is a disregard for users.
Hope to see this working on an update.

All other companies competing with mikrotik are already compatible with Delegated-IPv6-Prefix + PPPoE.
is being charged to do
IPv6 is being charged to be implanted.
When a large company (example google) deactivate their IPv4, is Mikrotik will lose many customers
Sorry for my English.
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sun Mar 24, 2019 8:21 pm

inadmissible
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Mar 28, 2019 10:30 pm

On a positive side, lack of this feature may have kept many people safe from this soon to be disclosed vulnerability:
viewtopic.php?f=2&t=147048
viewtopic.php?f=2&p=723809

Stop IPv6 deployment, or move from MT to something else (Cisco, Linux + BIRD + accel-ppp, ...) so you can deploy IPv6 anyway = not vulnerable :)
Since it was known internally for about a year, perhaps it was the real reason support was not telling anyone why it takes so long to implement Delegated-IPv6-Prefix.
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Apr 01, 2019 12:39 pm

Nah. Requests for Delegated-IPv6-Prefix on PPPoE go back to ROS 3.x

And thats a decade ago.

It is just disregard of Mikrotiks customers.

/M
 
fredyz
just joined
Posts: 7
Joined: Wed Jun 13, 2018 7:07 pm

Re: Report

Mon Apr 08, 2019 6:56 pm

That's a cultural thing within Mikrotik it seems. Looks like the development and the organization of the priorities is messed up and the same person (or similar people) are in charge for a long time and refuses even to acknowledge there are serious issues regarding organization.They probably feel better believing that keeping the same way of doing things and dismissing everything else they may not like to hear is the right way to go.
Nah. Requests for Delegated-IPv6-Prefix on PPPoE go back to ROS 3.x

And thats a decade ago.

It is just disregard of Mikrotiks customers.

/M
 
User avatar
petrb
Member Candidate
Member Candidate
Posts: 100
Joined: Thu Jan 26, 2017 4:17 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Apr 11, 2019 12:14 pm

I want to deploy a combination of the VPLS+PPPoE+Delegated-IPv6-Prefix. Most of the cheap devices cannot do this at the once :( . Basic linux distribution have poor implementation of the VPLS. MK please implement "Delegated-IPv6-Prefix" attribute for PPPoE. Thanks
 
User avatar
CoMMyz
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Fri Dec 04, 2015 10:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Apr 22, 2019 3:01 am

We need this please done - the need for IPv6 over Radios with PPPoE is a use case for most ISP's out there.
 
ntmanxp
newbie
Posts: 26
Joined: Fri Feb 15, 2008 9:04 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Apr 27, 2019 5:03 pm

+1
Testing Latest ROS 6.44.3, same situation!
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Apr 29, 2019 1:09 pm

For anyone looking for alternatives (on x86 hardware), VyOS now includes accel-ppp which supports Delegated-IPv6-Prefix.
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Apr 29, 2019 1:22 pm

We gradually abandon Mikrotik as BRAS and migrate to VAS Experts DPI BRAS There are many more MPLS from Mikrotik in the network, but because of the absence of FRR, I also want to leave
 
User avatar
petrb
Member Candidate
Member Candidate
Posts: 100
Joined: Thu Jan 26, 2017 4:17 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Apr 29, 2019 2:23 pm

For anyone looking for alternatives (on x86 hardware), VyOS now includes accel-ppp which supports Delegated-IPv6-Prefix.
vyos not support VPLS :( .... or documentation is poor
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon May 06, 2019 9:51 pm

For anyone looking for alternatives (on x86 hardware), VyOS now includes accel-ppp which supports Delegated-IPv6-Prefix.

Jup. I'm already testing accel-ppp on Edgerouter Infinity and also looking at cross-compiling the package for Edgerouter X. Mikrotik seem to have no interest in the need of their customers.

/M
 
User avatar
petrb
Member Candidate
Member Candidate
Posts: 100
Joined: Thu Jan 26, 2017 4:17 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Jun 29, 2019 7:45 pm

I gave up the idea of implementing PPPoE delegated-ipv6-prefix and use DHCP and 802.1x for network configuration.

How it works:
1. I have a freeradius with 802.1x authentification, store Calling-Station-Id after successful EAP.
2. DHCPv4 and DHCPv6 server at the MK is connected to the radius.
3. At the freeradius rewrite policy to pair DHCP"username" attribute and "Calling-Station-Id" to find EAP"username".
4. Freeradius send correct framed-ip-address, framed-route, delegated-ipv6-prefix, Mikrotik-Rate-Limit, Mikrotik-address-list

Results:
- Works perfect for IPv4.
- IPv6 not work for MK CPE (DHCP username attribute for IPv4 and IPv6 are different - mac vs duid ......... long story)
- IPv6 works perfect for UBNT CPE (same username attribute for IPv4 and IPv6 DHCP client)

Until DHCP option 79 will be implemented, you can use Kea as dhcp server instead Mikrotik.

Next sollution for the future will be DHCPv6 op 79 - Client Link-Layer Address Option
viewtopic.php?f=2&t=149399

Until DHCP option 79 will be implemented, you can use Kea as dhcp server instead Mikrotik.
 
ricardobrock
just joined
Posts: 6
Joined: Tue Mar 26, 2019 1:58 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jul 16, 2019 9:21 am

+1
Any update about this from Mikrotik??? We have multiple CCR1072-1G-8S+ running only for PPPoE and my customers would like to use IPv6.
@Mikrotik, this post is from 2014, should I start buying other routers for PPPoE? If there would be any information about this FR, just to give people (network engineers) headsup when they can expect something?
 
interprime
just joined
Posts: 15
Joined: Wed Jun 08, 2011 1:08 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jul 16, 2019 10:18 pm

+1 since 2014
 
ntmanxp
newbie
Posts: 26
Joined: Fri Feb 15, 2008 9:04 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Jul 17, 2019 6:47 pm

+1 again!
But what about latest version?
"dhcpv6-server - override prefix pool and/or DNS server settings by values received from RADIUS;"
Could it be related?
 
ricardobrock
just joined
Posts: 6
Joined: Tue Mar 26, 2019 1:58 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Aug 29, 2019 9:40 pm

@Mikrotik Amy response?

Ripe says IPv4 is done by then end of this year.
 
tdamas
just joined
Posts: 1
Joined: Wed Sep 04, 2019 9:34 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Sep 04, 2019 9:39 pm

WORKING since 6.45.1:
*) dhcpv6-server - added additional RADIUS parameters for Prefix delegation, "rate-limit" and "life-time";

For now, it need to activate the "dhcp" option under RADIUS configuration to log accounting packets.
 
User avatar
petrb
Member Candidate
Member Candidate
Posts: 100
Joined: Thu Jan 26, 2017 4:17 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Sep 11, 2019 10:41 am

dhcpv6 PD is not PPPoE PD
 
User avatar
dibatech
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Tue Apr 04, 2006 10:14 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Sep 19, 2019 5:07 pm

@Mikrotik: This must be really difficult to impliment....
 
User avatar
pietroscherer
Trainer
Trainer
Posts: 170
Joined: Thu Mar 05, 2015 3:05 pm
Location: RS, Brazil
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Sep 19, 2019 5:45 pm

Anyone tested on 6.45.x ?
 
User avatar
edurosso
just joined
Posts: 6
Joined: Tue Sep 24, 2019 3:25 am
Location: Santa Maria - RS - Brasil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Sep 24, 2019 3:50 am

Anyone tested on 6.45.x ?
Hi Pietro, glad to see you.
I just tested on 6.45.6. For PPPoE, sending "Delegated-IPv6-Prefix" attribute did not work. I found that enabling "dhcp" option in RADIUS Client resulted on RouterOS sending "Delegated-IPv6-Prefix" to RADIUS Server, but not for PPPoE connections, only for DHCPv6.
So, until MikroTik releases full support for "Delegated-IPv6-Prefix" for PPPoE, I am using "Mikrotik-Delegated-IPv6-Pool" instead. But this is not a solution, it is a workaround because this way I need to create the pools, and therefore, RADIUS Server don't receive PD information from RouterOS via accounting or access/accept requests. RADIUS receives back only the "Framed-IPv6-Prefix" (WAN).
 
jindranix
just joined
Posts: 13
Joined: Mon Jun 09, 2014 11:41 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Oct 02, 2019 12:51 pm

Yes, it is really annoying. this small thing is missing to full dual-stack support on PPPoE.
 
User avatar
danunjaya123
Member Candidate
Member Candidate
Posts: 101
Joined: Thu Oct 03, 2019 7:36 am
Location: India

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Oct 04, 2019 12:56 pm

I have configured PPPoE on IPv6 for my customers on different Vlan's, Now i have got issue in this when i did PPPoE Dail at customer end getting IPv6 IP and showing IPv6 for my PC but not able to get browsing on IPv6 traffic, For this i have found that it was IPv6 DNS issue.

When i dail On PPPoE getting IP only not getting DNS of IPv6.

Let us we know how DNS will reach the customer when dailup.


Is IPv6 Support Hotspot?, I need to give for some of my customers on DHCP mode so they are getting IP but not able to redirect to Radius.

I have CCR-1036
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Nov 18, 2019 12:30 am

Any update on this long requested feature?
Will it ever appear in v6, or only in v7?
 
jimkim5934
just joined
Posts: 1
Joined: Fri Dec 13, 2019 9:08 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Dec 13, 2019 9:21 am

In 6.46, I have IA PD issue. There is no IA PD value in the packet.


Frame 4098: 171 bytes on wire (1368 bits), 171 bytes captured (1368 bits) on interface 0
Ethernet II, Src: Routerbo_e2:3f:6e (6c:3b:6b:e2:3f:6e), Dst: HWTC_98:21:70 (8c:44:4f:98:21:70)
PPP-over-Ethernet Session
0001 .... = Version: 1
.... 0001 = Type: 1
Code: Session Data (0x00)
Session ID: 0x000b
Payload Length: 151
Point-to-Point Protocol
Protocol: Internet Protocol version 6 (0x0057)
Internet Protocol Version 6, Src: fe80::f0:c, Dst: fe80::68a4:b5e:4a59:5a46
0110 .... = Version: 6
.... 0000 0000 .... .... .... .... .... = Traffic Class: 0x00 (DSCP: CS0, ECN: Not-ECT)
.... .... .... 0000 0000 0000 0000 0000 = Flow Label: 0x00000
Payload Length: 109
Next Header: UDP (17)
Hop Limit: 64
Source: fe80::f0:c
Destination: fe80::68a4:b5e:4a59:5a46
User Datagram Protocol, Src Port: 547, Dst Port: 546
Source Port: 547
Destination Port: 546
Length: 109
Checksum: 0x6001 [unverified]
[Checksum Status: Unverified]
[Stream index: 159]
[Timestamps]
DHCPv6
Message type: Reply (7)
Transaction ID: 0xb53f80
Client Identifier
Option: Client Identifier (1)
Length: 10
Value: 000300018c444f982170
DUID: 000300018c444f982170
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: 8c:44:4f:98:21:70
Server Identifier
Option: Server Identifier (2)
Length: 10
Value: 000300016c3b6be23f6e
DUID: 000300016c3b6be23f6e
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: 6c:3b:6b:e2:3f:6e
Rapid Commit
Option: Rapid Commit (14)
Length: 0
DNS recursive name server
Option: DNS recursive name server (23)
Length: 16
Value: 200102b80054e0010000000000000003
1 DNS server address: 2001:2b8:54:e001::3
Identity Association for Prefix Delegation
Option: Identity Association for Prefix Delegation (25)
Length: 41
Value: 000000000001fa4000032a00001a00190000000000000000…
IAID: 00000000
T1: 129600
T2: 207360
IA Prefix
Option: IA Prefix (26)
Length: 25
Value: 000000000000000000000000000000000000000000000000…
Preferred lifetime: 0
Valid lifetime: 0
Prefix length: 0
Prefix address: ::
 
ricardobrock
just joined
Posts: 6
Joined: Tue Mar 26, 2019 1:58 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Dec 14, 2019 12:07 am

Does anyone understand why this has been added to 6.46?

dhcpv6-server - include "User-Name" parameter in accounting requests;

so, something todo with IPv6-PD or what?

@Mikrotik, can you guys please tell us how long it will take. All other ISP are even going to native IPv6, and were still on ony IPv4!!!!!!!!!!!!!
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Dec 17, 2019 10:17 pm

Contribution, adapt to your Radius for prefix-PD logging
https://wiki.brasilpeeringforum.org/w/G ... o_Mikrotik
 
ricardobrock
just joined
Posts: 6
Joined: Tue Mar 26, 2019 1:58 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Jan 03, 2020 12:16 am

Ok, anyone who wants this!!!! Managed to make it work, very easy!!!!!!!!

https://www.vyos.io/

lookalike Juniper / Brocade, new to this, tested over the last few months with several PPP clients. Awesome product.

MT can really learn from these guys. IPv6-PD over PPP incl. Radius is a pré to have as ISP. anything other is not a solution but working a way around :-).
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Jan 03, 2020 1:10 pm

This feature was requested since 2014, and still not implemented in 2020.
MT, please at least tell us how much longer it will take - so we can make informed decision (wait for MT or switch our PPPoE servers to VyOS - more work, but may be worth it if we have to wait for MT too long; the problem is we still don't know how long) to proceed with IPv6 deployment.
Similar pattern as with CRS318 netPower reverse-PoE switches - still vapourware 10 months after first announced. Again, need to decide - wait for MT, or roll our own?
 
User avatar
remontti
just joined
Posts: 10
Joined: Mon Aug 31, 2015 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jan 28, 2020 2:17 am

This was the only solution I found.
How to deliver IPv6+IPv4 to RouterOS through DHCPv6 PD and save logs in a database
https://blog.remontti.com.br/3931

Esta foi a única solução que encontrei
Como entregar IPv6+IPv4 no Mikrotik/RouterOS através de PPPoE/DHCPv6 PD e registrando os logs em um banco de dados
https://blog.remontti.com.br/3931
 
jindranix
just joined
Posts: 13
Joined: Mon Jun 09, 2014 11:41 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jan 28, 2020 12:22 pm

Is it really hard to do this feature? But the choice there is only gray...
 
User avatar
alexcherry
just joined
Posts: 21
Joined: Tue Jan 11, 2011 5:01 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Feb 18, 2020 2:23 pm

Hi guys, I was fighting with IPv6 deployment for few weeks. The authentication is PPPoE as in many other networks.
The main issue is that when customer got IPv6 delegated prefix from Mikrotik, we don't have control and information about the prefix that is assigned to end user. This is because Mikrotik doesn't support Radius based IPv6 assignment on PPPoE. In IPv4 it's fine, because there are Framed-IP-Address and Framed-Route attributes.
But in PPPoE with Radius, Delegated-Ipv6-Prefix is not accepted by Mikrotik, even if we send it from Radius. In accounting messages Mikrotik sends back to Radius Delegated-IPv6-Prefix attribute, so, we have extended our Radius and grab and save this information. But it's a sort of "hack" and regular FreeRadius doesn't support it.

I've created a petition, please vote for a proper Delegated-IPv6-Prefix support in Radius + PPPoE Mikrotik here - http://chng.it/v7Xjm42GsG
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Feb 21, 2020 11:39 pm

Similar pattern as with CRS318 netPower reverse-PoE switches - still vapourware 10 months after first announced. Again, need to decide - wait for MT, or roll our own?
15FR is on the site.
 
negar58
just joined
Posts: 1
Joined: Wed May 13, 2020 11:22 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed May 13, 2020 11:26 pm

Any updates on this?
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue May 19, 2020 4:04 pm

Tired of waiting, I'm in the process of moving to VyOS which includes accel-ppp. Replacing UBNT ERPro-8 (BGP router) and RB1100AHx4 (PPPoE server) with two PC Engines apu4d4 boards in 1U DualRack case. IPv4 works now, will start testing IPv6 soon. Since the PPPoE server has more memory now, I can follow the recommendations to distribute customer routes (single /32 for each PPPoE customer) via iBGP, leaving OSPF for infrastructure only (much smaller database) for better scalability - see https://nsrc.org/workshops/2019/mnnog1/ ... GP-BCP.pdf
 
jindranix
just joined
Posts: 13
Joined: Mon Jun 09, 2014 11:41 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Jun 04, 2020 2:33 pm

Hi guys, I was fighting with IPv6 deployment for few weeks. The authentication is PPPoE as in many other networks.
The main issue is that when customer got IPv6 delegated prefix from Mikrotik, we don't have control and information about the prefix that is assigned to end user. This is because Mikrotik doesn't support Radius based IPv6 assignment on PPPoE. In IPv4 it's fine, because there are Framed-IP-Address and Framed-Route attributes.
But in PPPoE with Radius, Delegated-Ipv6-Prefix is not accepted by Mikrotik, even if we send it from Radius. In accounting messages Mikrotik sends back to Radius Delegated-IPv6-Prefix attribute, so, we have extended our Radius and grab and save this information. But it's a sort of "hack" and regular FreeRadius doesn't support it.

I've created a petition, please vote for a proper Delegated-IPv6-Prefix support in Radius + PPPoE Mikrotik here - http://chng.it/v7Xjm42GsG
Thank you for your initiative...

Mikrotik guys, it IS really last part of jigsaw to start massive IPv6 deployment and it IS important, because IPv6 save CG-NAT that is our main motivation....
 
elpamyelhsa
just joined
Posts: 9
Joined: Sat Apr 12, 2014 6:43 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Jun 15, 2020 11:54 am

If anyone needs "Delegated-IPv6-Prefix" to work I have a small workaround but it is a nonstandard configuration.

For it to work you need to meet the following:
  • Configure other PPPoE Servers (eg. CISCO) to ignore the "Framed-IPv6-Prefix", on these devices assign a local-link IPv6 and a external IPv6-PD address
  • RADIUS should send Mikrotik-Delegated-IPv6-Pool as the End Users DHCPv6-PD /56 (or /48 or /64) subnet. Yes, I know, this value is supposed to be a name not a IPv6 subnet.
What happens, when the Mikrotik gets a "Framed-IPv6-Prefix" from RADIUS, it creates a route with the PPPoE as the Gateway.
The below script grabs this IPv6-Prefix from the route created and creates a IPv6 Pool with a name being the subnet and DHCPv6 Server on the PPPoE Session Interface
When the End User disconnects these are removed.

Add these scripts under: PPP > Profiles > YouPPPoEServerProfile > Scripts
#OnUp
:delay 1000ms
:local interfaceName [/interface get $interface name]
#:log info [/interface get $interface name]
:local ipv6pd [/ipv6 route get [find gateway=$interfaceName] dst-address]
#:log info [/ipv6 route get [find gateway=$interfaceName] dst-address]
/ipv6 pool add name=$ipv6pd prefix=$ipv6pd prefix-length=56 comment=$interfaceName
/ipv6 dhcp-server add address-pool=$ipv6pd interface=$interface lease-time=52w name=$interfaceName comment=$interfaceName


#OnDown
:local interfaceName [/interface get $interface name]
/ipv6 dhcp-server remove [find interface=$interface]
/ipv6 pool remove [find comment=$interfaceName]
 
littlecake
just joined
Posts: 20
Joined: Sun Jun 04, 2006 8:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Jun 15, 2020 4:48 pm

I made little change, which works better for me .
With previous script, i have problem with deleting after disconnect
#IPv6Up
:delay 1000ms
:local interfaceName [/interface get $interface name]
:log info [/interface get $interface name]
:local ipv6pd [/ipv6 route get [find gateway=$interfaceName] dst-address]
:log info [/ipv6 route get [find gateway=$interfaceName] dst-address]
/ipv6 pool add name=$ipv6pd prefix=$ipv6pd prefix-length=63 comment=$user
/ipv6 dhcp-server add address-pool=$ipv6pd interface=$interface lease-time=52w name=$interfaceName comment=$user

#IPv6Down
/ipv6 dhcp-server remove numbers=[find comment=$user]
/ipv6 pool remove numbers=[find comment=$user]
 
elpamyelhsa
just joined
Posts: 9
Joined: Sat Apr 12, 2014 6:43 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jun 16, 2020 11:51 am

I made little change, which works better for me .
With previous script, i have problem with deleting after disconnect
#IPv6Up
:delay 1000ms
:local interfaceName [/interface get $interface name]
:log info [/interface get $interface name]
:local ipv6pd [/ipv6 route get [find gateway=$interfaceName] dst-address]
:log info [/ipv6 route get [find gateway=$interfaceName] dst-address]
/ipv6 pool add name=$ipv6pd prefix=$ipv6pd prefix-length=63 comment=$user
/ipv6 dhcp-server add address-pool=$ipv6pd interface=$interface lease-time=52w name=$interfaceName comment=$user

#IPv6Down
/ipv6 dhcp-server remove numbers=[find comment=$user]
/ipv6 pool remove numbers=[find comment=$user]
I was using the dynamic interface name as a way of tracking as it is unique even if the same user authenticated twice eg. "<user>" and "<user-1>" as opposed to "user"
Ill do some more testing, but your way should work for most scenarios.
I also noticed you are assigning /63 to your End Users, have a read of this as to why a /56 should be given to every household.
https://www.ripe.net/publications/docs/ripe-690
 
littlecake
just joined
Posts: 20
Joined: Sun Jun 04, 2006 8:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jun 16, 2020 11:55 am

this is only temporary solution.
Now i trying, how to put on ppp tunnel public adress , in past i have problems with some web pages in case when i use MTU 1480
 
elpamyelhsa
just joined
Posts: 9
Joined: Sat Apr 12, 2014 6:43 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jun 16, 2020 5:28 pm

this is only temporary solution.
Now i trying, how to put on ppp tunnel public adress , in past i have problems with some web pages in case when i use MTU 1480
Unreleted to this thread,
But for MTU issues don't forget the MSS Clamp Rule to make packet smaller if needed.
/ip firewall mangle add action=change-mss chain=forward new-mss=clamp-to-pmtu out-interface=all-ppp passthrough=yes protocol=tcp tcp-flags=syn
 
User avatar
CoMMyz
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Fri Dec 04, 2015 10:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Jul 07, 2020 8:25 pm

What's new in 6.48beta12 (2020-Jul-06 13:33):
*) ppp - added "ipv6-routes" parameter to "secrets" menu;
*) ppp - added support for "Framed-IPv6-Route" RADIUS attribute;
*) ppp - allow specifying pool name for "remote-ipv6-prefix-pool" parameter;
 
jindranix
just joined
Posts: 13
Joined: Mon Jun 09, 2014 11:41 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Jul 24, 2020 5:02 pm

What's new in 6.48beta12 (2020-Jul-06 13:33):
*) ppp - added "ipv6-routes" parameter to "secrets" menu;
*) ppp - added support for "Framed-IPv6-Route" RADIUS attribute;
*) ppp - allow specifying pool name for "remote-ipv6-prefix-pool" parameter;
Very nice but still not "Delegated-IPv6-Prefix" attribute... Or I'm wrong?
 
ricardobrock
just joined
Posts: 6
Joined: Tue Mar 26, 2019 1:58 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Aug 18, 2020 9:32 am

Hello Fellow "IPv6 / PPPoE / DHCPv6-PD / Delegated-IPv6-Prefix" waiters,

PD is still not an option with Mikrotik in combination with PPPoE. But, there is a But :-). the Framed-IPv6-Route attribute allows you to forward a delegated prefix to be forwarded to the customer site, only bad thing the customer or IT engineer needs to configure IPv6 manually.

This is something I can live with, but, 80% of my customers wants IPv6, but doesn't even know how to connect the UTP cable on the WAN port. So for them I am still waiting for PD :-).

@Mikrotik, please, all of your ISP Customers which endorse your product because of the simplicity and pricing of course. Please add DHCPv6-PD to PPPoE

Kind regards,

Ex Cisco BRAS user which loves Mikrotik when its support PD ;-)
 
littlecake
just joined
Posts: 20
Joined: Sun Jun 04, 2006 8:56 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Aug 18, 2020 10:17 am

The script described higher works for me without any big problems.
Currently we have about 3000 IPv6 working CPE
Hello Fellow "IPv6 / PPPoE / DHCPv6-PD / Delegated-IPv6-Prefix" waiters,

PD is still not an option with Mikrotik in combination with PPPoE. But, there is a But :-). the Framed-IPv6-Route attribute allows you to forward a delegated prefix to be forwarded to the customer site, only bad thing the customer or IT engineer needs to configure IPv6 manually.

This is something I can live with, but, 80% of my customers wants IPv6, but doesn't even know how to connect the UTP cable on the WAN port. So for them I am still waiting for PD :-).

@Mikrotik, please, all of your ISP Customers which endorse your product because of the simplicity and pricing of course. Please add DHCPv6-PD to PPPoE

Kind regards,

Ex Cisco BRAS user which loves Mikrotik when its support PD ;-)
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Aug 28, 2020 3:26 pm

Guys please also join following topic viewtopic.php?f=1&t=163276 if you want to implement the feature in V7
 
softov
just joined
Posts: 4
Joined: Sat Jun 08, 2019 2:05 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Oct 23, 2020 4:04 am

Hi, any news about this?

Delegated-IPv6-Prefix not work in PPPoE
Delegated-IPv6-Prefix-Pool work, but it's not the right way to do, since I want to fix the prefix and not get this in a pool.

Sending Delegated-IPv6-Prefix don't create a DHCP server.
There is no warning in Mikrotik LOG.

I already tried to send /50 /56 /60 and /64 prefixed, none of then works.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Dec 01, 2020 4:48 am

They have finally added it in 6.48 beta58!

I tested it and it seems to work - it sends back the dynamically assigned prefix via an accounting packet to the RADIUS server.

The only issue that I see is that it treats the IPv6 session as a completely separate RADIUS session, so it has a different session ID etc from the main RADIUS session. Still, this is a huge improvement over what we had before.
 
ntmanxp
newbie
Posts: 26
Joined: Fri Feb 15, 2008 9:04 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Mar 03, 2021 4:52 pm

Hi there. Yeah 6.48.1 Works, BUT you can't have 2 customers with this attribute, as far I tested.

Using:
adsl-3333 Delegated-Ipv6-Prefix =2103:2003:c000::/48
adsl-3333 Framed-IPv6-Prefix =2103:2003:7000::/64
adsl-4444 Delegated-Ipv6-Prefix =2103:2003:c001::/48
adsl-4444 Framed-IPv6-Prefix =2103:2003:7001::/64

First user get the DHCP-Server like:

/ipv6 dhcp-server print
Flags: D - dynamic, X - disabled, I - invalid
# NAME INTERFACE ADDRESS-POOL PREFERENCE LEASE-TIME
0 D <pppoe-adsl-pruebausuario4> <pppoe-adsl-pruebausuario4> IPV6_pool_Delegado 255 3d
1 D <pppoe-adsl-3333> static-only 255 1m

BUT the second customer is refused to connect with this message:

"pppoe,ppp,error could not add dhcpv6 server with pool : server with such name already exists (7)"

Any Ideas?
 
User avatar
edurosso
just joined
Posts: 6
Joined: Tue Sep 24, 2019 3:25 am
Location: Santa Maria - RS - Brasil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Mar 30, 2021 9:51 pm

The "Delegated-IPv6-Prefix" is now working on 6.48.1! Prefixes are being delegated to the clients, apparently.

But, the accounting packet (Router -> RADIUS) doesn't contains "Delegated-IPv6-Prefix" attribute. Do anyone managed to have this working?
 
ntmanxp
newbie
Posts: 26
Joined: Fri Feb 15, 2008 9:04 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Apr 08, 2021 8:31 pm

The "Delegated-IPv6-Prefix" is now working on 6.48.1! Prefixes are being delegated to the clients, apparently.
By passing with Radius the Prefix, in more than one customer?
Because I did test it an got duplicated pool error, as I stated above in red.
How did you make it?

And...
But, the accounting packet (Router -> RADIUS) doesn't contains "Delegated-IPv6-Prefix" attribute. Do anyone managed to have this working?
In case of accounting, I got it ( using the Pool defined in mikrotik, or the one by Radius ( just ONE!!!) but with the MAC address intead of the username:

# username, callingstationid, framedipaddress, framedipv6prefix, delegatedipv6prefix
'64:D1:54:76:20:F0', '64d1547620f0', '', '', '2803:2300:c000::/48'
'adsl-agallo', '64:D1:54:76:20:F0', '172.32.1.245', '2803:2300:7000::/64', ''


Regards
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Apr 09, 2021 11:42 am

Any Update regarding IPv6 Prefix Delegation Accounting for PPP Users???

All are requesting this from years and still we have not received any proper Response or feedback from Mikrotik Team.
 
User avatar
edurosso
just joined
Posts: 6
Joined: Tue Sep 24, 2019 3:25 am
Location: Santa Maria - RS - Brasil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Apr 13, 2021 6:21 am


By passing with Radius the Prefix, in more than one customer?
Because I did test it an got duplicated pool error, as I stated above in red.
How did you make it?
Ah... understoodI
I've tested with only one "user". I'll test again later.
In case of accounting, I got it ( using the Pool defined in mikrotik, or the one by Radius ( just ONE!!!) but with the MAC address intead of the username:

# username, callingstationid, framedipaddress, framedipv6prefix, delegatedipv6prefix
'64:D1:54:76:20:F0', '64d1547620f0', '', '', '2803:2300:c000::/48'
'adsl-agallo', '64:D1:54:76:20:F0', '172.32.1.245', '2803:2300:7000::/64', ''
This happens only if you use "dhcp" on RADIUS client configuration. Keep only "ppp" option and the MAC Address accounting is never sent.
When MikroTik get this to work (send Delegated-IPv6-Prefix related to username from "ppp"), this problem will be resolved.
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Apr 13, 2021 10:53 am


By passing with Radius the Prefix, in more than one customer?
Because I did test it an got duplicated pool error, as I stated above in red.
How did you make it?
Ah... understoodI
I've tested with only one "user". I'll test again later.
In case of accounting, I got it ( using the Pool defined in mikrotik, or the one by Radius ( just ONE!!!) but with the MAC address intead of the username:

# username, callingstationid, framedipaddress, framedipv6prefix, delegatedipv6prefix
'64:D1:54:76:20:F0', '64d1547620f0', '', '', '2803:2300:c000::/48'
'adsl-agallo', '64:D1:54:76:20:F0', '172.32.1.245', '2803:2300:7000::/64', ''
This happens only if you use "dhcp" on RADIUS client configuration. Keep only "ppp" option and the MAC Address accounting is never sent.
When MikroTik get this to work (send Delegated-IPv6-Prefix related to username from "ppp"), this problem will be resolved.
We are waiting from years for this feature!!!
 
ntmanxp
newbie
Posts: 26
Joined: Fri Feb 15, 2008 9:04 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Apr 13, 2021 3:19 pm


By passing with Radius the Prefix, in more than one customer?
Because I did test it an got duplicated pool error, as I stated above in red.
How did you make it?
Ah... understoodI
I've tested with only one "user". I'll test again later.
Thanks, give us your results pls!
In case of accounting, I got it ( using the Pool defined in mikrotik, or the one by Radius ( just ONE!!!) but with the MAC address intead of the username:

# username, callingstationid, framedipaddress, framedipv6prefix, delegatedipv6prefix
'64:D1:54:76:20:F0', '64d1547620f0', '', '', '2803:2300:c000::/48'
'adsl-agallo', '64:D1:54:76:20:F0', '172.32.1.245', '2803:2300:7000::/64', ''
This happens only if you use "dhcp" on RADIUS client configuration. Keep only "ppp" option and the MAC Address accounting is never sent.
When MikroTik get this to work (send Delegated-IPv6-Prefix related to username from "ppp"), this problem will be resolved.
It's Ok this way, so you can get the 'link' address of the CPE (just as IPv4) and the Pool of the 'internal network' but with the MAC.
So a little SQL processing can merge both records in one, and follow a connection in case of Law request or anything.

Regards
 
burgesssally787
just joined
Posts: 1
Joined: Tue Apr 13, 2021 3:50 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Apr 13, 2021 4:09 pm

I just ran into an instance in our production network where I needed this information (which our radius server is not reporting because it can't record what it doesn't get) in our production network.
 
ezra83
just joined
Posts: 1
Joined: Wed Jun 30, 2021 5:26 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Jun 30, 2021 6:09 pm

Hello all,
I tried "Delegated-IPV6-Prefix" attribute with version 6.48.3, but the log displayed "pool6 refused acquire: pool not found" error.
I tested on PPPoE scenario with Radius authentication, Radius server already reply with "Delegated-IPV6-Prefix" attribute too.
Here is the log screenshot. Any suggestion about this problem? Is there some config that i lack of on Mikrotik? Thanks in advance.
log pppoe ipv6.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Jul 03, 2021 8:50 am

Come On Mikrotik Team

We are requesting this feature from many years now... I Think at-least you should take it seriously now.
 
MarcosPytel
just joined
Posts: 7
Joined: Tue Mar 10, 2020 2:19 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Jul 22, 2021 6:17 pm

Hi there. Yeah 6.48.1 Works, BUT you can't have 2 customers with this attribute, as far I tested.

Using:
adsl-3333 Delegated-Ipv6-Prefix =2103:2003:c000::/48
adsl-3333 Framed-IPv6-Prefix =2103:2003:7000::/64
adsl-4444 Delegated-Ipv6-Prefix =2103:2003:c001::/48
adsl-4444 Framed-IPv6-Prefix =2103:2003:7001::/64

First user get the DHCP-Server like:

/ipv6 dhcp-server print
Flags: D - dynamic, X - disabled, I - invalid
# NAME INTERFACE ADDRESS-POOL PREFERENCE LEASE-TIME
0 D <pppoe-adsl-pruebausuario4> <pppoe-adsl-pruebausuario4> IPV6_pool_Delegado 255 3d
1 D <pppoe-adsl-3333> static-only 255 1m

BUT the second customer is refused to connect with this message:

"pppoe,ppp,error could not add dhcpv6 server with pool : server with such name already exists (7)"

Any Ideas?
Hi ntmanxp, It doesnt work for me.
If i use the Delegated-Ipv6-Prefix radius parameter, the DHCPv6 server stay in waiting mode and never assign the prefix to the customer.
If I remove the Delegated-Ipv6-Prefix the customer get one prefix from the pool and it works!
Could you tell me how you configure it?

Thanks in advance!
 
ntmanxp
newbie
Posts: 26
Joined: Fri Feb 15, 2008 9:04 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Jul 31, 2021 5:17 pm

Hi,
Did you allowed 'dhcp' service under RADIUS general tab, Service? If only 'ppp' is checked, will never get the DHCP Request.
Regards
Hi there. Yeah 6.48.1 Works, BUT you can't have 2 customers with this attribute, as far I tested.

Using:
adsl-3333 Delegated-Ipv6-Prefix =2103:2003:c000::/48
adsl-3333 Framed-IPv6-Prefix =2103:2003:7000::/64
adsl-4444 Delegated-Ipv6-Prefix =2103:2003:c001::/48
adsl-4444 Framed-IPv6-Prefix =2103:2003:7001::/64

First user get the DHCP-Server like:

/ipv6 dhcp-server print
Flags: D - dynamic, X - disabled, I - invalid
# NAME INTERFACE ADDRESS-POOL PREFERENCE LEASE-TIME
0 D <pppoe-adsl-pruebausuario4> <pppoe-adsl-pruebausuario4> IPV6_pool_Delegado 255 3d
1 D <pppoe-adsl-3333> static-only 255 1m

BUT the second customer is refused to connect with this message:

"pppoe,ppp,error could not add dhcpv6 server with pool : server with such name already exists (7)"

Any Ideas?
Hi ntmanxp, It doesnt work for me.
If i use the Delegated-Ipv6-Prefix radius parameter, the DHCPv6 server stay in waiting mode and never assign the prefix to the customer.
If I remove the Delegated-Ipv6-Prefix the customer get one prefix from the pool and it works!
Could you tell me how you configure it?

Thanks in advance!
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Sep 03, 2021 9:49 pm

Mikrotik Support Please Give some Update regarding this issue...
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Oct 07, 2021 10:51 pm

Any Progress ??????
 
User avatar
DuhBatista
just joined
Posts: 16
Joined: Mon Oct 01, 2018 6:24 pm
Location: Brazil

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Oct 08, 2021 1:15 am

Still using external log for PD prefix to identify user. Mikrotik doesn't even respond to lamentation.
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Oct 11, 2021 5:41 pm

Mikrotik is being used by many ISP Worldwide.... And we are requesting this issue form years and years now and still mikroitk has not yet given even a single response.

I think RouterOS is not Capable to execute this attribute thats why mikrotik team is not answering...
 
jindranix
just joined
Posts: 13
Joined: Mon Jun 09, 2014 11:41 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue May 10, 2022 12:48 pm

Hi guys,

I'm fine with this feature except "Expire Time" which is one minute and I don't know how to prolong it... I tried RADIUS attributes, pppoe profile, but no effect...

How do you deal with it?

THX
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Aug 13, 2022 4:11 am

Delegated-IPv6-Prefix RADIUS attribute support for PPPoE server still not working in 6.49.6?

I need static IPv4 addresses / IPv6 prefixes, not dynamic from a pool - freeradius users file has this for each customer:
username        Cleartext-Password := "********"
                Service-Type = Framed-User,
                Framed-Protocol = PPP,
                Delegated-IPv6-Prefix = 2001:db8:27b::/56,
                Framed-IPv6-Prefix = 2001:db8:27b:100::/64,
                Framed-IP-Address = 192.0.2.123
and it works with VyOS PPPoE server, but not with MT.
Or should it work, but I'm doing something wrong?
I'm not brave enough to try ROS v7 yet - or should I?
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 157
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sun Aug 14, 2022 5:26 pm

I'm not brave enough to try ROS v7 yet - or should I?
Even ROSv7 is not supporting... :lol:
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Aug 15, 2022 2:45 am

Delegated-IPv6-Prefix RADIUS attribute support for PPPoE server still not working in 6.49.6?
[...]
I'm not brave enough to try ROS v7 yet - or should I?
Even ROSv7 is not supporting... :lol:
`
Passing Delegated-IPv6-Prefix attribute in RADIUS Access-Accept reply works perfectly for me in 6.49.x. I would be kind of surprised if it also did not work in 7.x (though I have not yet tested).

Also please note that this thread was originally about RouterOS not sending Delegated-IPv6-Prefix back in RADIUS Accounting messages. Different issue.

If you can make this work with Vyatta/VyOS but not RouterOS, that is surprising. As I mentioned, I have gotten this to work with RouterOS. But note that it needs to be sent by RADIUS server not as a string, but as the raw binary bits, with the prefix length encoded first, followed by the actual IPv6 prefix (expanded to a fixed length of 128 bits, with the masked-off part set to zeros), as the RFC spells out. If you do not have the appropriate dictionary file loaded into your RADIUS server config (e.g., in the case of FreeRADIUS, make sure to include "dictionary.rfc4818"), then it might not be sending the attribute in the right format, or might not be sending it at all. You should perform a packet capture between RADIUS server and MikroTik to verify. (If your RADIUS server is sending this attribute as a string, perhaps VyOS can accept that, while RouterOS more strictly adheres to the RFC?)

Also just in case it is not explicitly clear, sending Delegated-IPv6-Prefix attribute to RouterOS in Access-Accept reply will only work if your PPPoE client is also running a DHCPv6 client that is requesting a delegated prefix. If you are expecting your RouterOS PPPoE server to just add a route to the local table pointing that static prefix at that customer's connection without DHCPv6, you should instead use Framed-IPv6-Route instead, which IS sent as a string.
 
kerneldark
just joined
Posts: 3
Joined: Mon Aug 15, 2022 11:02 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Aug 15, 2022 11:19 pm

"Hi guys,

I'm fine with this feature except "Expire Time" which is one minute and I don't know how to prolong it... I tried RADIUS attributes, pppoe profile, but no effect...

How do you deal with it?

THX"

I'm having the same problem here, i get ipv6 and ipv6-pd but the valid_lft is 60 seconds.
 
marthin
just joined
Posts: 4
Joined: Tue Sep 14, 2010 2:41 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Aug 16, 2022 11:25 pm

Hi,

We are sending the Mikrotik-Delegated-IPv6-Pool (id 22, string) attribute in the Access-Accept and all works as expected. However same deal as with the Delegated-IPv6-Prefix, the allocated prefix from the pool is not sent in Accounting.

Any thoughts on this perhaps?
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Wed Aug 17, 2022 3:26 am

Hi there. Yeah 6.48.1 Works, BUT you can't have 2 customers with this attribute, as far I tested.

[...]

BUT the second customer is refused to connect with this message:

"pppoe,ppp,error could not add dhcpv6 server with pool : server with such name already exists (7)"
`
I can't reproduce this problem, and can have more than one customer with separate Delegated-IPv6-Prefix on the same router, and it works fine. But I'm also using 6.49.6, so maybe this was a bug back in 6.48.x, and it got fixed.
`
I'm fine with this feature except "Expire Time" which is one minute and I don't know how to prolong it... I tried RADIUS attributes, pppoe profile, but no effect...
I'm having the same problem here, i get ipv6 and ipv6-pd but the valid_lft is 60 seconds.
`
I see the same thing: lease time is only 60 seconds long. It would be nice to be able to adjust it, but in practice it doesn't seem to be causing any problems. Client has to renew every 30 seconds, but oh well...

I'll also point out that when you assign dynamic prefixes from a pool, those get assigned with 3 day long lease time, which is also not possible to adjust at all (at least that I can find...). Again, would be nice to be able to adjust this as well, but overall it's not a big deal: when the PPP connection dies, the lease gets instantly released back to the pool anyway.
 
kerneldark
just joined
Posts: 3
Joined: Mon Aug 15, 2022 11:02 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Aug 20, 2022 11:19 pm

unfortunately the 60 second lease time causes problems, the ip keeps changing, you will browse it appears right on time network changed, and the android cell phone stops renewing the ip.
 
User avatar
SirDJNeo
just joined
Posts: 7
Joined: Tue Dec 08, 2015 12:25 pm
Location: South Africa

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Sep 22, 2022 2:25 pm

At this point, from testing we are able to pass the Mikrotik-Delegated-IPv6-Pool attribute to the DHCPv6 PD, and the IP is allocated just fine.
With MikroTik side showing MT-Delegated-IPv6-Pool = "IPv6_Pool" as intended.

However we are not able to get the "Delegated-IPv6-Prefix = xyz" that Radius Debug log op MikroTik side shows > to go back to Radius.

We are however able to get the radreply back to Radius when using pure DHCPv6 with Use-Radius=yes

So as of current 2022/09/22 we are not able to receive back the Delegated-IPv6-Prefix value back to Radius.
Nothing this is on latest ROS6 and ROS7 and ROS7 Beta builds


Any Mikrotik side update perhaps?
 
seankndy
just joined
Posts: 3
Joined: Thu Sep 29, 2022 5:09 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Sep 29, 2022 5:12 pm

I am on 6.49.6 and passing Delegated-IPv6-Prefix through RADIUS to PPPoE and it's working fine.
 
kerneldark
just joined
Posts: 3
Joined: Mon Aug 15, 2022 11:02 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Fri Oct 07, 2022 4:32 am

Hi,

Have you tested on several cpe? I have some here that the preferred_life_time only stays at 60 seconds when you put it to receive the radius prefix using the delegated_ipv6_prefix. I tried to adjust using /ipv6 nd prefix default set valid-lifetime=1800 preferred-lifetime=600 but it had no effect.
 
User avatar
SirDJNeo
just joined
Posts: 7
Joined: Tue Dec 08, 2015 12:25 pm
Location: South Africa

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Sat Oct 08, 2022 9:32 am

Hi

Please re-read my post, as I stated that I "am" able to pass the prefix to next hop "client", but that it is not being sent back to RADIUS with PPP session radreply.

Have observed that IPv4 is sent via PPP radreply but IPv6 is being sent by the DHCPv6 server in seperate radreply with different username (mac address instead of ppp username) and session id, instead of being in the PPP's radreply.
 
seankndy
just joined
Posts: 3
Joined: Thu Sep 29, 2022 5:09 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Oct 11, 2022 5:39 am

I am aware of the 60sec lease time issue and reached out to mikrotik support about it. They said they’re working on fix for that in 7.7beta3 (I believe that’s the version they said from memory). They said they will not fix it in 6.x.
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Nov 07, 2022 12:04 pm

I see the same thing: lease time is only 60 seconds long. It would be nice to be able to adjust it, but in practice it doesn't seem to be causing any problems. Client has to renew every 30 seconds, but oh well...
`
So, I see now after testing a bit more that there is a problem. It's actually not a problem with the 60 seconds, though. The problem is that, 10 seconds after lease renewal happens, the IP addresses assigned from the pool briefly go "invalid" and then back to "valid" again. At the same time, "IPv6 address changed" is logged, even if the addresses didn't change at all. During this brief blip (1-2 seconds), forwarding of v6 traffic for those IPs on those interfaces is briefly interrupted.

This is Bad(tm). But it doesn't just happen with the IPs that have 60 second lease time. It happens with any DHCPv6-assigned IPs, right after they are renewed. So even when you have 3 day lease times for PD prefixes, after 36 hours pass, there will be brief 1-2 second outage.

Stupid.

You can avoid the problem by not using IP pools and setting the addresses statically. But of course this is no real solution.

[...accidentally edited this post while trying to merely create a new reply; restoring the original content -- ED]
Last edited by NathanA on Thu Feb 23, 2023 2:41 pm, edited 2 times in total.
 
seankndy
just joined
Posts: 3
Joined: Thu Sep 29, 2022 5:09 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Tue Nov 22, 2022 2:49 pm

While I agree that is bad behavior, there is a case to be made against using dynamic pools for PD: https://www.ripe.net/publications/docs/ripe-690
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Nov 24, 2022 4:31 am

What is the current status of this long-requested feature in latest ROS 7?
I assign single static IPv4 addresses and static IPv6 prefixes (framed and delegated), like this in freeradius users file:
username        Cleartext-Password := "passw0rd"
                Service-Type = Framed-User,
                Framed-Protocol = PPP,
                Delegated-IPv6-Prefix = 2001:db8:abcd::/56,
                Framed-IPv6-Prefix = 2001:db8:abcd:100::/64,
                Framed-IP-Address = 192.0.2.100
where "abcd" is different for each customer, so each customer gets a /56 delegated prefix (for their LAN inside) and a separate /64 for the pppoe link itself, with room for expansion up to /48 per customer, in addition to their precious single IPv4 /32. I don't want to use any IP pools, just static prefixes.

This setup works with VyOS PPPoE server (based on accel-ppp), but I can't make it work for IPv6 with ROS 7.6 (or even 7.7beta6) on RB5009. Or should it work but I'm just doing something wrong? I see the dynamic DHCPv6 server created on the PPPoE server but without "use RADIUS", and only framed (not delegated) IPv6 prefix assigned to client.
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Feb 23, 2023 2:24 pm

While I agree that is bad behavior, there is a case to be made against using dynamic pools for PD: https://www.ripe.net/publications/docs/ripe-690
`
It's hard to know how to respond to this because it is entirely unclear what part of this very long thread you're responding to, or whether you read through the whole thing.

Most of us who are implementing Delegated-IPv6-Prefix RADIUS reply attribute are in fact doing so in order to delegate static prefixes to customers. Just doing so centrally from a RADIUS server, rather than within the config of a particular router. So not really sure what the point is of you linking to that article.
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Feb 23, 2023 2:29 pm

What is the current status of this long-requested feature in latest ROS 7?
`
It works. It even works in ROS v6. So if it's not working for you, then I'm not sure what to tell you...I'd perhaps take the time to perform some packet captures of the exchange between your RADIUS server and your PPPoE server in order to make sure the right reply attributes are being sent and in the right format, and perhaps also turn on debug or packet level logging on the PPPoE server to see what's up.

Note that, per previous replies, up until ROS 7.7 (released nearly 2 months after your post, but a beta version was available at the time), RouterOS would create dynamic DHCPv6 servers for users with Delegated-IPv6-Prefix with a lease time of only 1 minute. In 7.7, they increased this to 1 day.
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Thu Feb 23, 2023 2:41 pm

Back on 7 November 2022, I wrote:
`
So, I see now after testing a bit more that there is a problem. It's actually not a problem with the 60 seconds, though. The problem is that, 10 seconds after lease renewal happens, the IP addresses assigned from the pool briefly go "invalid" and then back to "valid" again. At the same time, "IPv6 address changed" is logged, even if the addresses didn't change at all. During this brief blip (1-2 seconds), forwarding of v6 traffic for those IPs on those interfaces is briefly interrupted.

This is Bad(tm). But it doesn't just happen with the IPs that have 60 second lease time. It happens with any DHCPv6-assigned IPs, right after they are renewed. So even when you have 3 day lease times for PD prefixes, after 36 hours pass, there will be brief 1-2 second outage.

Stupid.
`
...but it turns out that I'm the one who was (is?) stupid.

I was experiencing this phenomenon because on my test client router, I was using my script to hackishly implement RFC 9096. RouterOS would run my script at every DHCP lease change event, even for a lease renewal where the address did not change. And my script would blindly disable and re-enable the IPv6 address whenever it would run. Since with DHCP most clients typically attempt lease renewal after half of the lease time has gone by, and since the lease time was 1 minute, I was seeing IPv6 internet reachability blips on my LAN every 30 seconds.

But it was my script causing this, not RouterOS.

I have rearchitected my script to not do this, and problem solved. So the lease time being only 60 seconds long is still effectively a non-issue. That said, for those who care about it, it looks like in ROS 7.7 MikroTik changed this so that the lease time is now 1 day for these dynamic DHCPv6 servers created in response to the Delegated-IPv6-Prefix reply attribute.
 
rpingar
Long time Member
Long time Member
Posts: 592
Joined: Fri May 28, 2004 2:46 pm
Location: Italy

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Mon Nov 20, 2023 10:09 am

any update frm MT team to have Delegated-IPv6-Prefix in Radius account request about PPPoE???????

thanks

Who is online

Users browsing this forum: DanMos79, Google [Bot] and 67 guests