Load Balance Cisco ISE servers

Trying to load Balance several Cisco ISE servers. For persistence, Cisco recommends using Calling-Station-ID and Framed-IP-address…Session-ID is recommended if load balancer is capable of it. I have documentation for the Cisco ACE, but using F5 LTM’s. Assuming this has to be done with an I-Rule as none of these are available as a default. Not sue where to begin. I tried attaching the Cisco PDF, but not able for whatever reason. If anyone has any examples of knowledge of how to do this, would be appreciated. I can send the Cisco document via e-mail if that helps. I just am not able to attach it to this forum???

Hey Richard. The Session-ID of what? A RADIUS ‘request’?

Yes, I believe it would be Radius Request. If fyou can provide me with an e-mail, I can send you the ACE configuration document, but reading thru that, I believe it would be a Radius Request.

Yes, I believe it would be Radius Request. If fyou can provide me with an e-mail, I can send you the ACE configuration document, but reading thru that, I believe it would be a Radius Request.

Assuming this has to be done with an I-Rule as none of these are available as a default. Not sue where to begin.

have you tried “Persist Attribute” setting in radius profile?

Hi

Use source persistence the problem is with the Natting in theory you should create a pass though to the backend but i’m not sure how to do that on F5. if you bypass the F5 does it work or not?

THis is a new trun-up. Testing this week and next.

Couple of bullet points that are taken from the Cisco ACE configuration PDF…

• Load Balancers get listed as NADs in ISE so their test authentications may be answered.

• ISE uses the Layer 3 address to identify the NAD, not the NAS-IP-Address in the

RADIUS packet. This is a primary reason to avoid Source NAT (SNAT) for traffic sent to

VIP.

So the way I’m understanding it is that NADs or network access devices which are the end station send the request to the LTM’s. Once the packet hits the LTM, then the LTM becomes the NAD from the perspective of the ISE servers.

I don’ think source persistence works because on the initial request the end device still doesn’t have an IP address. The ISE servers determine who and what the client is, and then based on that assign the vlan and IP space etc.

I had never used the “Persist Attribute” setting in radius profile before. I see where that setting is, but where do you apply it once you create it?

THis is a new trun-up. Testing this week and next.

Couple of bullet points that are taken from the Cisco ACE configuration PDF…

• Load Balancers get listed as NADs in ISE so their test authentications may be answered.

• ISE uses the Layer 3 address to identify the NAD, not the NAS-IP-Address in the

RADIUS packet. This is a primary reason to avoid Source NAT (SNAT) for traffic sent to

VIP.

So the way I’m understanding it is that NADs or network access devices which are the end station send the request to the LTM’s. Once the packet hits the LTM, then the LTM becomes the NAD from the perspective of the ISE servers.

I don’ think source persistence works because on the initial request the end device still doesn’t have an IP address. The ISE servers determine who and what the client is, and then based on that assign the vlan and IP space etc.

I had never used the “Persist Attribute” setting in radius profile before. I see where that setting is, but where do you apply it once you create it?

I believe a RADIUS profile is assigned to a Virtual Server.

Based on your notes about the initial L3 address (it must have one) changing, is the persistence required initially? I assume the VLAN and address assignment is all done over a single connection. After that, what comes next, does it have to go to the same server? It’ll be a new connection for sure as the source IP would have changed I assume. Don’t the ISE servers share state in some way? It seems poor that they don’t.

The operation doesn’t exclude the use of SNAT btw, but to use it you’d have to use static translations (not automap etc.)

@Richard, have you managed to get this working?

Unfortunately, I got pulled into some other stuff and this got passed onto another engineer. I’m trying to find out if he got it resolved. If so, I will post the answer.

Thanks, Rich

I’m also in the same boat.. Persist attribute in the Radius profile only seems to take one value, which i’m currently using Calling-Station-ID and i’m getting suboptimal results. Anyone made any headway on this?

Good afternoon. New F5 user here - but I also need to use F5’s to load balance my Cisco ISE servers.

