> For the complete documentation index, see [llms.txt](https://notes.nomanaziz.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.nomanaziz.me/cybersecurity/penetration-testing/elearnsecurity/ejpt/footprinting-and-scanning/mapping-networks.md).

# Mapping Networks

Ping Sweeping to check which hosts are alive in network or not.

***

### Fping

`fping -a -g IPRANGE`

* `-a` used to check for alive hosts
* `-g` to perform ping sweep instead of normal ping

***

### Nmap

`nmap -sn -iL hostlists.txt`

* `-iL` to read hosts from file

***
