unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Radius related questions
Post Reply
hashbang
Posts: 134
Joined: 12 Jul 2015, 10:28

unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by hashbang »

Hi,
My AAA doesnt show delegated-ipv6-prefix. I'm trying to send Mikrotik-Delegated-IPv6-Pool. This is my conf
vendor=Mikrotik
attr-prefix=Mikrotik-Delegated-IPv6-Pool
where as in logs it show
Delegated-IPv6-Prefix 2001:d540:0:4001::/64
kindly assist
thanks
ht
dimka88
Posts: 858
Joined: 13 Oct 2014, 05:51
Contact:

Re: unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by dimka88 »

Hi hashbang,

Could you provide part of accel-ppp logs? Where do you achieve to get Delegated-IPv6-Prefix?
hashbang
Posts: 134
Joined: 12 Jul 2015, 10:28

Re: unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by hashbang »

hi,
TY,
Full logs :
[2023-10-13 17:58:10]: info: pppoe0: send [RADIUS(1) Accounting-Request id=2 <User-Name "xyz"> <NAS-Identifier "HBbras-MC03"> <NAS-IP-Address 1.2.3.4> <NAS-Port 0> <NAS-Port-Id "pppoe0"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "5c:02:14:61:a8:bd"> <Called-Station-Id "enp3s0f1.136"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "07b50e15fe4f0df0"> <Acct-Session-Time 5> <Acct-Input-Octets 2006> <Acct-Output-Octets 1226> <Acct-Input-Packets 19> <Acct-Output-Packets 15> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 4.5.6.7> <Framed-Interface-Id c084:76e4:18ca:fede> <Framed-IPv6-Prefix 2001:abcd:0:2004::/64> <Delegated-IPv6-Prefix 2001:abcd:0:4004::/64>]
[2023-10-13 17:58:10]: info: pppoe0: send [DHCPv6 Advertise XID=95410e <Server-ID 3:001b0000000000000001> <Client-ID 3:00015c021461a8bc> <DNS 2001:abcd::2,2001:4860:4860::8888> <IA-NA 1 T1=302400 T2=483840 {IA-Addr 2001:abcd:0:2004:c084:76e4:18ca:fede pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1 T1=302400 T2=483840 {IA-Prefix 2001:abcd:0:4004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
[2023-10-13 17:58:10]: info: pppoe0: recv [RADIUS(1) Accounting-Response id=2]
thanks
dimka88
Posts: 858
Joined: 13 Oct 2014, 05:51
Contact:

Re: unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by dimka88 »

Ah, if you want to get ipv6 preffix in the first radius accounting packet, it is not implemented, because in this time accel-ppp has no IPv6 delegated clients. When the first client gets prefix via PD (prefix delegation), accel-ppp will send accounting packet with PD included
hashbang
Posts: 134
Joined: 12 Jul 2015, 10:28

Re: unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by hashbang »

ty,
If I'm understanding it right it means, it doesnt send it in access/accept pkt. Only in accounting packets ? Unlike Mikrotik which sends it in access/accept packet.
TY
dimka88
Posts: 858
Joined: 13 Oct 2014, 05:51
Contact:

Re: unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by dimka88 »

Yes, it looks like this
hashbang
Posts: 134
Joined: 12 Jul 2015, 10:28

Re: unable to send Mikrotik-Delegated-IPv6-Pool to AAA

Post by hashbang »

hi,
I asked the AAA dev. He said taking values from account start. Why im unable to use MIkrotik vsa here ?
thanks
Post Reply