Forum Discussion

dispatcher_3158's avatar
dispatcher_3158
Icon for Nimbostratus rankNimbostratus
Mar 30, 2017

Redirect request and all sub request to specific node (sticky session) if condition occurs

Hi

 

I'm a newbie of F5 and have never written any iRules... I have a scenario where if

 

  1. Request arrives from specific ip... lets say 192.168.0.1 (source ip)
  2. Request contains parameter foo (i.e mydomain.com/?foo=1)

Request should be dispached to node 1.1.1.1 and all sub requests from current client should also be dispatched to node 1.1.1.1 i.e sticky session

 

Would be very happy if someone could help me with this

 

Thanks!