Network Administration: Linux Network Configuration Files

Like other operating system services, the Linux network is configured by settings that are specified in configuration files that you can find in the /etc directory or in one of its subdirectories. Graphical configuration programs such as Red Hat Network Configuration are actually little more than glorified text editors that enable you to select network configuration options from user-friendly screens and then save your configuration changes to the standard configuration files.


If you prefer to do the grunt work yourself, you can open the configuration files in a text editor and make changes to them directly.


Any time you open a configuration file in a text editor, you run the risk of messing up your system’s configuration. So be careful!


The following table lists the main Linux network configuration files and describes what each file does.


















































Linux Network Configuration Files
FileLocationDescription
network/etc/sysconfigBasic network configuration.
hostname/etcSpecifies the host name (obsolete, but should still be
present).
ifcfg-eth0-/etc/sysconfig/IP settings for the first Ethernet adapter
network-scripts.
ifcfg-eth1-/etc/sysconfig/IP settings for the second Ethernet adapter
network-scripts.
hosts/etcLists host address mappings.
resolv.conf/etcLists DNS nameservers.
nsswitch.conf/etcSpecifies the name search order.
xinetd.conf/etcSpecifies which network services are started
automatically.



dummies

Source:http://www.dummies.com/how-to/content/network-administration-linux-network-configuration.html

No comments:

Post a Comment