Forum Discussion
RoutingLoop_179
Feb 15, 2013Cirrus
Hi - just thought I extend an update - I have found a workaround for it ignoring the persistence on client retries. Rather than setting the radius persistence in the radius irule, I now set in the radius profile which is applied to the virtual server and set the persist attribute in there to be "31". I now do the persist lookup in the LB_SELECTED {} event.
radius flow irule is now:
when CLIENT_ACCEPTED {
USER MAC - radius attribute 31 Calling-Station-Id
client-IP - radius attribute 8 Framed-IP
set mac [RADIUS::avp 31]
set FrIP [RADIUS::avp 8]
log local0. "Client: [IP::client_addr] Framed-Ip-Address \[RADIUS::avp 8\]: $FrIP MAC \[RADIUS::avp 31\]: $mac"
}
when LB_SELECTED {
if { $FrIP ne "" } {
set node [persist lookup uie "$mac any virtual" node]
log local0. "node: $node"
table add $FrIP $node
log local0. "created tabledata for framed-ip-address:$FrIP associated with: $node"
}
log local0. "\[persist lookup uie \[RADIUS::avp 31\] any virtual node\]: $node"
log local0. "ClientIP: [IP::client_addr] LB to: [LB::server addr]"
}