[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0611301258410.26156@zuben>
Date: Thu, 30 Nov 2006 13:00:46 +0200 (IST)
From: Or Gerlitz <ogerlitz@...taire.com>
To: netdev@...r.kernel.org
cc: openib-general@...nib.org, Roland Dreier <rdreier@...co.com>,
Jay Vosburgh <fubar@...ibm.com>
Subject: re: [RFC] [PATCH V2 0/3] bonding support for operation over IPoIB
- example config script
Below is an example script i was using to configure bonding in my testing
Or.
--- /dev/null 2006-10-30 17:30:04.465997856 +0200
+++ bond_init_sysfs.bash 2006-11-30 12:51:05.109565889 +0200
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+BOND_IP=192.168.10.118
+BOND_NETMASK=255.255.255.0
+
+SLAVE_A=ib0
+SLAVE_B=ib1
+
+modprobe bonding
+
+echo active-backup > /sys/class/net/bond0/bonding/mode
+echo 100 > /sys/class/net/bond0/bonding/miimon
+
+modprobe ib_ipoib
+
+## this is some debug info that can enable seeing below the scenes...
+## to learn more see Documentation/infiniband/ipoib.txt
+
+#echo 1 > /sys/module/ib_ipoib/parameters/mcast_debug_level
+#echo 1 > /sys/module/ib_ipoib/parameters/debug_level
+
+echo +$SLAVE_A > /sys/class/net/bond0/bonding/slaves
+echo +$SLAVE_B > /sys/class/net/bond0/bonding/slaves
+
+ifconfig bond0 $BOND_IP netmask $BOND_NETMASK up
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists