Repository :
http://git.fedorahosted.org/cgit/docs/networking-guide.git
On branch : master
---------------------------------------------------------------
commit eca15afa287a33237d0f57c56bbd54e648517783
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Wed Sep 3 21:53:05 2014 +0200
Activating a Channel Bond
---------------------------------------------------------------
en-US/Configure_Network_Bonding.xml | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/en-US/Configure_Network_Bonding.xml b/en-US/Configure_Network_Bonding.xml
index f7b2935..656980e 100644
--- a/en-US/Configure_Network_Bonding.xml
+++ b/en-US/Configure_Network_Bonding.xml
@@ -400,6 +400,41 @@ SLAVE=yes</programlisting>
</example>
</section>
+ <section id="sec-Activating_a_Channel_Bond">
+ <title>Activating a Channel Bond</title>
+ <para>
+ To activate a bond, bring up all the slaves. As <systemitem
class="username">root</systemitem>, issue the following commands:
+
+ <screen>~]# <command> /usr/sbin/ifup ifcfg-eth0</command>
+Connection successfully activated (D-Bus active path:
/org/freedesktop/NetworkManager/ActiveConnection/7)</screen>
+ <screen>~]# <command> /usr/sbin/ifup ifcfg-eth1</command>
+Connection successfully activated (D-Bus active path:
/org/freedesktop/NetworkManager/ActiveConnection/8)</screen>
+</para>
+<para>
+Note that if editing interface files for interfaces which are currently
<quote>up</quote>, set them down first as follows:
+<synopsis>/usr/sbin/ifdown
ifcfg-eth<replaceable>N</replaceable></synopsis>
+Then when complete, bring up all the slaves, which will bring up the bond (provided it
was not set <quote>down</quote>).
+ </para>
+ <para>
+ To make <application>NetworkManager</application> aware of the changes,
issue a command for every changed interface as <systemitem
class="username">root</systemitem>:
+ <screen>~]# <command>nmcli con load
/etc/sysconfig/network-scripts/ifcfg-<replaceable>device</replaceable></command></screen>
+ Alternatively, to reload all interfaces:
+<screen>~]# <command>nmcli con reload</command></screen>
+ The default behavior is for <application>NetworkManager</application>
not to be aware of the changes and to continue using the old configuration data. The is
set by the <option>monitor-connection-files</option> option in the
<filename>NetworkManager.conf</filename> file. See the
<filename>NetworkManager.conf(5)</filename> manual page for more information.
+ </para>
+
+ <para>
+ To view the status of the bond interface, issue the following command:
+ <screen>~]# <command>ip link show</command>
+1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT
+ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
+2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master bond0 state UP mode DEFAULT qlen 1000
+ link/ether 52:54:00:e9:ce:d2 brd ff:ff:ff:ff:ff:ff
+3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master bond0 state UP mode DEFAULT qlen 1000
+ link/ether 52:54:00:38:a6:4c brd ff:ff:ff:ff:ff:ff
+4: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP mode DEFAULT
+ link/ether 52:54:00:38:a6:4c brd ff:ff:ff:ff:ff:ff</screen>
+ </para>
</section>
</section>