linux redhat Network Configuration Files

The primary network conguration les are as follows:
. /etc/hosts . The main purpose of this le is to resolve hostnames that cannot be resolved any
other way. It can also be used to resolve hostnames on small networks with no DNS server. Regardless of the type of network the computer is on, this le should contain a line specifying the IP address of the loopback device (127.0.0.1) as localhost.localdomain. For more information,
see the hosts man page.
. /etc/resolv.conf.This le species the IP addresses of DNS servers and the search domain.
Unless congured to do otherwise, the network initialization scripts populate this le. For more
information on this le, see the resolv.conf man page.
. /etc/sysconfig/network . Species routing and host information for all network
interfaces. For more information on this le and the directives it accepts, see Section 4.1.23
/etc/sysconfig/network.
. /etc/sysconfig/network-scripts/ifcfg
For each network interface on a Red Hat Linux system, there is a corresponding interface conguration script. Each of these les provide information specic to a particular network interface. See Section 8.2 Interface Conguration Files for more information on this type of le and the directives it accepts.