Forum Discussion
How to know which virtual server is handling a particular traffic
Hello,
I would like to know a command to know for sure which virtual server is handling a particular traffic.
I'm using 5200 as firewall and I have lots of L3 forwarding virtual servers.
So I was hoping for an equivalent of Cisco's: show ip route 10.0.0.1.
From this I can know for sure what's the route or connected interface that handles said traffic.
Some thing like: tmsh show ltm virtual-address 10.0.0.1
But NOT like: tmsh show ltm virtual-address | grep 10.0.0.1
Cheers!
Bojan
6 Replies
- Samir_Jha_52506
Noctilucent
I am not sure about command. But please run the TCPDUMP based and find.
- bojan_sukalo_20
Nimbostratus
Tcpdump is only valid if there is an actual traffic going through a virtual server.
- Jinshu
Cirrus
Hi Mate,
As Samir mentioned, run TCPDUMP and see where the traffis is going.
You can run the below command for tcpdump.
tcpdump -s0 -nni 0.0:nnn host <IP address> -w /var/tmp/trouble.pcapYou can download the file from /var/tmp/ and open it with wireshark.
Hope this helps.
-Jinshu
- bojan_sukalo_20
Nimbostratus
Hello,
This helps ONLY if there is a traffic on the virtual server. I use this and understand this very well. The question here is if there's a way to know for sure which particular VS is handling traffic from config only and not from traffic.
Thank you all nevertheless.
Bojan
Hi,
You can do it manually, see here:
https://support.f5.com/kb/en-us/solutions/public/14000/800/sol14800.html
(Along with the supplemental inforamtion links which may be useful for your case)
It would be nice if there was an automated way for that. You can open a feature request with the support, they may ask you some questions and escalate your request to the dev teams.
- bojan_sukalo_20
Nimbostratus
Thank you Amine.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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