Forum Discussion
mbamusa_59409
Nimbostratus
Oct 07, 2012SNAT Issue
Hi Evrey one ,
i have virtual server created to load balance the outgoing traffic to 3 links and i applied the LB_Select Irule along with SNAT Irule as following :
ltm rule /Common/S...
nitass
Employee
Oct 07, 2012can you try this?
[root@ve10:Active] config b rule SNAT_ALL_IRULE_TEST list
rule SNAT_ALL_IRULE_TEST {
when LB_SELECTED {
if { [LB::server addr] equals "1.1.1.1" } {
if {[IP::addr [IP::client_addr] equals 10.10.10.10]} {
snat 1.1.1.30
} else {
snatpool ISP01_SNAT_POOL
}
} elseif { [LB::server addr] equals "2.2.2.2" } {
snatpool ISP02_SNAT_POOL
} else {
snatpool ISP03_SNAT_POOL
}
}
}
[root@ve10:Active] config b rule Source_NAT_Irule_test list
rule Source_NAT_Irule_test {
when CLIENT_ACCEPTED {
if {[IP::addr [IP::client_addr] equals 10.10.10.10]}{
pool Gateway_POOL member 1.1.1.1
}
}
}
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
