Forum Discussion
Chris_Phillips
Nimbostratus
Mar 10, 2006applying snat based on route out of local network
Howdy,
Our LTM's sit between our client networks and our server networks, switching all data on a vlan group to gain full visibility of all traffic. this is not an exact split though, and ob...
Chris_Phillips
Nimbostratus
Mar 11, 2006A bit more work and it's a bit better and more efficient (I think)
when LB_SELECTED {
server_networks is a data group / class defined elsewhere
start with zero score
set snat_score 0
increase score if client is on server network
if {[matchclass [IP::client_addr] equals $::server_networks]} {
incr snat_score
}
increase score if server is on server network
if {[matchclass [LB::server addr] equals $::server_networks]} {
incr snat_score
}
if score is not 1 then client and server are on
same side of LTM, so SNAT is required
if { $snat_score != 1 } {
snatpool my_snatpool
}
}Of course if i'm missing something really fundamental here about the need to SNAT then i'd appreciate advice!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