cerpika_14370
Sep 04, 2009Nimbostratus
session add command behavior
Quick question for the iRules gurus. I am considering using the session add command in an iRule, which will help us with a unique requirement in a multihomed BIG-IP deployment. In this iRule the key will be the source IP address of the connection. This iRule will build the session table based upon the source IP and the lasthop MAC address.
when SERVER_DATA {
set session_key [IP::local_addr]
session add uie {$session_key any virtual} [LINK::nexthop] 800
In this scenario, users with the same source IP [IP::local_addr] may switch incoming routers and therefor have a new lasthop MAC address [LINK::nexthop]. So how will the table be affected?
Will the BIG-IP overwrite the old entry in the session table with the new record?
Thanks!