Forum Discussion
static IP address mapping in CGNAT module
I have created a lsnpool (lsnpool_pub) which is assigned to a VS (cgnat_tcp) lsnpool is working fine but what if I want to assign a static public IP to 1 of my client and doesn't want his IP to be translated by CGNAT
my lsnpool member is assigned x.x.x.x/29
3 Replies
- adityoari_14383Historic F5 Account
you could either write an irule for that, or duplicate the VS to another one specific for that source address with a standard snatpool
- AviN_232055
Nimbostratus
what if I have 50 -100 such static public IP creating VS for each IP won't be feasible. what I have have in my mind is I can assign static public IP from a different subnet other then my lsnpool_pub and clone the VS (cgnat_tcp) for that source subnet with a snat none.? pls correct me if I am wrong. cheers
- Peter_Mills_697Historic F5 Account
Try using AFM NAT (static-nat, static-pat and dynamic-pat) instead. It is rule based, so more flexible and dynamic-pat is the equivalent to configuring CGNAT LSN Pools
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