Community discussions

MikroTik App
 
hci
Long time Member
Long time Member
Topic Author
Posts: 674
Joined: Fri May 28, 2004 5:10 pm

Mikrotik PPPoE Server and Static IPv6

Wed Jan 27, 2016 3:54 am

Has anyone figured out how to assign a PPPoE client a static IPv6 /64 pool? I am doing it right now with DHCPv6 PD Pool on the PPPoE profile but I do not seem to be able to insure they get the same /64 each time and that is not very useful.
 
jrm
just joined
Posts: 9
Joined: Wed Mar 12, 2014 2:06 pm

Re: Mikrotik PPPoE Server and Static IPv6

Tue Mar 15, 2016 5:04 pm

Hello,

We are testing PPPoE and IPv6 addresses and we use a freeradius server in order to assign prefixes to the client routers. At present time we've achieved the authentication and delegation of prefixes, but the attached DHCPv6 client on the pppoe-out interface isn't working as in this RouterOS Manual example:

http://wiki.mikrotik.com/wiki/Manual:IPv6_PD_over_PPP

We are using the next RADIUS attributes with different results, the red ones are not working well while the green ones do their work:

test User-Password := "testing"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IPv6-Address = 2100:0:1::1,
Framed-IPv6-Prefix = 2100:0:0:4::/62,
Delegated-IPv6-Prefix = 2100:0:1:1::/62,
Mikrotik-Delegated-IPv6-Pool = 2100:0:1:2::/62,
Framed-Routing = Broadcast-Listen,
Framed-Filter-Id = "std.ppp",
Framed-MTU = 1492,
Framed-Compression = Van-Jacobsen-TCP-IP


The pppoe-out interface connects to the server and the next IPv6 routes are established between both Mikrotik routers (RB750 and CCR1016-12G):
  • 1.- RB750 has IPv6 default route: ::/0 pointing to pppoe-out interface and is reachable
    2.- CCR1016-12G has a route pointing the Framed-IPv6-Prefix address 2100:0:0:4::/62 to the pppoe-out interface
    3.- CCR1016-12G has a route pointing the Mikrotik-Delegated-IPv6-Prefix 2100:0:1:1::/62 to the Link Local Address of pppoe-out interface
But the DHCPv6 Client doesn't obtain an IPv6 address from Framed-IPv6-Address for the WAN interface, nor sets a DHCPv6 Server in the LAN interface with Mikrotink-Delegated-IPv6-Pool. If you achieve this part, we will very pleased to see your comments here.


About Delegated-IPv6-Prefix, it is in the features list requested for ROSv7 and I don't know yet why Framed-IPv6-Address is not working in our lab, but this last isn't relevant.

You can configure your Mikrotik NAS as a RADIUS Client following the RouterOS Manual:

http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client


Regards

JRM
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: Mikrotik PPPoE Server and Static IPv6

Tue Mar 15, 2016 6:01 pm

Delegated-IPv6-Prefix = 2100:0:1:1::/62,
Mikrotik-Delegated-IPv6-Pool = 2100:0:1:2::/62,
I don't know if this was simply an oversight while throwing together some samples for your post, but the /62 prefixes in your example aren't on /62 bit boundaries.

Valid /62 prefixes would be:
2100:0:1:0::/62
2100:0:1:4::/62
2100:0:1:8::/62
2100:0:1:c::/62
2100:0:1:10::/62
2100:0:1:14::/62
etc...

Who is online

Users browsing this forum: 4l4R1, Google [Bot], hazem, HeinoHomm, nbotov and 209 guests