Forum Discussion
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???
57 Replies
- nitass
Employee
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- Nick_Ehlers_132
Nimbostratus
Working iRule: when CLIENT_ACCEPTED { set framed_ip [RADIUS::avp 8 ip4] set calling_station_id [RADIUS::avp 31 "string"] log local0. "request from $calling_station_id:$framed_ip" persist uie "$calling_station_id:$framed_ip" } - rangara10_75278
Nimbostratus
Hi - what version of LTM was this irule working? Will this work on 11.2.1?
- Will_131036
Nimbostratus
Did you get this working? I need the same persistence.
- vaneet_133274
Nimbostratus
How to avoid SNAT as well on top of it?
- nitass
Employee
How to avoid SNAT as well on top of it?
if return packet passes through bigip (e.g. server's default gateway is bigip), you do not need to configure snat automap under virtual server configuration.
is this what you are asking?
- Amartya_Ghosh_1
Nimbostratus
I have tried this script and it worked as per our expectation. Thanks for sharing the script.
- Prakash_73226
Nimbostratus
Hello Amarya - What script you are referring here ? CAn you please share as I am configuring ISE with LB in our company.
- Amartya_Ghosh_1
Nimbostratus
Any Idea how we can change the persistence timeout in this case.
- What_Lies_Bene1
Cirrostratus
You should be able to just change the timeout wherever you've used the 'persist uie' command in your rule. See here for more information: https://devcentral.f5.com/wiki/iRules.persist.ashx
- SL
Cirrus
Hi All
can anyone shared how they have configured there VIPs to load balance the CISCO ISE servers.
- Amartya_Ghosh_1
Nimbostratus
You can refer below config:
Virtual-Server:ltm virtual vs_CISCO_ISE_xxxx { destination X.X.X.X:radius ip-protocol udp mask 255.255.255.255 pool Pool_CISCO_ISE_xxxx profiles { CISCO_ISE_UDP { } radiusLB { } } rules { ISE_Rule } }============
Profiles:ltm profile udp CISCO_ISE_UDP { datagram-load-balancing enabled defaults-from udp }
ltm profile radius radiusLB { clients none persist-avp none }
- Nick_Ehlers_132
Nimbostratus
Amartya, Can you give me the syntax of the iRule used for this? I can't seem to get it working.
- Nick_Ehlers_132
Nimbostratus
Amartya Ghosh, can you go more into what you used for the iRule as part of your solution?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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