Forum Discussion
tcpdump on particular interface
tcpdump -ni 0.0:nnnp -s0 host and port -v
when running tcpdump if i want to use a particular interface
instead of 0.0 , how to select the interface or find the
interface which is connected to server or pool member
Hi Gajji,
To view the traffic on a single specific interface:
tcpdump -ni 2.1:nnnp -s0 host 1.2.3.4 and port 443
To view the traffic on a specific VLAN called internal:
tcpdump -ni internal:nnnp -s0 host 1.2.3.4 and port 443
- Gajji
Cirrostratus
how to select the particular interface or find the
interface which is connected to server or pool member ??
- Lidev
Nacreous
Hello Gajji,
To find the interface that's hande the traffic to a specific destination, you can use this command : ip route get
# ip route get 192.168.0.1 192.168.0.1 via 192.168.0.150 dev internal src 192.168.x.x
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