You run the following command as the root user to set properties of a network interface (eth0):
# ifconfig eth0 192.0.2.102 netmask 255.255.255.0 up
Setting network interface properties with the ifconfig utility is not persistent across system reboots.
Which file would you edit to make settings and to make them persist across system reboots?
A.
/etc/sysconfig/network file
B.
/etc/sysconfig/network/ifcg-eth0 file
C.
/etc/sysconfig/network-scripts/ifcfg-eth0 file
D.
/etc/sysconfig/network-scripts/eth0 file
Explanation:
Modifytheeth0config file
Opentheconfiguration using a text editor such as vi/vim, and make sure file read as follows for
eth0 interface# vi /etc/sysconfig/network-scripts/ifcfg-eth0
Correct Answer C.
/etc/sysconfig/network-scripts/ifcfg-eth0 file.
Reference : http://www.comentum.com/unix-linux-ip-firewall.html
Develop most incredible and effective promotional strategies to make your customers more loyal with http://appyresto.com app builder! Construst DIY custom apps for education, entertainment, restaurants and hotels.