Forum Discussion
TCPDUMP-help
I am trying to run tcpdump on LTM, I am not getting the traffic captured, there is no SNAT applied on VIP, If there is no SNAT applied, we should be able to see client's IP as source IP, when I am using clients IP in source, I am not getting any traffic hits, if SNAT is not applied then clients ip is replaced by self IP by default ? I am running following command tcpdump -nni 0.0 src host "Souce IP" and dst host "destination-ip" and dst port "PORT" when I run following command, I am getting traffic captured tcpdump -nni 0.0 dst host "destination-ip" and dst port "PORT"
3 Replies
What is the source ip in a packet when you perform tcpdump -nni 0.0 dst host "destination-ip" and dst port "PORT"???
And I you see the self ip as the source IP then your looking at health monitoring traffic in your tcpdump (or do you have snat automap enabled on the vip?)
Cheers,
Kees
- jgranieri
Nimbostratus
if you are unsure of the pcap settings just run the tcpdump on the interface and or vlan. granted this will capture everything but at least you will know if the traffic is coming into the VS. use different tcpdumps for ingress and egress VLAN
tcpdump -i VLAN_Name -s 0 -w filename.txt
- Vinaykumar_1689
Nimbostratus
Thanks for answering, I was trying on DMZ LTM, that was the reason traffic was not captured
with true source IP, I tried on internal LTM, the tcpdump command works well.
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