nerdexam
LPI

202-400 · Question #26

Which TWO of the following commands could be used to add a second IP address to eth0?

The correct answer is B. ifconfig eth0:1 192.168.123.10 E. ifconfig eth0:sub1 192.168.123.10. See the full explanation below for the reasoning.

Question

Which TWO of the following commands could be used to add a second IP address to eth0?

Options

  • Aifconfig eth0 - add ip 192.168.123.10
  • Bifconfig eth0:1 192.168.123.10
  • Cifconfig eth0 1 192.168.123.10
  • Difconfig eth0 +192.168.123.10
  • Eifconfig eth0:sub1 192.168.123.10

How the community answered

(59 responses)
  • A
    7% (4)
  • B
    76% (45)
  • C
    3% (2)
  • D
    14% (8)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice