ICMP IP Network Scanning / Probing using a Shell Commands
Q. How do I check security of my network by running ICMP IP Network Scanning under FreeBSD / Linux? How do I subnet broadcast addresses? All I wanted to see if my firewall is working or not.
A. Internet Control Message Protocol (ICMP) one of the core protocols of the Internet protocol suite. It is chiefly used by networked computers' operating systems to send error messages—indicating, for instance, that a requested service is not available or that a host or router could not be reached.
ICMP IP Network Scanning with nmap tool
You can use regular open source tool called nmap. Type the following command to run ICMP IP Scan:
$ nmap -sP -PI 192.168.1.0/24
Output:
Starting Nmap 4.20 ( http://insecure.org ) at 2008-01-29 23:40 IST Host 192.168.1.1 appears to be up. MAC Address: 00:18:39:6A:C6:8B (Cisco-Linksys) Host 192.168.1.106 appears to be up. ...... ... .... Nmap finished: 256 IP addresses (2 hosts up) scanned in 5.746 seconds
Where,
- -sP : This option tells Nmap to only perform a ping scan (host discovery), then print out the available hosts that responded to the scan. This is also known as ping scan.
- -PI : This open tells Nmap that we are sending ICMP echo requests
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- Linux port scanning with netcat (nc) command
- Linux disable or drop / block ping packets all together
- Linux display summary of protocol-level statistics for all network interfaces
- Ping IPv6 IP Address With ping6 Command
- Linux scan wireless card for information
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
Tags: control message, error messages, icmp ping scan, internet control message protocol, internet protocol suite, ip network, ip scan, mac address, networked computers, nmap command, nmap ping scan, ping scan ~ Last updated on: January 29, 2008



Recent Comments
Today ~ 2 Comments
Today ~ 37 Comments
Today ~ 46 Comments
Yesterday ~ 2 Comments
Yesterday ~ 9 Comments