Forum Discussion

patrick_5319's avatar
patrick_5319
Icon for Nimbostratus rankNimbostratus
Apr 13, 2008

SNAT for Two link

Dear Buddy,

 

 

I would like to write a irule on a F5 LC for a SMTP server in the following suitation.

 

 

SMTP original w.x.y.z to SNAT to W1.X1.Y1.Z1 that is Public IP provided by ISP1. When IPS1 linke down. w.x.y.z will be SNAT to w2.x2.y2.z2 that is Public IP provided by IPS2.

 

 

Regards,

 

annpat
  • Billy_chuang_16's avatar
    Billy_chuang_16
    Historic F5 Account
    Hi, Annpat

     

     

    Not sure whether it worked for you.

     

    You can create a SNAT Pool which include w.x.y.z and w1.x1.y1.z1, then use iRule to check the Client_Side IP address then use the specific SNAT Pool. BIGIP will pick the same Subnet SNAT IP regarding the VS Pool node IP subnet.