Forum Discussion
Ed_26015
Nimbostratus
15 years agoSource routing with iRules
Hi all,
I hope you can help.
I have two interfaces on the F5 that connect back to a Cisco PIX again on different interfaces.
Topology is 10.130.4.1 & 10.130.32.1 for the ...
Ed_26015
Nimbostratus
15 years agoIf it helps the current syntax of the iRule is;
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]: destination [IP::local_addr]:[TCP::local_port]"
Check if client IP is in the DMZ_Inside datagroup
if {[class match [IP::client_addr] equals DMZ_Inside]}{
log local0. "[IP::client_addr]:[TCP::client_port]: Matched DMZ_Inside, using 10.130.32.1"
node 10.130.32.1
} else {
node 10.130.4.1
log local0. "[IP::client_addr]:[TCP::client_port]: Matched DMZ_Inside, using 10.130.4.1"
}
}
This is applied to the Virtual server which is applied to the DMZ interface (10.130.52.0/22)