Lab — nmap host discovery
Lab — nmap host discovery
Section titled “Lab — nmap host discovery”Objetivo
Section titled “Objetivo”Listar hosts que responden en una red de laboratorio (VM host-only / NAT propia), no en Internet ajeno.
Prerequisitos
Section titled “Prerequisitos”nmapinstalado (sudo apt install nmapo equivalente)- Herramientas de red
- Permiso explícito sobre el rango (tu lab)
Entorno lab
Section titled “Entorno lab”Red privada de VMs (ej. 192.168.56.0/24 VirtualBox host-only). Sustituye el CIDR por el tuyo:
ip -br a # identifica interfaz y red lab-
Discovery sin port scan:
Terminal window nmap -sn 192.168.56.0/24 -
Anota IPs “Host is up”.
-
(Opcional) Versiones en un host lab concreto:
Terminal window nmap -sV -p 22,80 192.168.56.101
Verificación
Section titled “Verificación”La salida de -sn muestra al menos tu gateway/host o las VMs encendidas. Si todo está apagado, 0 hosts (válido):
enciende una VM y repite.
Referencias
Section titled “Referencias”- Nmap Reference Guide — acceso 2026-07-15
- Herramientas
Advertencia
Section titled “Advertencia”Escanear redes de terceros sin autorización es ilegal. Solo CIDR de lab propio.