Forum Discussion
James_Yang_9987
Dec 07, 2005Historic F5 Account
how can I boundle two VS?
Hello, I just encounter a request that the one client(same IP address) may come from three router to BIGIP, but only one router at once. as you know, BIGIP's autolasthop feature will return the packets to right router for inbound traffic. But there a issue that when the server inside genarate a outbound traffic to the client, BIGIP don't know which router the client behind. So I have tried to write a rules to combine these two VS.
defined on all the VS that client come in:
when CLIENT_ACCEPTED {
set sip [IP::addr [IP::remote_addr]]
set lastmac [LINK::lasthop]
session add uie $sip $lastmac 180
}
defined on 0.0.0.0 VS that for outbound traffic:
when CLIENT_ACCEPTED {
set sip [IP::addr [IP::local_addr]]
set macaddr [session lookup ssl $sip]
switch macaddr {
mac1 {pool router1}
mac2 {pool router2}
mac3 {pool router3}
}
}
does the session command will work accross all the VS? if not, is there any way to solve this issue in better way?
- unRuleY_95363Historic F5 AccountYes, the session command works across all VS.
when CLIENT_ACCEPTED { session add srcaddr [IP::remote_addr] [LINK::lasthop] 180 }
when CLIENT_ACCEPTED { switch [session lookup srcaddr [IP::local_addr]] { mac1 {pool router1} mac2 {pool router2} mac3 {pool router3} default {pool anyrouter} } }
- James_Yang_9987Historic F5 AccountHi, I have tested the rules, it seems that session lookup doen't work atall.
- James_Yang_9987Historic F5 AccountHi, I have tested the rules, it seems that session lookup doen't work atall.
- James_Yang_9987Historic F5 Accountmy testing BIGIP is version 9.2.0
- unRuleY_95363Historic F5 AccountYes, we found a bug in the session table about two months back. You'll want a 9.2 hotfix that includes CR56247.
- James_Yang_9981
Altostratus
oh, bad news. When will I got the hotfix? I have open a case and there are no answer. This feature is so importent to me. - James_Yang_9981
Altostratus
good news, I have found BIGIP V9.2.2 has solved the issue.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects