CS FundamentalsEasyTCS NQT · Infosys pattern
The ping utility checks whether a host is reachable by sending which kind of message?
- A. TCP SYN segment
- B. ICMP Echo Request
- C. UDP datagram to port 7
- D. ARP request
Correct answer: B. ICMP Echo Request
ping sends ICMP Echo Request and waits for ICMP Echo Reply. ICMP is carried directly inside IP, with no TCP or UDP port.
More Computer Networks questions
- How many IPv4 addresses (including network and broadcast) are in the block 160.10.8.0/21?
- A company with 300 PCs and a single public IPv4 address lets all of them browse the web at once. The router keeps a table that maps each…
- Which IPv4 header field stops a packet from circulating forever if a routing loop forms?
- How many parity (check) bits does a single-error-correcting Hamming code need for 11 data bits?
- A Go-Back-N protocol uses 3-bit sequence numbers. What is the largest sender window that still works correctly?
- Under classful addressing, 150.20.3.4 belongs to which class, and what is its default subnet mask?