<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://plnx.nl/wiki/index.php?action=history&amp;feed=atom&amp;title=Bonding</id>
	<title>Bonding - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://plnx.nl/wiki/index.php?action=history&amp;feed=atom&amp;title=Bonding"/>
	<link rel="alternate" type="text/html" href="https://plnx.nl/wiki/index.php?title=Bonding&amp;action=history"/>
	<updated>2026-05-03T12:50:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.6</generator>
	<entry>
		<id>https://plnx.nl/wiki/index.php?title=Bonding&amp;diff=18&amp;oldid=prev</id>
		<title>Pverha10: Created page with &quot;=linux network interface bonding=  I wanted to make the following configuration:  &lt;table border=1&gt; &lt;tr&gt;&lt;td colspan=4&gt;bond2 (active-backup mode)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td colspan=2&gt;bond0 (802.3ad mode)&lt;/td&gt;&lt;td colspan=2&gt;bond1 (802.3ad mode)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;eth0 (in switch 1)&lt;/td&gt;&lt;td&gt;eth1 (in switch 1)&lt;/td&gt;&lt;td&gt;eth2 (in switch 2)&lt;/td&gt;&lt;td&gt;eth3 (in switch 2)&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt;  So I made the following:  &lt;pre&gt; #!/bin/sh # load 3 bonds (in 802.3ad mode) /sbin/modprobe bonding mode=4...&quot;</title>
		<link rel="alternate" type="text/html" href="https://plnx.nl/wiki/index.php?title=Bonding&amp;diff=18&amp;oldid=prev"/>
		<updated>2025-05-17T07:44:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=linux network interface bonding=  I wanted to make the following configuration:  &amp;lt;table border=1&amp;gt; &amp;lt;tr&amp;gt;&amp;lt;td colspan=4&amp;gt;bond2 (active-backup mode)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr&amp;gt;&amp;lt;td colspan=2&amp;gt;bond0 (802.3ad mode)&amp;lt;/td&amp;gt;&amp;lt;td colspan=2&amp;gt;bond1 (802.3ad mode)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;eth0 (in switch 1)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;eth1 (in switch 1)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;eth2 (in switch 2)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;eth3 (in switch 2)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt;  So I made the following:  &amp;lt;pre&amp;gt; #!/bin/sh # load 3 bonds (in 802.3ad mode) /sbin/modprobe bonding mode=4...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=linux network interface bonding=&lt;br /&gt;
&lt;br /&gt;
I wanted to make the following configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=4&amp;gt;bond2 (active-backup mode)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=2&amp;gt;bond0 (802.3ad mode)&amp;lt;/td&amp;gt;&amp;lt;td colspan=2&amp;gt;bond1 (802.3ad mode)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;eth0 (in switch 1)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;eth1 (in switch 1)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;eth2 (in switch 2)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;eth3 (in switch 2)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So I made the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# load 3 bonds (in 802.3ad mode)&lt;br /&gt;
/sbin/modprobe bonding mode=4 miimon=100 downdelay=100 updelay=100 max_bonds=3&lt;br /&gt;
# put the last bond into active-backup mode&lt;br /&gt;
echo 1 &amp;gt;/sys/class/net/bond2/bonding/mode&lt;br /&gt;
/sbin/ifconfig bond0 up&lt;br /&gt;
/sbin/ifconfig bond1 up&lt;br /&gt;
/sbin/ifconfig bond2 10.0.0.1 netmask 255.255.255.0&lt;br /&gt;
/sbin/ifenslave bond0 eth0&lt;br /&gt;
/sbin/ifenslave bond0 eth1&lt;br /&gt;
/sbin/ifenslave bond1 eth2&lt;br /&gt;
/sbin/ifenslave bond1 eth3&lt;br /&gt;
/sbin/ifenslave bond2 bond0&lt;br /&gt;
/sbin/ifenslave bond2 bond1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So now bond2 is the active virtual network interface,&amp;lt;br&amp;gt;&lt;br /&gt;
bond0 and bond1 are enslaved to bond2,&amp;lt;br&amp;gt;&lt;br /&gt;
eth0 and eth1 are enslaved to bond0 and&amp;lt;br&amp;gt;&lt;br /&gt;
eth2 and eth3 are enslaved to bond1.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pverha10</name></author>
	</entry>
</feed>