Forum Discussion
BPetronio_11363
Nimbostratus
Jun 22, 2010NAT object in LC
Hi all,
Im trying to understand why it works sometimes and others doesnt.
I have 3 links in a LC.
A default GW route using a gw_pool in round robin loadbalance mode with the 3 ips of each link.
Defined a VS 0.0.0.0 with that gw_pool too.
I need that one specific server from internal networks goes out with a specific ip address from 1 link only.
I think the same NAT could give me the inbound traffic correctly.
I have done some tests, and for inbound traffic, it wotks perfectly.
I ping the NAT address, and the packets are beeing translated to the origin address correctly.
For outbound traffic, sometimes i could reach the outside, others dont. When i can reach the outside, the NAT is performed correctly, cause i can see the source ip on the internet server.
Any ideas what could be happening ?
How can i troubleshoot this ?
Best Regards,
Bruno Petrónio
6 Replies
- Chris_Miller
Altostratus
I'd recommend creating an iRule to SNAT your traffic on the way out so you can make sure it uses the proper link...when CLIENT_ACCEPTED { if {[[IP::client_addr] equals x.x.x.x] } { pool gw_pool_x snatpool snatpool_x } }
- BPetronio_11363
Nimbostratus
Thank You Chris, - Chris_Miller
Altostratus
I am indeed referring to your VS_Outbound. - Cspillane_18296
Nimbostratus
Hello Gents, - Chris_Miller
Altostratus
Thanks for the clarification Cspillane! - BPetronio_11363
Nimbostratus
Hello guys,
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