IPv6 Accounting

Shannon Ward wshannon at ptsi.net
Fri May 27 18:02:43 CEST 2011


On 05/27/2011 09:44 AM, Phil Mayers wrote:
> On 27/05/11 14:37, Shannon Ward wrote:
>> Can someone point me to docs or help me get my head around what changes
>> need to be done for IPv6 Accounting?
>> Looks like I may need to add some fields to radacct and update the
>> INSERT and UPDATE statements with IPv6 variables.
>
> Assuming your NAS supports it, you want to store Framed-IPv6-Address - 
> so something like:
>
> -- postgres
> alter table radacct add framedipv6address inet;
> -- other
> alter table radacct add framedipv6address varchar(40);
>
> ...and then change the queries e.g. in sql.conf:
>
>
>   accounting_update_query = " \
>     UPDATE ${acct_table1} \
>     SET \
>        framedipaddress = '%{Framed-IP-Address}', \
>        framedipv6address = '%{Framed-IPv6-Address}', \
>
>
>> Is it necessary to run freeradius dual stack for IPv6 AAA?
>
> No - IPv6 attributes can appear in IPv4 radius packet.
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
>

Thanks this helped me






More information about the Freeradius-Users mailing list