C:\>Nmap -sL 192.168.2.0/24
Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-09 19:57 Eastern Standard Time
Host 192.168.2.0 not scanned
Host 192.168.2.1 not scanned
Host ad1.company.net (192.168.2.2) not scanned
Host ad2.company.net (192.168.2.3) not scanned
Host exchange.company.net (192.168.2.4) not scanned
Host payroll.company.net (192.168.2.5) not scanned
Host 192.168.2.6 not scanned
Host 192.168.2.7 not scanned
... [Additional hosts removed for space consideration]
Nmap done: 256 IP addresses (0 hosts up) scanned in 0.69 seconds
C:\>nmap -sP 192.168.2.0/24
Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-09 19:00 Eastern Standard Time
Host ad1.company.net (192.168.2.2) is up (0.00s latency).
MAC Address: 00:23:AE:55:55:55 (Dell)
Host ad2.company.net (192.168.2.3) is up (0.00s latency).
MAC Address: 00:23:AE:55:55:55 (Dell)
Host exchange.company.net (192.168.2.4) is up (0.00s latency).
MAC Address: 00:23:AE:55:55:55 (Dell)
Host payroll.company.net (192.168.2.5) is up (0.00s latency).
MAC Address: 00:1A:A0:55:55:55 (Dell)
&
C:\>Nmap -sL 192.168.2.0/24 --dns-servers 192.168.1.1,192.168.1.2,192.168.1.3
C:\>Nmap -n 192.168.2.0/24
Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-09 19:36 Eastern Standard Time
Host 192.168.2.1 is up (0.00s latency).
MAC Address: 00:23:AE:55:55:55 (Dell)
Host 192.168.2.2 is up (0.00s latency).
MAC Address: 00:23:AE:55:55:55 (Dell)
Host 192.168.2.3 is up (0.00s latency).
MAC Address: 00:23:AE:55:55:55 (Dell)
Host 192.168.2.4 is up (0.00s latency).
MAC Address: 00:23:AE:A55:55:55 (Dell)
&
C:\>Nmap 192.168.1.1 --traceroute
Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-09 19:15 Eastern Standard Time
Interesting ports on gateway.company.net (192.168.1.1):
Not shown: 998 filtered ports
PORT STATE SERVICE
53/tcp open domain
80/tcp open http
TRACEROUTE (using port 80/tcp)
HOP RTT ADDRESS
1 0.00 192.168.2.1
2 0.00 192.168.3.254
3 0.00 gateway.company.net (192.168.1.1)
Nmap done: 1 IP address (1 host up) scanned in 6.51 seconds
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)