Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to display the interface name on trace

Hi, I am debugging an asymetric routing issue and need to trace on two interfaces. I am trying to work out if I can display the interface that a packet was captured on so I can see the impact of configuring routing tables as I make changes.

Here is my command:

tshark -i eno1 -i enp5s0 -T fields -E header=y -e ip.src -e ip.dst -e _ws.col.Protocol -e _ws.col.Info -Y "(ip.src==1.10.10.30 && ip.dst==192.10.0.50) || (ip.src==192.10.0.50 && ip.dst==192.10.10.30)"

How to display the interface name on trace

Hi, I am debugging an asymetric routing issue and need to trace on two interfaces. I am trying to work out if I can display the interface that a packet was captured on so I can see the impact of configuring routing tables as I make changes.

Here is my command:

tshark -i eno1 -i enp5s0 -T fields -E header=y -e ip.src -e ip.dst -e _ws.col.Protocol -e _ws.col.Info -Y "(ip.src==1.10.10.30 "(ip.src==192.10.10.30 && ip.dst==192.10.0.50) || (ip.src==192.10.0.50 && ip.dst==192.10.10.30)"