I think your ssh session is on the ha docker container only. This limits the visibility of ethernet devices and thus the options to log traffic.
What exactly are you trying to achieve?
If you want to dump the network traffic on hassio level / on rp5 level you will have to go at least one level deeper, e.g. by installing the enhanced ssh addon.
Otherwise you will only be able to see the network traffic from the homeassistant container which might not be what you are after…
I am trying to achieve a tcpdump on interface end0 so I can dump network traffic. Thanks Dan for setting me on the right track. I installed “Advanced SSH & Web terminal” instead of the ordinary “terminal & SSH”.
Then I did command “apk update” and “apk add tcpdump” and now I can tcpdump on end0 with command “tcpdump -i end0”.
Many thanks for the tip Dan!