What is the network interface configuration file for the eth0 interface?
A. /etc/sysconfig/network-scripts/ifcfg-eth0
B. /etc/sysconfig/network-scripts/interface-eth0
C. /etc/networks/eth0.txt
D. /etc/networks
Answer: A
To store IP addresses and other related settings, Linux uses a separate configuration file for each network interface. All these Configuration files are stored in the /etc/sysconfig/network-scripts directory.
Name of configuration files starts with the ifcfg-. After the ifcfg-, to keep each file separate, name of the interface is used. For example, if the interface name is eno12345 then the name of its configuration file will be the ifcfg-eno12345.
No comments:
Post a Comment