Which two Statement:; are true concerning eth0 based on this configuration?

You have a single network adapter called eth0.
DEVICE = eth0
BOOTPROTO=DHCP
HWADR=BC:305B:C5:63;F1
NM_CONTROLLED=no
ONBOOT=YES
TYPE=Ethernet
PEERDNS=no
UUID=C9dba2e8-9faf-4b77-bbe2-92dd81dda1f9
Which two Statement:; are true concerning eth0 based on this configuration?

You have a single network adapter called eth0.
DEVICE = eth0
BOOTPROTO=DHCP
HWADR=BC:305B:C5:63;F1
NM_CONTROLLED=no
ONBOOT=YES
TYPE=Ethernet
PEERDNS=no
UUID=C9dba2e8-9faf-4b77-bbe2-92dd81dda1f9
Which two Statement:; are true concerning eth0 based on this configuration?

A.
DHCP is used to obtain a lease on an IP address.

B.
The dhclient command may only be used to obtain a lease at boot time.

C.
dhclient does not override the contents of /etc/resolv.conf.

D.
DNS is not used to resolve host names for this adapter.

E.
dhclient overrides the contents of /etc/resolv.conf.

Explanation:
A: BOOTPROTO=DHCP
C: PEERDNS=answer
where answer is one of the following:
yes — Modify /etc/resolv.conf if the DNS directive is set. If using DHCP, then yes is the default.
no — Do not modify /etc/resolv.conf.
Note: The “/etc/resolv.conf” file is used to configure the location of the DNS servers to be used for
name resolution.



Leave a Reply 7

Your email address will not be published. Required fields are marked *


Djuro

Djuro

Correct are A, C

Yi

Yi

Please notice the “PEERDNS=no”

The line will prevents dhclint to override /etc/resolv.conf