Forum Discussion

Anoop_Dharan_20's avatar
Anoop_Dharan_20
Icon for Nimbostratus rankNimbostratus
Jun 04, 2018

Irule question

Hello Folks,

 

I have a wildcard virtual server in my LC which load balances two ISPs. There was an issue reported for one application which was getting timed out frequently. After configuring source address persistence issue is resolved. But now i observed that bandwidth utilization is significantly increased. This is because all traffic is being persisted to one of the ISPs during single session. I would like to only implement source address persistence for only one application. Is it possible via irule ?

 

  • Hi,

    You can try this:

    when HTTP_REQUEST {
    if { [IP::addr [IP::client_addr] equals 10.10.10.1] } {
    persist source_addr
    }
    }
    

    let me now if you want additional info... Regards