Persist attribute in the Radius profile only seems to take one value, which i’m currently using Calling-Station-ID and i’m getting suboptimal results.you do not have to use persist attribute in radius profile. you are able to use persist irule command to persist whatever avp data or any combination you want.

I’ll probably have to dig around for an example on how to do this, then. The radius load balancing irule examples I’ve seen seemed a little complicated and perhaps more involved than I was expecting to get. Cisco provides plenty of examples on how to do this but it’s limited to ACE load balancers.

i do not think it is going to be too complicated. i understand you just retrieve avp you want to persist on using RADIUS::avp and use it in persist uie command.

RADIUS::avp wiki DevCentral - An F5 Technical Community

sol7392: Overview of universal persistence 404 Page not found | BIG-IP Documentation

I’ve read through that, but I think I need to persist on multiple values together (calling-station-id and framed-ip-address) and not just one. Any tips?

e.g.

[root@ve10:Active] config  b virtual bar list
virtual bar {
   snat automap
   pool foo
   destination 172.28.19.252:1812
   ip protocol 17
   rules myrule
   profiles udp_gtm_dns {}
}
[root@ve10:Active] config  b pool foo list
pool foo {
   members 200.200.200.101:1812 {}
}
[root@ve10:Active] config  b rule myrule list
rule myrule {
   when CLIENT_ACCEPTED {
  log local0. "\[RADIUS::avp CALLING-STATION-ID\] [RADIUS::avp CALLING-STATION-ID]"
  log local0. "\[RADIUS::avp FRAMED-IP-ADDRESS\] [RADIUS::avp FRAMED-IP-ADDRESS]"
  persist uie "[RADIUS::avp CALLING-STATION-ID]:[RADIUS::avp FRAMED-IP-ADDRESS]"
}
}

[root@ve10:Active] config  tail -f /var/log/ltm
Jun 18 18:57:44 local/tmm info tmm[4950]: Rule myrule : [RADIUS::avp CALLING-STATION-ID] 123456
Jun 18 18:57:44 local/tmm info tmm[4950]: Rule myrule : [RADIUS::avp FRAMED-IP-ADDRESS] 1.1.1.1

[root@ve10:Active] config  b persist show all
PERSISTENT CONNECTIONS
|     Mode universal   Value 123456:1.1.1.1
|        virtual 172.28.19.252:1812   node 200.200.200.101:1812   age 14sec

e.g.

[root@ve10:Active] config  b virtual bar list
virtual bar {
   snat automap
   pool foo
   destination 172.28.19.252:1812
   ip protocol 17
   rules myrule
   profiles udp_gtm_dns {}
}
[root@ve10:Active] config  b pool foo list
pool foo {
   members 200.200.200.101:1812 {}
}
[root@ve10:Active] config  b rule myrule list
rule myrule {
   when CLIENT_ACCEPTED {
  log local0. "\[RADIUS::avp CALLING-STATION-ID\] [RADIUS::avp CALLING-STATION-ID]"
  log local0. "\[RADIUS::avp FRAMED-IP-ADDRESS\] [RADIUS::avp FRAMED-IP-ADDRESS]"
  persist uie "[RADIUS::avp CALLING-STATION-ID]:[RADIUS::avp FRAMED-IP-ADDRESS]"
}
}

[root@ve10:Active] config  tail -f /var/log/ltm
Jun 18 18:57:44 local/tmm info tmm[4950]: Rule myrule : [RADIUS::avp CALLING-STATION-ID] 123456
Jun 18 18:57:44 local/tmm info tmm[4950]: Rule myrule : [RADIUS::avp FRAMED-IP-ADDRESS] 1.1.1.1

[root@ve10:Active] config  b persist show all
PERSISTENT CONNECTIONS
|     Mode universal   Value 123456:1.1.1.1
|        virtual 172.28.19.252:1812   node 200.200.200.101:1812   age 14sec

Did you get this working? I need the same persistence.