nerdexam
LPI

201-450 · 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. You've hit your weekly limit · resets 5am (America/New_York)

206 Networking Configuration

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

(25 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    80% (20)
  • D
    12% (3)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#ip addr#interface configuration#IP aliasing#iproute2

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice