CompTIA
XK0-004 · Question #155
A Linux administrator is adding a static IP address to a network interface on a Linux system. The administrator modifies the ifcfg- eth0 configuration file with the following settings: After the admin
The correct answer is B. Set BOOTPROTO to NONE and ONBOOT to yes.. BOOTPRO is set to NONE for static assignment. And ONBOOT specifies YES to o indicate whether the device should be enabled when Linux
Server Side & Network Concepts
Question
A Linux administrator is adding a static IP address to a network interface on a Linux system. The administrator modifies the ifcfg- eth0 configuration file with the following settings:
After the administrator restarts the Linux server, the system is not connected to the network. Which of the following configuration settings needs to be changed?
Options
- ASet BOOTPROTO to BOOTP and USERCTL to yes.
- BSet BOOTPROTO to NONE and ONBOOT to yes.
- CSet USERCTL to yes and ONBOOT to no.
- DSet NETMASK to 255.255.0.0 and ONBOOT to yes.
How the community answered
(21 responses)- A5% (1)
- B81% (17)
- C5% (1)
- D10% (2)
Explanation
BOOTPRO is set to NONE for static assignment. And ONBOOT specifies YES to o indicate whether the device should be enabled when Linux
Topics
#ifcfg#static IP#BOOTPROTO#ONBOOT
Community Discussion
No community discussion yet for this question.