Forum Discussion
genseek_32178
Nimbostratus
Jun 12, 2012iRule syntax
Hi,
We ve the following iRule configured,
iRule X
when CLIENT ACCEPTED {
if {[IP::addr [ IP::local_addr] equals 10.10.10.x ] } {
snatpool pool1
} ...
genseek_32178
Nimbostratus
Jun 12, 2012Thanks now it clears....but one more...say iRule is modified as below..
iRule X
when CLIENT ACCEPTED {
if {[IP::addr [ IP::local_addr] equals 10.10.10.22 ] } { ----> is a VIP
snatpool pool1
} elseif {[IP::addr [IP::local_addr] equals 10.10.10.x ] } {
snatpool pool2
} else {
snat none
pool poolA
}
Vlan 2 - 10.10.10.x/24..and same wildcard VS as above..
virtual VS_1
destination any:any
mask none
vlans 2 enable
profile fastl4lx
rules X
Now, say hosts in VLAN 2 with gwy as F5 float IP in VLAN 2 try accessing outbound..how the modified iRule would process the source pkts from hosts in VLAN2?
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
