commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
When you block any hosts using this method, the hosts can't do anything in the network.
The block is applied on firewall or gateway of the network.
Waits for all pings to complete and returns ip with mac address
This command will scan the subnet and exlude duplicates
Clears the "arp" table, without entering manually addresses (tested in Ubuntu).
You send a unicast ICMP packet to each host. Many firewalls will drop that ICMP. However, in order to send the ICMP, you'll have first done an ARP request and the remote machine is unlikely to ignore that, so the computer will be in your ARP table.
Instead of looking for the right ip address, just pick whatever address you like and set a static ip mapping.
Connect to a machine running ssh using mac address by using the "arp" command