LUIDIBLU / tech blog
PT EN
PT EN

Identifying devices on the network.

13 posts · 8,990 words · 46 min of reading · since 2016

0% read

Identifying devices on the network.

IP addresses, gateways, and discovering devices connected to your own network.

TL;DR Too lazy to read? Click here.

Have you ever been curious about listing the devices connected to your network?

Requirements

To list them, we need to use nmap:

bashsudo apt-get install nmap

Default Gateway

We need the address of the default gateway. If you do not know your default gateway, simply type:

bashroute -n

On the first line, it lists the default gateway.
In this example: 192.168.0.1

Using nmap

With the default gateway in hand, we can use nmap!
Using the command:

bashnmap -sP (seuGatewayPadrao)/24

Your terminal will then return a list of all the IPs connected to your network :)

Visitor dossier

Read only in your browser. The edge answers and keeps no log. Nothing is stored or sent to third parties.

Shortcuts

/⌘K
search and commands
?
this table
p
visitor dossier
t
light / dark theme
.
12-column grid
jk
next / previous post
enter
open the focused post
g hg pg tg sg r
go to home, posts, tags, about, rss
esc
close dialogs