What's new

Check L2/L3 tables in CLI

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RC3H1

New Around Here
Hi. Does anyone know how to check the L2 and L3 tables from the CLI on Asuswrt? The issue I am running into is that the GUI does not show a new device that has been added over wireless. However, the device shows up in the log and is reachable via ICMP. Device is not manually assigned in DHCP, just simply added to the network. I have not rebooted yet but I am on the latest v386.9. I basically want to see the L2 and L3 tables in the CLI to confirm the device is learned.

Feb 20 19:14:21 dnsmasq-dhcp[17535]: DHCPREQUEST(br0) 192.168.50.56 b8:27:eb:73:xx:xx
Feb 20 19:14:21 dnsmasq-dhcp[17535]: DHCPACK(br0) 192.168.50.56 b8:27:eb:73:xx:xx raspberrypi3
 
What tables are you referring to? Can you be more specific?

These perhaps?
Code:
cat /proc/net/arp
ip rule
ip route
 
ARP and MAC tables to be more specific. The command 'cat /proc/net/arp' gave me what I need. Thanks!

IP address HW type Flags HW address Mask Device
192.168.50.56 0x1 0x2 b8:27:eb:73:xx:xx * br0
 
Just to add, even though the entry shows up in the 'cat /proc/net/arp' output, the GUI did not populate that entry until a reboot was done on the router.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top