IPv6 coa isn't working having IPv6 NAS IP

Samir Patel samir198 at gmail.com
Mon Jul 20 18:53:45 CEST 2015


Hi Alan,

Thanks for looking into this.

I tried to push the coa the way you suggested but seems like I am still
missing something in the syntax to specify the IPv6 address.
radclient is failing to find the IPv6 address same as in my previous
attempts.

Please see below:

[root at ott-freerad-7a raddb]# ping6 2020::10
PING 2020::10(2020::10) 56 data bytes
64 bytes from 2020::10: icmp_seq=0 ttl=64 time=2.97 ms
64 bytes from 2020::10: icmp_seq=1 ttl=64 time=1.37 ms

--- 2020::10 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 1.378/2.175/2.973/0.798 ms, pipe 2
[root at ott-freerad-7a raddb]#
[root at ott-freerad-7a raddb]#
[root at ott-freerad-7a raddb]# /usr/local/bin/radclient -x -t 20 -c 1 -p 20
-f /usr/local/etc/raddb/coa *2020::10* coa cisco
radclient: Failed to find IP address for host* 2020::10:* Success
[root at ott-freerad-7a raddb]#
[root at ott-freerad-7a raddb]# /usr/local/bin/radclient -x -t 20 -c 1 -p 20
-f /usr/local/etc/raddb/coa *[2020::10]:1700* coa cisco
radclient: Failed to find IP address for host *2020::10:* Success
[root at ott-freerad-7a raddb]#

[root at ott-freerad-7a raddb]# radiusd -X
radiusd: FreeRADIUS Version 2.2.8, for host x86_64-unknown-linux-gnu, built
on Jul 15 2015 at 13:42:04
Copyright (C) 1999-2015 The FreeRADIUS server project and contributors.


Thanks,
Samir.


On Sat, Jul 18, 2015 at 2:41 PM, Alan DeKok <aland at deployingradius.com>
wrote:

> On Jul 17, 2015, at 9:47 PM, Samir Patel <samir198 at gmail.com> wrote:
> > [root at ott-freerad-7a raddb]# /usr/local/bin/radclient -x -t 20 -c 1 -p
> 20
> > -f /usr/local/etc/raddb/coa 2020::11:1700 coa cisco
> > radclient: Failed to find IP address for host 2020::11:1700: Success
>
>   2020::11:1700 isn't a valid IPv6 address.
>
>   You have to use the standard IPv6 address format.  Just 2020::11, or
> with a port, [2020::11]:1700
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list