Forum Discussion

Rakeshvela_3309's avatar
Rakeshvela_3309
Icon for Nimbostratus rankNimbostratus
Aug 18, 2017

Irule Operation

Hi All,

 

We have 2 ISP's and the depending on the availability, the link is to be used. In the Pool

 

"pool_defaultgw_test", say we have 2 public IP's pointing to our ISP's, e.g; 203.1.1.1 and 204.1.1.1 ---> Using Priority Group Activation

 

And In the SNATPool "snat_test", say we have say the IP's as 203.1.1.2 and 204.1.1.2.

 

Irule as Below

 

[IP::client_addr] equals "10.1.1.1" } { pool pool_defaultgw_test snatpool snat_test }

 

Question1: Is F5 Intelligent so that if it SNAT to 204.1.1.2, it has to send to default gateway 204.1.1.1 and similarly for the other? Question2: Say there is Destination NAT configured not using Irule but by GUI say 0.0.0.0/0 all ports to 204.1.1.100 with Member say 192.168.1.1-->Will this also means if the source 192.168.1.1 i going out it will be translated to 204.1.1.100? Question2:Say there is Destination NAT configured using Irule and GUI -- Which takes Preference?

 

Thanks

 

1 Reply

  • Hi,

     

    Question 1: the gateway pool member is selected first. Then the snatpool member in same network than egress interface is selected.

     

    Question 2: I don't understand the question, there are 2 question 2 with different informations.