ridhaayeb
Mar 30, 2023Nimbostratus
Radius:avp 97 ipv6
Hi all,
I'm trying to get IPv6 address of customer using Radius AVP 97 using iRule, it works fine with IPv4 but IPv6 always return empty field, even for known IPv6 cutomer, here is the start of the script
when CLIENT_ACCEPTED {
# 4 for Accounting-Request.
if { [RADIUS::code ] == 4 } {
#obtain framedIp and bail if it is unset
set framedIp [RADIUS::avp 8 ip4]
if { $framedIp eq "" } { return }
#obtain framedIpv6 and bail if it is unset
set framedIpv6 [RADIUS::avp 97 ip6prefix]
if { $framedIpv6 ne "" } { log local0. "$framedIpv6: found IPv6 address" }
can someone help me