$ for i in {2..32};do ping -c 1 -t 1 -q 192.168.1.${i} > /dev/null; arp 192.168.1.${i};done? 192.168.1.7 at (incomplete) on en0 ifscope [ethernet]? 192.168.1.8 at (incomplete) on en0 ifscope [ethernet]? 192.168.1.9 at (incomplete) on en0 ifscope [ethernet]? 192.168.1.10 at (incomplete) on en0 ifscope [ethernet]? 192.168.1.11 at (incomplete) on en0 ifscope [ethernet]? 192.168.1.12 at (incomplete) on en0 ifscope [ethernet]? (192.168.1.13) at xx:xx:xx:xx:xx:xx on en0 ifscope permanent [ethernet]
$ for i in {2..255};do ping -c 1 -t 1 -q 192.168.1.${i} > /dev/null; arp 192.168.1.${i}| grep -v "incomplete";done? (192.168.1.2) at xx:xx:xx:xx:xx:xx on en0 ifscope [ethernet]? (192.168.1.3) at xx:xx:xx:xx:xx:xx on en0 ifscope permanent [ethernet]? (192.168.1.11) at xx:xx:xx:xx:xx:xx on en0 ifscope [ethernet]? (192.168.1.105) at xx:xx:xx:xx:xx:xx on en0 ifscope [ethernet]? (192.168.1.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]