Skip to main content

Explain network configuration files in /etc/sysconfig/network-scripts.

41.Explain network configuration files in /etc/sysconfig/network-scripts.
Ans.
1. We can use the files in this directory to set the parameters for the hardware and software used for networking.

2. These scripts are used to enable network interface and set other network-related parameters.

3. Ifcfg-networkinterfacename
Red hat specifies a separate configuration file for each network interface.
In typical Red hat install, we have many different network interface configuration files that all follow the same basic syntax and format.

4. ifup and ifdown
These files are symlinks to /sbin/ifup and /sbin/ifdown, these scripts are called when the network service is started or stopped.
We call the scripts with the name of interface that we want to bring up or down.
For instance, to bring Ethernet interface down and up again after boot, we will type command
Ifup eth0
Ifdown eth0

Comments

Popular posts from this blog

Java,ES,QT practical files

All practical files: Click below to start download Uploaded on special request||||

Vidyalankar Question paper solutions

Download from their website: http://www.vidyalankar.org/index.aspx or just click here to download

How loader works? State the difference between GRUB and LILO.

29.How loader works? State the difference between GRUB and LILO. Ans. 1. GRUB stands for ‘Grand Unified Bootloader’. 2. The Bootloader is the software program. 3. If you have multiple kernel images installed on your system, you can choose which one to be executed. 4. GRUB displays a splash screen, waits for few seconds, if you don’t enter anything, it loads the default kernel image as specified in the grub configuration file. (grub.conf in /boot) 5. GRUB has the knowledge of the filesystem (the older Linux loader LILO didn’t understand filesystem). 6. Grub configuration file is/boot/grub/grub.conf (/etc/grub.conf is a link to this). 7. # GRUB LILO 1 GRUB stands for ‘Grand Unified Bootloader’. LILO stands for Linux Loader. 2 GRUB supports an unlimited number of boot entries. LILO supports only up to 16 different boot selection. 3 GRUB can boot from network. ...