IPv6 Pool
Alan DeKok
aland at deployingradius.com
Wed Jun 19 03:08:42 CEST 2013
William DELORAINE wrote:
> I updated my ippool table to increase the length of the varchar.
>
> Then I set the Pool-Name attribute to an IPv6 pool.
...
> [sqlippool] Invalid IP number [2a0a:8e80:0400:0202::/64] returned from
> database query.
OK. The module checks if the returned data is an IPv4 address. That
can be fixed.
But also: [2a0a:8e80:0400:0202::/64] isn't a valid IPv6 address.
That's a prefix.
If you're familiar with C, you can try editing the rlm_sqlippool
source. All it needs is:
- a check to allow the returned IP to be AF_INET6
- creation of a Framed-IPv6-Address attribute, instead of a
Framed-IPv4-Address.
Alan DeKok.
More information about the Freeradius-Users
mailing list