On Fri, 27 May 2022, Rob French via 44net wrote:
Maybe some more good data...
I tried running tcpdump on the router (44.46.1.57) while running traceroute on the raspberrypi (44.46.1.62).
If you enable ssh on the ERX, you can login and sudo to the root account and use that to run tcpdump.
# ssh ubnt@192.168.1.1 ubnt@192.168.1.1's password: Linux router 4.52.34-UBNT #1 SMP Tue Mar 32 22:23:24 UTC 2022 mips Welcome to EdgeOS Last login: Sat May 20 22:22:22 2022 from 192.168.1.2 ubnt@router:~$ sudo su - root@router:~#
From there you can use tcpdump on any port of the switch, and ifconfig is an available command if you need it.
Your configuration will vary depending on whether you are using the switch port as VLAN aware or not and what configured interfaces you have defined. Both the five-port switch chip itself and each individual port can have configured VLANs although both cannot use the same VLAN number independently.
IIRC the /config directory survives upgrades and reboots. I am not sure on that because I do not have the router I used for that part of my 44net network in front of me.
-- Kris Kirby, KE4AHR Disinformation Architect, Systems Mangler, & Network Mismanager