nerdexam
LPI

117-201 · Question #293

What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?

The correct answer is C. ip addr add 192.168.1.2/32 dev eth0. See the full explanation below for the reasoning.

Question

What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?

Options

  • Aip add addr 192.168.1.2/32 dev eth0
  • Bifconfig eth0 192.168.1.2 netmask 255.255.255.255
  • Cip addr add 192.168.1.2/32 dev eth0
  • Dipconfig eth0 192.168.1.2

How the community answered

(46 responses)
  • A
    9% (4)
  • B
    4% (2)
  • C
    72% (33)
  • D
    15% (7)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice