Forum Discussion
SNAT using the same source IP on Multiple LTM's
Can i use the following iRule on Multiple VIP's of different LTM's for filtering clients and SNATing. The source address x.x.x.x will be same accross all LTMS
when CLIENT_ACCEPTED {
Check if the client IP address is a member of the address data group named Hosts if { [matchclass [IP::client_addr] equals Hosts]} {
snat using this source address
snat x.x.x.x
Exit this event to avoid disabling SNAT below
return
}
} Default action is to not SNAT snat none }
You can not reuse the SNAT address unless the networks you LTM live in have no knowledge of each other or your SNAT address is non routeable between those networks. If its either of those, have at it. Just know that that address will be on the wire in multiple locations with different MAC addresses.
- Brad_Parker_139Nacreous
You can not reuse the SNAT address unless the networks you LTM live in have no knowledge of each other or your SNAT address is non routeable between those networks. If its either of those, have at it. Just know that that address will be on the wire in multiple locations with different MAC addresses.
- sri_223168NimbostratusThank you
- Brad_ParkerCirrus
You can not reuse the SNAT address unless the networks you LTM live in have no knowledge of each other or your SNAT address is non routeable between those networks. If its either of those, have at it. Just know that that address will be on the wire in multiple locations with different MAC addresses.
- sri_223168NimbostratusThank you
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