nerdexam
CompTIA

XK0-005 · Question #10280

A Linux administrator needs to know the MAC address of the server's gateway. Which of the following commands should the administrator run to obtain this information?

The correct answer is B. arp -a. arp -a displays the current ARP (Address Resolution Protocol) cache, which maps known IP addresses to their corresponding MAC addresses. After the server communicates with its gateway, the gateway's IP-to-MAC mapping will appear in the ARP table, revealing the gateway's MAC…

System Management

Question

A Linux administrator needs to know the MAC address of the server's gateway. Which of the following commands should the administrator run to obtain this information?

Options

  • Aarp -gw
  • Barp -a
  • Carp -gwi
  • Darp -gtw

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    92% (47)
  • C
    4% (2)
  • D
    2% (1)

Explanation

arp -a displays the current ARP (Address Resolution Protocol) cache, which maps known IP addresses to their corresponding MAC addresses. After the server communicates with its gateway, the gateway's IP-to-MAC mapping will appear in the ARP table, revealing the gateway's MAC address. The options arp -gw, arp -gwi, and arp -gtw are not valid arp command flags. The -a flag is the standard option to display all cached ARP entries.

Topics

#Networking#ARP#Linux Commands#MAC Address

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice