Forum Discussion
gmalo30_33101
Nimbostratus
May 22, 2009iRule to route http traffic based on destination (client)
I am new to iRules but would like to be able to route http and https responses based on destination. For example I have three subnets 192.168.30.0/24, 192.168.31.0/24 and 192.168.32.0/24. F5 LB has inerfaces to those subnets.
Requests are generated by clients on those subnets to VIP address say 10.10.10.10 (with pool members in subnet 172.23.43.0/24) via a router which has interfaces in each of the subnets and also VIP subnet .
I want responses from the pool members to clients on subnets 192.168.30.0 /24, 192.168.31.0/24 and 192.168.32.0/24 to be routed via gateway router, IP address 10.10.10.1 and avoid assymetric routing since F% can just send traffic to each of the directly connected subnet interface.
Can someone please help me with an iRule to allow the F% to route traffic via the router and avoid assymetric routing.
Thanks in advance.
1 Reply
Sort By
- The_Bhattman
Nimbostratus
Have you tried looking into turning on Autosnat at the VIP? This might help you avoid asymmetric routing. If you turn it on the packets source address will be changes such that it allows the destination to return the traffic to the same path.
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