Forum Discussion
Pandikumar_Muru
Nimbostratus
Jun 30, 2015Need to collect source IP which is connecting in LB in particular VIP or pools
Hi,
i want to know the source IP which is connecting to particular VIP.
Because we are getting hits from Loadbalancer SelfIP of both active and standby every 5 sec to proxy servers. we need to...
afedden_1985
Cirrus
Jun 30, 2015this irule will do it, I hope you don't have a lot of traffic on the VIP! are you sure the every 5 second hit on the proxies isn't the F5 health checks from the primary and standby?
Log-all tcp traffic to a vip,
when CLIENT_ACCEPTED {
set vip [IP::local_addr]:[TCP::local_port] }
when SERVER_CONNECTED {
set client "[IP::client_addr]:[TCP::client_port]" set node "[IP::server_addr]:[TCP::server_port]" }
when CLIENT_CLOSED {
log connection info log local0.err "Client $client -> VIP: $vip -> Node: $node"
}
Pandikumar_Muru
Nimbostratus
Jun 30, 2015I am not aware of Helth check, I have reviewed the config its enabled TCP monitor, 5 sec. May Helath check will give a hits, How ever if we enable log we will get some Idea, Am i right ?
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