U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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

Currently there are no comments in this discussion, be the first to comment!


Save Cancel