N10-009 ยท Network troubleshooting tools
Protocol analyzer, Nmap, speed tester
Protocol analyzer, tcpdump, Nmap and speed testers.
Key points
- A protocol analyzer (Wireshark) or tcpdump captures and decodes frames to show what is really on the wire; tcpdump -w saves a capture file and -r reads it.
- Nmap discovers hosts and open ports (-sn host discovery only, -sV service versions, -sU UDP, -A OS/version/scripts/traceroute).
- A speed tester measures throughput and latency to a test server, not the quality of every internal link.
Source: https://nmap.org/book/man-briefoptions.html
Practice questions
What does 'nmap -sn 192.168.1.0/24' do?
- Finds live hosts without scanning their ports
- Scans all UDP ports on every host
- Detects the service version on each open port
- Captures traffic on the subnet to a file
Show answer
Answer: A. Finds live hosts without scanning their ports
-sn performs host discovery only and skips the port scan. -sV and -sU are the options for versions and UDP.
Which statements about tcpdump and Nmap options are correct?
- tcpdump -w saves raw packets to a file
- tcpdump -r reads packets from a saved file
- nmap -sn skips the port scan
- nmap -Pn assumes every host is down and skips it
- nmap -sU measures download speed
Show answer
Answer: A. tcpdump -w saves raw packets to a file, B. tcpdump -r reads packets from a saved file, C. nmap -sn skips the port scan
tcpdump -w writes packets to a file and -r reads one back; nmap -sn skips the port scan. nmap -Pn treats hosts as up (it does not assume they are down), and a speed test is not an Nmap function.
True or false: plugging a laptop running a protocol analyzer into a normal switch port lets you see the unicast conversations of every other host on that switch.
Show answer
Answer: False
False. A switch forwards unicast frames only to the port of the destination MAC, so you see mostly your own traffic plus broadcasts. You need a SPAN/mirror port or a network TAP.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
