Johann_Araujo
Aug 19, 2013Nimbostratus
irule with source IP
Hi I new in F5, I need help to configure an IP irule with Origin, it is routed to a particular node with its respective port.
Thank for the help.
A very basic implementation might look something like this:
Define an address-based data group. Example (my_ip_datagroup):
10.10.10.10 := 192.168.42.10 80
10.10.10.11 := 192.168.42.11 80
10.10.10.12 := 192.168.42.12 80
...
Create an iRule:
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals my_ip_datagroup] } {
node [class match -value [IP::client_addr] equals my_ip_datagroup]
}
}