CompTIA
XK0-005 · 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…
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
Troubleshooting
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
(43 responses)- A5% (2)
- B77% (33)
- C7% (3)
- D12% (5)
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
#Linux networking#Static IP configuration#Network interface files#Boot configuration
Community Discussion
No community discussion yet for this question.