Community discussions

MikroTik App
 
fredyz
just joined
Posts: 7
Joined: Wed Jun 13, 2018 7:07 pm

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

Wed Jun 13, 2018 7:19 pm

I've read the full thread and this show the total lack of touch from the guys from Latvia. They are completely stubborn and it seems as much as people show the need for that feature they seem to play a kids' game and say "I am not doing it".

We are in middle-2018 and IPv4 has ran out for a long time ago and there is not even a clue about this issue. They don`t give a damn. They are concerned about other totally different things.

It shows also a complete lack of management skills from the people in charge for bringing the necessary features in time and from those who have to develop it. Show general mess from top to bottom. Worst is: people in charge must believe they are doing a fantastic job by prioritizing "who knows what".

This is yet another example of this total mess and huge ego from these guys.

This post probably will be censored as soon as they read it and they will probably find it "unfair".

Stop fooling yourselves asking repetitively for them to do this as a beggar does. They are probably laughing of it.
 
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

Thu Aug 16, 2018 8:39 pm

Hi, I see some hint that MikroTik has quietly added partial support for Delegated-IPv6-Prefix, look here

https://wiki.mikrotik.com/wiki/Manual:I ... US_Support

They don't mention it but look at radreply. Maybe it isn't fully there yet but it looks like they are working on it.
 
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

Thu Aug 16, 2018 8:43 pm

Oh .. interesting. Time to play with rc releases.

/M
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 183
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

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

Sun Aug 19, 2018 5:43 pm

Apparently now is supported this attribute after some years... according to the wiki.
Which says it was added the Delegated-IPv6-Prefix to radius client on 6.43rc.

https://wiki.mikrotik.com/wiki/Manual:R ... ess-Accept

Edit:

This appears on the changelog of 6.43rc51.
*) dhcpv6-server - added additional RADIUS parameters for Prefix delegation, "rate-limit" and "life-time";
Last edited by null31 on Sun Aug 19, 2018 6:08 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

Sun Aug 19, 2018 5:47 pm

Good news!!! It remains to wait for 6.43 and test, test and test.
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Fri Sep 14, 2018 2:20 pm

Has anyone managed to work with radius delivering the prefix-delegation to the client router, using the Delegated-IPv6-Prefix attribute? It still does not work here.
 
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

Sat Sep 15, 2018 1:13 pm

Has anyone managed to work with radius delivering the prefix-delegation to the client router, using the Delegated-IPv6-Prefix attribute? It still does not work here.
Which client router are you testing with ?

/M
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Mon Sep 17, 2018 3:51 pm

I used a
DLink DIR-615 Hardware version .: T1 Firmware .: 20.11
and a ONU Fiberhome AN5506-04-F Hardware Version .: WKE2.134.285F2G Software Version .: RP2599 (00.00)
 
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 Sep 18, 2018 4:31 am

RADIUS should not "deliver the delegation to the client router", instead it should somehow configure the DHCPv6 server on the router to hand out a specified prefix to the client instead of just any available prefix. Do you see any visible indication that it has done this when the client router connects? Are you testing this with PPPoE or just plain IPv6/DHCP?

They now officially list support: https://wiki.mikrotik.com/wiki/Manual:R ... ess-Accept

"Delegated-IPv6-Prefix - IPv6 Prefix. Added in v6.43"
 
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 Sep 18, 2018 1:49 pm

CCR1016-12G 6.43.1 - "Delegated-IPv6-Prefix" attribute for PPPoE not work.
Billing gives radius attributes, but the router does not create a dynamic DHCP IPV6 server
You do not have the required permissions to view the files attached to this post.
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Tue Sep 18, 2018 2:00 pm

RADIUS should not "deliver the delegation to the client router", instead it should somehow configure the DHCPv6 server on the router to hand out a specified prefix to the client instead of just any available prefix. Do you see any visible indication that it has done this when the client router connects? Are you testing this with PPPoE or just plain IPv6/DHCP?

They now officially list support: https://wiki.mikrotik.com/wiki/Manual:R ... ess-Accept

"Delegated-IPv6-Prefix - IPv6 Prefix. Added in v6.43"
We are testing through pppoe.
Using the framed ipv6 addres attribute for the ppp connection and the delegated-ipv6-prefix attribute to create the Dynamic DHCP server in Mikortik and assign the prefix delegation to the client router.
In the Mikrotik radius settings, we set ppp and dhcp.

In case it establishes the ppp connection, it creates the dynamic server in the mikrotik dhchpv6 server, but does not dynamically binding, and the client router does not receive the PD prefix.

I noticed that in this version, even if you let Mikrotik deliver the pool, setting the DHCP POOL-PD profile or using the Prefix-Delagation-Pool attribute and pointing to the pool created in Mikrotik, it does not work, while in version 6.42 .7 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 Sep 18, 2018 6:03 pm

CCR1016-12G 6.43.1 - "Delegated-IPv6-Prefix" attribute for PPPoE not work.
Billing gives radius attributes, but the router does not create a dynamic DHCP IPV6 server
Verify that under IPv6->Addresses the PPPoE client is getting an IPv6 link local address assigned. If not, it is because IPv6CP negotiation is not happening, this happens if IPv6 was set to "no" in the profile on the client side, and in this case a DHCPv6 server will not be created.

Since it is a new option, I'm also not sure if in the concentrator's PPP profile you perhaps need to choose the DHCPv6 PD pool option along with a "default" pool that it should assign from if the customer has no Delegated-IPv6-Prefix?
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Tue Sep 18, 2018 6:45 pm

CCR1016-12G 6.43.1 - "Delegated-IPv6-Prefix" attribute for PPPoE not work.
Billing gives radius attributes, but the router does not create a dynamic DHCP IPV6 server
Verify that under IPv6->Addresses the PPPoE client is getting an IPv6 link local address assigned. If not, it is because IPv6CP negotiation is not happening, this happens if IPv6 was set to "no" in the profile on the client side, and in this case a DHCPv6 server will not be created.

Since it is a new option, I'm also not sure if in the concentrator's PPP profile you perhaps need to choose the DHCPv6 PD pool option along with a "default" pool that it should assign from if the customer has no Delegated-IPv6-Prefix?
In my case, in version 6.42.7 with the same configuration on cliente router , when i set only ipv6-framed to be delivery by radius and use Mikrotik-Delagated-IPv6-Pool to use a pool created on Mikrotik, works fine.

I hoped with this option, I could deliver both the prefix for the ppp connection and the prefix-delagation through the radius.
But this does not happen, and the attribute that worked in version 6.42.7, stopped working in version 6.43. That is the question.

In case the IPV6 CP negotiation occurs normally, because it receives the block / 64 set in the radius, create the dynamic dhcp server in the Mikrotik, but the client router (the same used in test with 6.42.7 version) does not receive the pool.

In addition to not solving this management question all allocation of ip by radius, it stopped working what already worked in the previous version.
 
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 Sep 18, 2018 6:54 pm

I hoped with this option, I could deliver both the prefix for the ppp connection and the prefix-delagation through the radius.
But this does not happen, and the attribute that worked in version 6.42.7, stopped working in version 6.43. That is the question.
I wonder if the reason it stopped working is because they added the new attribute: Delegated-IPv6-Prefix-Pool

The old attribute Mikrotik-Delegated-IPv6-Pool may no longer be needed (since it is the same thing as Delegated-IPv6-Prefix-Pool) and they have removed it? Or maybe they didn't mean to remove it, but adding the new attribute Delegated-IPv6-Prefix-Pool that does the same thing somehow unintentionally broke the old one.

Try using Delegated-IPv6-Prefix-Pool instead of Mikrotik-Delegated-IPv6-Pool
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Tue Sep 18, 2018 7:20 pm

I hoped with this option, I could deliver both the prefix for the ppp connection and the prefix-delagation through the radius.
But this does not happen, and the attribute that worked in version 6.42.7, stopped working in version 6.43. That is the question.
I wonder if the reason it stopped working is because they added the new attribute: Delegated-IPv6-Prefix-Pool

The old attribute Mikrotik-Delegated-IPv6-Pool may no longer be needed (since it is the same thing as Delegated-IPv6-Prefix-Pool) and they have removed it? Or maybe they didn't mean to remove it, but adding the new attribute Delegated-IPv6-Prefix-Pool that does the same thing somehow unintentionally broke the old one.

Try using Delegated-IPv6-Prefix-Pool instead of Mikrotik-Delegated-IPv6-Pool
I try Delegated-IPv6-Prefix-Pool and have the same situation.
Dynamic DHCP server is created, but binding is not done and the router does not receive the PD.
 
whaiser
just joined
Posts: 1
Joined: Tue Sep 18, 2018 7:57 pm

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

Tue Sep 18, 2018 8:14 pm

+1
Same issue here!
 
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 Sep 18, 2018 8:29 pm

Verify that under IPv6->Addresses the PPPoE client is getting an IPv6 link local address assigned. If not, it is because IPv6CP negotiation is not happening, this happens if IPv6 was set to "no" in the profile on the client side, and in this case a DHCPv6 server will not be created.

Since it is a new option, I'm also not sure if in the concentrator's PPP profile you perhaps need to choose the DHCPv6 PD pool option along with a "default" pool that it should assign from if the customer has no Delegated-IPv6-Prefix?
On client side PPPoE client is getting an IPv6 link local address assigned - fe80::f/64 and nothing Global IPV6
Why would I assign a DHCPv6 PD pool manually in PPP-profile? I think it should be assigned automatically.

Ok, I set manually in the DHCPv6 PD pool name in profile. After reconnecting the PPP client, the DHCP server was dynamically created, but the ipv6 is not assigned to the client. Is there any instruction from a Mikrotik-developers how to do it correctly?
 
gondim
just joined
Posts: 7
Joined: Fri Feb 08, 2008 6:56 pm

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

Tue Sep 18, 2018 8:41 pm

Same problem here. Even though upgrading to version 6.43.1, the problem still continues.
On the same routerboard if I return to version 6.40.9, the DHCPv6 PD Pool returns to normal operation. Without changing any configuration on the routeros.
A problem exists, you can be sure of that.
 
fredyz
just joined
Posts: 7
Joined: Wed Jun 13, 2018 7:07 pm

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

Wed Sep 19, 2018 8:53 am

Same problem here as reported by thg3x

In version 6.43 in both DHCP Server or PPPoE the Dynamic DHCP server is created, but binding is not done and the CPE does not receive the PD.
Downgrading to version 6.42.7 makes it work again.

If radius parameters wasn't working as expected it would not even create the dynamic DHCP Server upon connection. Also this has been tested with all parameters local with and without PPPoE and none worked.
 
minelli
newbie
Posts: 44
Joined: Tue Feb 26, 2008 2:36 am

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

Thu Sep 20, 2018 2:21 am

Same problem here.
 
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

Thu Sep 20, 2018 4:43 am

Confirmed, I did a bit of debugging and I see what is happening - the client requests a prefix from the DHCPv6 server, the server says "binding not found" and gives a zero second lease of prefix ::/0 to the client, so the MikroTik client successfully gets a "lease" of ::/0, which expires after one second, and so the client follows up one second later to renew the lease, and every second thereafter continuously.

If I manually create the DHCPv6 binding and associate the prefix, client DUID and IAID, it gets the prefix.

Certainly a major bug - I wonder how this got through testing?
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Thu Sep 20, 2018 3:46 pm

Another thing I realized was that in version 6.42.7, mikrotik creates the dynamic dhcp-server without the use-radius option, while version 6.43, it creates the dynamic dhcp-server with the use-radius=no option.
 
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

Thu Sep 20, 2018 8:43 pm

Another thing I realized was that in version 6.42.7, mikrotik creates the dynamic dhcp-server without the use-radius option, while version 6.43, it creates the dynamic dhcp-server with the use-radius=no option.
That's because the use-radius option was only added in 6.43, it did not exist in 6.42.7. This difference is not a mistake, it is only different because the setting did not exist before.
 
radekmacek
just joined
Posts: 6
Joined: Fri Oct 02, 2015 8:55 am

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

Fri Sep 21, 2018 3:50 pm

Hi, we have PPPoE customers and we want to assign IPv6 prefix /56 using Delegated-IPv6-Prefix as well. After some debugging there seems to be same issue in current version 6.43.2.

Radius server sends Delegated-IPv6-Prefix /56 to our router, but no DHCPv6 server is created for the OE tunnel.

If we create IPv6 pool: "OE_pool_v6" /40, prefix /56 , then put it to profile DHCPv6 PD pool. After that, upon connection, DHCPv6 server is created but prefix that it delegates does not match Delegated-IPv6-Prefix /56 sent by Raidus server. It takes first /56 from OE_pool_v6.
Tried the same with Delegated-IPv6-Prefix-pool set. But the result was the same.

I guess mikrotik just ignores received Delegated-IPv6-Prefix and takes the local one. Same behavior for version 6.42.7, 6.43., 6.43.1 and between tile and powerpc. Hope it will be fixed soon. Don't want to create /56 for each customer...
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1616
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

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

Fri Sep 28, 2018 2:27 pm

6.43 version introduces this feature for DHCP service. You are trying to use it with PPP service. Currently such feature is not supported.
 
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 Sep 28, 2018 3:50 pm

You are trying to use it with PPP service. Currently such feature is not supported.
In which version will be support the "Delegated-IPv6-Prefix" attribute for PPPoE ? Very much needed.
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Fri Sep 28, 2018 10:22 pm

6.43 version introduces this feature for DHCP service. You are trying to use it with PPP service. Currently such feature is not supported.
I dont understand why the Mikrotik-IPv6-Delagated-Pool stop to working in this version while workinkg in previous version, if Mikrotik only introduces the new features for dhcp.
Sounds weird to me!
 
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

Fri Sep 28, 2018 11:21 pm

6.43 version introduces this feature for DHCP service. You are trying to use it with PPP service. Currently such feature is not supported.
I dont understand why the Mikrotik-IPv6-Delagated-Pool stop to working in this version while workinkg in previous version, if Mikrotik only introduces the new features for dhcp.
Sounds weird to me!
It is not only Mikrotik-Delegated-IPv6-Pool that doesn't work. DHCPv6 prefix delegation over PPP tunnels is completely broken and doesn't work even if you don't use any IPv6 RADIUS attributes. The simple standard configuration of setting the "DHCPV6 PD Pool" in the PPP profile does not work, the client cannot get a DHCPv6 prefix. I do not understand why this is not fixed yet. It is not even possible currently to use this new version for the MikroTik IPv6 engineer training because the config for the training would not work.
 
gondim
just joined
Posts: 7
Joined: Fri Feb 08, 2008 6:56 pm

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

Mon Oct 01, 2018 4:02 pm

Hi all,

What stopped working was the DHCPv6 PD Pool that is in the attached image.
You do not have the required permissions to view the files attached to this post.
 
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 Oct 01, 2018 6:35 pm

Good afternoon everyone,

In fact, in my tests, the DHCPv6 PD pool no longer works. Either by mikrotik in the ppp profile or via radius the way I used it here.
I have done all the tests in this version, this option is not functional, the DUAL-STACK clients do not receive the prefix via DHCPv6 via DP pool.Pv6 via DP pool
 
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 Oct 02, 2018 3:15 am

Good afternoon everyone,

In fact, in my tests, the DHCPv6 PD pool no longer works. Either by mikrotik in the ppp profile or via radius the way I used it here.
I have done all the tests in this version, this option is not functional, the DUAL-STACK clients do not receive the prefix via DHCPv6 via DP pool.Pv6 via DP pool
Yes, the same thing is happening to all of us. It has been broken for three weeks now, since 6.43 was released. It essentially breaks IPv6 services for clients.
 
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 Oct 02, 2018 5:20 pm

Looks like it is fixed in the 6.44 beta:

viewtopic.php?f=21&t=139057&start=50#p689985
*) dhcpv6-server - recreate DHCPv6 server binding if it is no longer within prefix pool when rebinding/renewing;
 
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 Oct 02, 2018 8:36 pm

I'm going to test today.
 
thg3x
just joined
Posts: 11
Joined: Sat Apr 15, 2017 1:40 pm

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

Wed Oct 03, 2018 9:23 pm

Looks like it is fixed in the 6.44 beta:

viewtopic.php?f=21&t=139057&start=50#p689985
*) dhcpv6-server - recreate DHCPv6 server binding if it is no longer within prefix pool when rebinding/renewing;
I did a test yesterday, it worked again as it worked in version 6.42.7, but I still can not get radius to assign the pools, it is still necessary to create the pools in mikrotik. In my understanding nothing new, since the interests us is the full integration with the radius, not to create several pools in Mikrotik and only point these pools in radius.
 
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

Thu Oct 04, 2018 1:45 pm

Truth. What else is to do the log report prefix in delegation, for security reasons to identify the user for future action. You do not have to run v6 without this dhcpv6 log.
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

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

Mon Oct 08, 2018 7:41 pm

Looks like it is fixed in the 6.44 beta:

viewtopic.php?f=21&t=139057&start=50#p689985
*) dhcpv6-server - recreate DHCPv6 server binding if it is no longer within prefix pool when rebinding/renewing;
Does this mean 6.44 will finally support running a dual-stack PPPoE server with RADIUS auth? Or are these fixes still only for DHCP?
 
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 Oct 08, 2018 8:46 pm

Does this mean 6.44 will finally support running a dual-stack PPPoE server with RADIUS auth? Or are these fixes still only for DHCP?
That fix is for everything, but 6.44 only currently supports the attribute over DHCPv6, not PPP tunnels

I would hope that they are adding support for the attribute to PPP tunnels as well, but haven't heard anything on this yet.
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1616
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

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

Wed Oct 10, 2018 1:59 pm

While implementing new features in DHCP RADIUS services we did make some changes in a way how DhCPv6 server works and as a result starting from v6.43 some of the DHCPv6 clients could not get prefix. For example, RouterOS DHCPv6 client did work just fine with our server.

Next 6.43 release and 6.44beta21 will contain fix for this problem. So PPPoE with DHCPv6 PD should work exactly the same as it did before v6.43.
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

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

Wed Oct 10, 2018 2:16 pm

Next 6.43 release and 6.44beta21 will contain fix for this problem. So PPPoE with DHCPv6 PD should work exactly the same as it did before v6.43.
So PPPoE *client* will work as it did, but how about PPPoE *server* with DHCPv6 PD and Delegated-IPv6-Prefix attribute (which didn't work without workarounds like manually creating many pools)?
 
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 Oct 10, 2018 2:20 pm

So PPPoE with DHCPv6 PD should work exactly the same as it did before v6.43.
manually create pools again? We need to create pools automatically with Radius for PPPoE.
 
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 Oct 10, 2018 2:55 pm

So PPPoE with DHCPv6 PD should work exactly the same as it did before v6.43.
manually create pools again? We need to create pools automatically with Radius for PPPoE.
+1

Without that ipv6 for pppoe clients is nightmare .
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

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

Wed Oct 10, 2018 3:35 pm

Changes regarding pools are not reverted. Fix changes how "solicit" packet is processed received from DHCPv6 clients that didn't have "Rapid Commit" enabled.
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

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

Wed Oct 10, 2018 7:28 pm

Changes regarding pools are not reverted. Fix changes how "solicit" packet is processed received from DHCPv6 clients that didn't have "Rapid Commit" enabled.
Could you give a clear answer about Delegated-IPv6-Prefix support in PPPoE server? Will it work in 6.44 / 6.45 / 7.x ?
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1616
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

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

Thu Oct 11, 2018 11:55 am

I will try to clear things up since sees that there has been a huge misunderstanding about RouterOS v6.43 changelog.

RouterOS before v6.43 did not support "Delegated-IPv6-Prefix" in any situations.

Then we added this feature in RouterOS:

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

As topic of changelog entry states - change is made for DHCP service. We have not made any changes for PPP service.

v6.43, v6.43.1 and v6.43.2 did break communication between RouterOS DHCPv6 server and some DHCPv6 clients and in most cases it was noticeable on PPPoE configurations. Now it is fixed and version with fix will be released soon.

In short, if under "/radius" menu you have selected service "DHCP", then "Delegated-IPv6-Prefix" is supported. If under "/radius" menu you have selected "PPP" service, then "Delegated-IPv6-Prefix" is not supported at the moment.
FF0000
One step at the time - we added "Delegated-IPv6-Prefix" suport for DHCP in v6.43, we will see what we can do about PPP service in future RouterOS releases.
 
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

Thu Oct 11, 2018 3:20 pm

Thanks for clarification and hope for implement same feature for ppp in near time
 
littlecake
just joined
Posts: 20
Joined: Sun Jun 04, 2006 8:56 pm

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

Thu Oct 11, 2018 4:45 pm

I hope also that they will do it, we are doing this think wery dirty way with scripts on AP and client side now.
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1616
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

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

Thu Oct 11, 2018 5:52 pm

While feature is not implemented, you may use such workaround:

1) Add new pool with prefix that you want to assign to your PPPoE client;
2) Add new PPP profile and select this pool;
3) Send from RADIUS "Mikrotik-Group" parameter which is equal with this profile name.

This option is present in RouterOS starting from v6.42:
*) ppp - allow to override remote user PPP profile via "Mikrotik-Group"
 
marekm
Member
Member
Posts: 379
Joined: Tue Feb 01, 2011 11:27 pm

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

Thu Oct 11, 2018 7:51 pm

1) Add new pool with prefix that you want to assign to your PPPoE client;
2) Add new PPP profile and select this pool;
3) Send from RADIUS "Mikrotik-Group" parameter which is equal with this profile name.
The workaround may be fine when testing IPv6 on just a few customers, but doesn't scale well to hundreds/thousands of them.
The confusion is probably a result of IPv6 PPPoE also using DHCPv6 over link-local addresses configured by IPv6CP (unlike IPv4 PPPoE which configures global IPv4 addresses using IPCP, without DHCP). So when you say you fixed DHCPv6 with RADIUS attributes, it wasn't clear that PPPoE is a special case which is not yet supported.
 
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

Sat Oct 20, 2018 2:37 am

I did a test yesterday, it worked again as it worked in version 6.42.7, but I still can not get radius to assign the pools, it is still necessary to create the pools in mikrotik. In my understanding nothing new, since the interests us is the full integration with the radius, not to create several pools in Mikrotik and only point these pools in radius.
This fix from 6.44beta is now supposedly in 6.43.4 but I am still having the same problem, whereas 6.42.7 worked fine. I'm wondering if they somehow accidentally left the fix out of 6.43.4 even though it is in the changelog. Can you test the behavior on your side with 6.43.4?
 
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 Oct 29, 2018 7:05 pm

6.44beta28

DHCPv6 running by lightning. Still looking forward to the PD log by Radius.
 
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: ItchyAnkle, menyarito and 98 guests