Forum Discussion
RoutingLoop_179
Cirrus
Feb 13, 2013Linking Universal persistence across different dataflows and virtual servers
Hi I've been trying to look at getting this working but sort of going round in circles at the logic.
Basically i essentially have three flows of traffic in this order.
1st Radius - containi...
RoutingLoop_179
Cirrus
Feb 15, 2013Hi - 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]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects