LPI
117-201 · Question #141
What is the command 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.
Question
What is the command 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
(54 responses)- A76% (41)
- B6% (3)
- C4% (2)
- D15% (8)
Community Discussion
No community discussion yet for this question.