Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Huawei H13-511_V5.5 Exam - Topic 2 Question 14 Discussion

SIMULATIONComplete the following configuration file for a network interface card (NIC) in the openEuler operating system to set a static IP address and enable the NIC to automatically start upon system boot.TYPE=EthernetBOOTPROTO=_____NAME=enp0s4DEVICE=enp0s4ONBOOT=_____IPADDR=172.28.100.100NETMASK=255.255.255.0
A) See the explanation

Huawei H13-511_V5.5 Exam - Topic 2 Question 14 Discussion

Actual exam question for Huawei's H13-511_V5.5 exam
Question #: 14
Topic #: 2
[All H13-511_V5.5 Questions]

SIMULATION

Complete the following configuration file for a network interface card (NIC) in the openEuler operating system to set a static IP address and enable the NIC to automatically start upon system boot.

TYPE=Ethernet

BOOTPROTO=_____

NAME=enp0s4

DEVICE=enp0s4

ONBOOT=_____

IPADDR=172.28.100.100

NETMASK=255.255.255.0

Show Suggested Answer Hide Answer
Suggested Answer: A

Correct Answe r is: BOOTPROTO=static, ONBOOT=yes

In HCIA--Cloud Computing (Operating System Basics), Linux network interface configuration is a foundational skill, and openEuler follows the standard Red Hat--style network configuration syntax.

To configure a static IP address, the parameter BOOTPROTO must be set to static. This tells the operating system not to request an IP address from a DHCP server and instead use the manually configured values such as IPADDR and NETMASK.

To ensure that the NIC is automatically activated when the system boots, the parameter ONBOOT must be set to yes. If ONBOOT is set to no, the interface will remain down after boot and must be manually started.

Therefore, the completed and correct configuration is:

BOOTPROTO=static

ONBOOT=yes

BOOTPROTO=static Uses a fixed IP address

ONBOOT=yes Enables automatic startup at system boot


Contribute your Thoughts:

0/2000 characters
Stefany
11 hours ago
I practiced this last week, and I believe ONBOOT should be "yes" to ensure it starts automatically.
upvoted 0 times
...
Ena
6 days ago
I remember a similar question where we had to configure a NIC, and I think "BOOTPROTO" was definitely "none" for static setups, but I could be wrong.
upvoted 0 times
...
Eloisa
11 days ago
I'm not entirely sure about ONBOOT, but I feel like it needs to be "yes" to enable the NIC at boot.
upvoted 0 times
...
Veronica
16 days ago
I think for BOOTPROTO, it should be set to "static" since we're using a static IP address.
upvoted 0 times
...

Save Cancel