[quote=“boen_robot”]Both term pairs are from the interface’s point of view.
The more confusing part is that you have packets that a router receives, as well as packets that the router sends, and “an interface’s point of view” includes packets regardless of their direction, so long as their are within the interface’s “view”.]
Sorry I am either dense or still confused.
Say we have torched our default gateway ether 1 port, it shows
SRC 192.160.13.1 DST 209.150.235.122 TX 100 RX 500
Which is the remote IP and which is the local IP on the tik?
I can’t tell because packets are going both directions.
Since packets are going both directions on eth1, sometimes 192.160.13.1 is the SRC,
and sometimes 209.150.235.122 is the SRC.
So as far as I can tell SRC and DST are meaningless and change depending on which packet we are looking at, the incoming or the outgoing.
In particular the real question is WHICH IP IS REMOTE AND WHICH IP IS LOCAL?
If they had REMOTE for SRC, and LOCAL for DST, it would match up with what
I am seeing on our tiks, which is backwards from what I would have guessed.
The packet sniffer on eth1 shows:
tx 209.150.235.122 → 192.160.13.1
rx 192.160.13.1 → 209.150.235.122
THAT tells me remote is 192.160.13.1 and local is 209.150.235.122.
So why is 192.160.13.1 shown as SRC in torch?
Torch might be a lot more useful if it had two lines for each connection, thus
truly showing remote → local and local → remote. So this would look like:
SRC DST RX TX
192.168.31.1 209.150.235.122 500
209.150.235.122 192.168.13.1 100
It is fine to put them on one line, but then SRC and DST become ambiguous and
thus meaningless as they are only right half the time.
Homer