LPI
117-201 · Question #293
117-201 Question #293: Real Exam Question with Answer & Explanation
The correct answer is C. ip addr add 192.168.1.2/32 dev eth0. See the full explanation below for the reasoning.
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
Community Discussion
No community discussion yet for this question.