UCF STIG Viewer Logo

The DHCP client must be disabled if not needed.


Finding ID Version Rule ID IA Controls Severity
V-218042 RHEL-06-000292 SV-218042r505923_rule Medium
DHCP relies on trusting the local network. If the local network is not trusted, then it should not be used. However, the automatic configuration provided by DHCP is commonly used and the alternative, manual configuration, presents an unacceptable burden in many circumstances.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03


Check Text ( C-19523r462409_chk )
IIf DHCP is required by the organization, this is Not Applicable.

For each interface [IFACE] on the system (e.g. eth0), verify that DHCP is not being used:

Note: This requirement does not apply to the local loopback interface.

# cat /etc/sysconfig/network-scripts/ifcfg-[IFACE] | grep -i “bootproto” | grep –v “#”


If no output is returned this is a finding.

If BOOTPROTO is not set to ”none”, this is a finding.
Fix Text (F-19521r462410_fix)
For each interface [IFACE] on the system (e.g. eth0), edit "/etc/sysconfig/network-scripts/ifcfg-[IFACE]" and make the following changes.

Correct the BOOTPROTO line to read:


Add or correct the following lines, substituting the appropriate values based on your site's addressing scheme:

NETMASK=[local LAN netmask]
IPADDR=[assigned IP address]
GATEWAY=[local LAN default gateway]