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)- A7% (4)
- B76% (45)
- C3% (2)
- D14% (8)
Community Discussion
No community discussion yet for this question.