Hi, I have been searching for a few hours to this question, no joy. This is an attempt at better understanding under-the-hood networking at a lower level.
My ISP gave me a new router, and they gave me the wrong local IP to access it. I know I can check the box for an IP, call the ISP, or set DHCP and then check `ifconfig` ...
However, I wanted to go the academic route and use something like `arp -a` or some kind of layer 2 broadcast function (??) to receive the mac/IP of any devices to which I have a physical ethernet cable connection. Obviously I can't ping since I technically don't know which IP to ping. `arp -a` returned a totally empty table. I figured there would be some terminal command out there to just "ping" (so to speak) at the datalink layer for network discovery and configuration. I found `arping` but that doesn't seem to exist on my FreeBSD 12.1 install. Ideas?
My ISP gave me a new router, and they gave me the wrong local IP to access it. I know I can check the box for an IP, call the ISP, or set DHCP and then check `ifconfig` ...
However, I wanted to go the academic route and use something like `arp -a` or some kind of layer 2 broadcast function (??) to receive the mac/IP of any devices to which I have a physical ethernet cable connection. Obviously I can't ping since I technically don't know which IP to ping. `arp -a` returned a totally empty table. I figured there would be some terminal command out there to just "ping" (so to speak) at the datalink layer for network discovery and configuration. I found `arping` but that doesn't seem to exist on my FreeBSD 12.1 install. Ideas?