]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
bonding sample
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Apr 2012 15:33:48 +0000 (15:33 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Apr 2012 15:33:48 +0000 (15:33 +0000)
svn-id: @12551

sysconfig/interfaces/ifcfg-bond0 [new file with mode: 0644]

diff --git a/sysconfig/interfaces/ifcfg-bond0 b/sysconfig/interfaces/ifcfg-bond0
new file mode 100644 (file)
index 0000000..de41301
--- /dev/null
@@ -0,0 +1,24 @@
+# $Id$
+# bonding setup
+
+# filename: ifcfg-bond0
+DEVICE=bond0
+IPADDR=192.168.0.1/24
+IPADDR1=10.10.0.1/21
+BOOTPROTO=none
+ONBOOT=yes
+
+# additionally create ifcfg-eth0 and ifcfg-eth1 as:
+# filename: ifcfg-eth0
+#DEVICE=eth0
+#SLAVE=yes
+#MASTER=bond0
+#BOOTPROTO=none
+#ONBOOT=yes
+
+# filename: ifcfg-eth1
+#DEVICE=eth1
+#SLAVE=yes
+#MASTER=bond0
+#BOOTPROTO=none
+#ONBOOT=yes
This page took 0.159114 seconds and 4 git commands to generate.