Bitzu

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

Single choice

What does 'nmap -sn 192.168.1.0/24' do?

  1. Finds live hosts without scanning their ports
  2. Scans all UDP ports on every host
  3. Detects the service version on each open port
  4. 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.

Select all that apply

Which statements about tcpdump and Nmap options are correct?

  1. tcpdump -w saves raw packets to a file
  2. tcpdump -r reads packets from a saved file
  3. nmap -sn skips the port scan
  4. nmap -Pn assumes every host is down and skips it
  5. 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

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.

Download on the App StoreGet it on Google Play

More N10-009 topics in this module