0% found this document useful (0 votes)
250 views2 pages

# CD /etc/sysconfig/network-Scripts/ # VI Ifcfg-Bond0 We'll Be Using Mode 6 (Balance-Alb)

This document provides instructions for configuring channel bonding on CentOS 6. It describes editing configuration files ifcfg-bond0, ifcfg-eth0, ifcfg-eth1, and ifcfg-eth2 to set up a bond0 interface using the balance-alb mode and attaching the eth0, eth1, and eth2 interfaces as slaves. It also notes that bonding is now configured in /etc/modprobe.d/bonding.conf instead of /etc/modprobe.conf on CentOS 6.

Uploaded by

Shiv Shankar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
250 views2 pages

# CD /etc/sysconfig/network-Scripts/ # VI Ifcfg-Bond0 We'll Be Using Mode 6 (Balance-Alb)

This document provides instructions for configuring channel bonding on CentOS 6. It describes editing configuration files ifcfg-bond0, ifcfg-eth0, ifcfg-eth1, and ifcfg-eth2 to set up a bond0 interface using the balance-alb mode and attaching the eth0, eth1, and eth2 interfaces as slaves. It also notes that bonding is now configured in /etc/modprobe.d/bonding.conf instead of /etc/modprobe.conf on CentOS 6.

Uploaded by

Shiv Shankar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

DB02

Configuring Channel Bonding

# cd /etc/sysconfig/network-scripts/ # vi ifcfg-bond0 Well be using mode=6 (balance-alb)


1 2 3 4 5 6 7 8 9 10 DEVICE=bond0 USERCTL=no BOOTPROTO=none ONBOOT=yes IPADDR=10.0.0.10 NETMASK=255.255.0.0 NETWORK=10.0.0.0 BONDING_OPTS="miimon=100 mode=balance-alb" TYPE=Unknown IPV6INIT=no

# vi ifcfg-eth0
1 2 3 4 5 6 DEVICE=eth0 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no

# vi ifcfg-eth1
1 2 3 4 5 6 DEVICE=eth1 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no

# vi ifcfg-eth2
1 2 3 DEVICE=eth2 BOOTPROTO=none ONBOOT=yes

4 5 6

MASTER=bond0 SLAVE=yes USERCTL=no

Due to the fact that /etc/modprobe.conf has been deprecated in CentOS 6, the process of bonding network interfaces has changed a bit. Now instead of defining your bond in your /etc/modprobe.conf, you define it in /etc/modprobe.d/bonding.conf # vi /etc/modprobe.d/bonding.conf Append the following onto the end out your modprobe config file
1 alias bond0 bonding

# servive network restart

Read more: http://www.how2centos.com/centos-6-channelbonding/#ixzz2GMkyfloN

You might also like