Forum Discussion
vvskaladhar_488
Nimbostratus
Dec 22, 2016irule to Source NAT specific IP address to avoid asymmetric routing
HI All,
I have an issue related to asymmetric routing. can some one pls help .
problem :
I have Source and Destination are in same subset 10.250.8.x./23 and F5 is gateway for them.
I h...
Ed_Summers
Nimbostratus
Dec 22, 2016I added a bracket that I missed to the original answer. Also I believe you'll need to use a datagroup for this as the 'class' command operates with datagroups (see article on class). If you copy/paste the iRule I posted, you'll need to create a datagroup called "source_network".
 
Don't hard-code addresses into the iRule. "IP::client_addr" is a command (see here).
 
You can create the datagroup from TMSH as follows:
 
create ltm data-group internal source_network type ip records add { 10.250.8.0/23 }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