nerdexam
CompTIA

220-1102 · Question #264

A technician needs to manually set an IP address on a computer that is running macOS. Which of the following commands should the technician use?

The correct answer is B. ifconfig. macOS is Unix/BSD-based, so the correct command-line tool for viewing and configuring network interfaces-including setting a static IP address-is ifconfig. The ipconfig command is Windows-specific and does not exist natively on macOS. arpa is not a network configuration command…

Operating Systems

Question

A technician needs to manually set an IP address on a computer that is running macOS. Which of the following commands should the technician use?

Options

  • Aipconfig
  • Bifconfig
  • Carpa
  • Dping

How the community answered

(51 responses)
  • A
    4% (2)
  • B
    86% (44)
  • C
    8% (4)
  • D
    2% (1)

Explanation

macOS is Unix/BSD-based, so the correct command-line tool for viewing and configuring network interfaces-including setting a static IP address-is ifconfig. The ipconfig command is Windows-specific and does not exist natively on macOS. arpa is not a network configuration command (it relates to reverse DNS zones). ping is a connectivity testing tool, not a configuration tool.

Topics

#macOS#command-line interface#ifconfig#network configuration

Community Discussion

No community discussion yet for this question.

Full 220-1102 Practice