You have to aggregate two network interfaces, eth0 and eth1, into a single logical interface
such as bond0. Which option shows the four configuration files that need to be configured to
set up this bonding?
A.
/etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/eth0
/etc/sysconfig/network-scripts/eth1 /etc/bonding.conf
B.
/etc/sysconfig/network/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1 /etc/modprobe.d/bonding.conf
C.
/etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/idfg-eth1 /proc/bonding.conf
D.
/etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/idfg-eth1 /etc/modeprobe.d/bonding.cfg
・ Ans.A is NOT correct.
bonding.conf is included in the /etc/modeprobe.d directory.
・Ans. B is NOT correct.
/etc/sysconfig/network/ifcfg-bond0 is not exists.
・Ans.C is NOT correct.
To view the status of a bond, view the /proc/ file by issuing a command in the following format:
cat /proc/net/bonding/bondN
・Ans. D may correct.
If /etc/sysconfig/network-scripts/idfg-eth1 is typo ( ifcfg-eth1 )..
B should be the correct answer.
No correct ans.
*Step #1: Create a Bond0 Configuration File
Red Hat Enterprise Linux (and its clone such as CentOS) stores network configuration in
/etc/sysconfig/network-scripts/ directory. First, you need to create a bond0 config file as follows:
# vi /etc/sysconfig/network-scripts/ifcfg-bond0
*Step #2: Modify eth0 and eth1 config files
Open both configuration 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
*Step # 3: Load bond driver/module
Make sure bonding module is loaded when the channel-bonding interface (bond0) is brought up.
You need to modify kernel modules configuration file:
For each configured channel bonding interface, there must be a corresponding entry in your new
/etc/modprobe.d/bonding.conf file.