xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
299 stars 107 forks source link

Framed-IPv6-Address attribute and ipv6-intf-id=random not working #116

Open imdadk opened 4 years ago

imdadk commented 4 years ago

1.) Framed-Ipv6-Address attribute not working on access-accept from radius reply. 2.) ipv6-intf-id=random not working, its always take same value and make same ipv6 with combination of Framed-Ipv6-Prefix.

Any guide if i made mistake at any where...

Thanks Imdad

imdadk commented 4 years ago

ipv6-intf-id=random is working.. Sorry my virtual machine makes clone interface id thats why..

But what about "how to assign the static IPv6 to the client". Can i use Framed-Ipv6-Address or something like that??

DmitriyEshenko commented 4 years ago

Hi, I'm not sure that you can assign for IPv6 client, with IPv6 you need assign prefixes. Use Framed-IPv6-Prefix/Delegated-IPv6-Prefix

themiron commented 4 years ago

Framed-Ipv6-Address can be added as short-cut for prefix + inttfid

hardillb commented 4 years ago

You can get the same effect by setting a prefix with the /128 bit mask. I'm setting static IPv6 addresses for clients with LDAP/Radius entries like this:

radiusReplyAttribute: Framed-IPv6-Prefix := "fd12:3456:789a:0:192:168:5:2/128"