LPI
117-202 · 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
(30 responses)- A7% (2)
- B77% (23)
- C13% (4)
- D3% (1)
Community Discussion
No community discussion yet for this question.