linux: scan home network
2016-07-13 00:00:00
IN1
,
2023-04-10 14:16:29
IN1
you want to detect ip addresses next to your current workstation in your current local network.
say you are in a 192.168.x
network.
start scan with nmap
nmap -sn 192.168.0.0/24
example output
foo@bar:/tmp$ nmap -sn 192.168.0.0/24
Starting Nmap 7.60 ( https://nmap.org ) at 2019-11-17 14:53 CET
Nmap scan report for router.home (192.168.0.1)
Host is up (0.0079s latency).
Nmap scan report for bar (192.168.0.3)
Host is up (0.00022s latency).
Nmap scan report for 192.168.0.4
Host is up (0.00036s latency).
Nmap done: 256 IP addresses (3 hosts up) scanned in 2.53 seconds