Skip to content

Instantly share code, notes, and snippets.

@KilianB
Created March 13, 2019 10:15
Show Gist options
  • Save KilianB/e13ec4f2612e8c94f371a2e28c3c934d to your computer and use it in GitHub Desktop.
Save KilianB/e13ec4f2612e8c94f371a2e28c3c934d to your computer and use it in GitHub Desktop.
Query all devices on network
1. grep broadcast address of network
ifconfig | grep broadcast
2. ping broadcast address to resolve all devices on network
ping ....
3. resolve names via arp
arp - a | grep :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment