nerdexam
LPI

201-450 · Question #141

What two commands to add another IP address to an interface that already has (at least) one IP address?

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

206 Networking Configuration

Question

What two commands to add another IP address to an interface that already has (at least) one IP address?

Options

  • Aifconfig eth0:1 192.168.1.2
  • Bifconfig eth0 192.168.1.2
  • Cipconfig eth0:1 192.168.1.2
  • Dipconfig eth0 192.168.1.2
  • Eifconfig eth0:sub1 192.168.1.2

How the community answered

(53 responses)
  • A
    75% (40)
  • B
    4% (2)
  • C
    8% (4)
  • D
    13% (7)

Topics

#ifconfig#IP alias#virtual interface#secondary IP

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice