Forum Discussion
Patrick_Chang_7
Mar 29, 2008Historic F5 Account
How to get server IP when LB_Selected
when HTTP_REQUEST {
set clientIP [IP::client_addr]
}
when LB_SELECTED {
set serverIP [serverside {IP::remote_addr}]
}
when LB_FAILED {
log local0. "LB Failed for client $clientIP and serve...
The_Bhattman
Nimbostratus
Mar 29, 2008Try this
when HTTP_REQUEST {
set clientIP [IP::client_addr]
}
when LB_SELECTED {
set serverIP [LB::server addr]
}
when LB_FAILED {
log local0. "LB Failed for client $clientIP and server $serverIP"
}/cb
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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