nerdexam
GIAC

GCIH · Question #489

Which of the following commands could a Windows administrator use to hardcode the MAC address for host 10.1.12.23 on his workstation?

The correct answer is C. arp -s 10.1.12.23 8c:7b:9d:47:4e:dd. The arp command can be used to display ARP entries as well as manipulate them. The getmac command is used to list MAC addresses associated with each network card on a computer. The ipconfig command is used to display TCP/IP network configuration values and refresh DNS and DHCP…

Reconnaissance, Scanning, and Enumeration

Question

Which of the following commands could a Windows administrator use to hardcode the MAC address for host 10.1.12.23 on his workstation?

Options

  • Anetsh interface ip set address Local Area Connection static 10.1.12.23 255.255.255.0 10.1.12.1
  • Bipconfig /renew
  • Carp -s 10.1.12.23 8c:7b:9d:47:4e:dd
  • Dgetmac /S 10.1.12.23 /u administrator
  • Eifconfig eth0 inet 10.1.12.23 netmask 255.255.255.0

How the community answered

(23 responses)
  • B
    9% (2)
  • C
    87% (20)
  • D
    4% (1)

Explanation

The arp command can be used to display ARP entries as well as manipulate them. The getmac command is used to list MAC addresses associated with each network card on a computer. The ipconfig command is used to display TCP/IP network configuration values and refresh DNS and DHCP settings. The netsh command displays and modifies network settings, such as IP address and netmask, but not the hardware address. The ifconfig command is a Linux/Unix command similar to Windows' ipconfig.

Topics

#ARP table#MAC address spoofing#Windows networking#arp -s command

Community Discussion

No community discussion yet for this question.

Full GCIH Practice