Forum Discussion
dlmy_107187
Nimbostratus
Jul 08, 2010How to use irule to control 1 IP subnet by only utilizing 1 ISP link.
Need help on Irules:
my setup:
_______ Switch
isp 1------| | |--------- 192.168.1.0/24
isp 2------| F5 LC |---------------Firewall---------|-------- 192.168.2.0/24
isp 3------|_______| |---------192.168.3.0/24
I need to control segment 192.168.3.0/24 Users to use only link isp3 for internet browsing.
and incase of isp3 link is down, then isp link 2 will take over.
Can anyone help me e an to write an irule to achieve this?
Thanks
- Chris_Miller
Altostratus
I assume you already have one pool on the LC that contains all 3 routers for ISP3. I'd create another one with a name like "pool_isp3" and add its router as well as "pool_isp2" which contains its router.when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr]] eq 192.168.3.0/24 } { if { [active_members pool_isp3] > 0} { pool pool_isp3 } else { pool pool_isp2 } } }
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