$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Bonding_Examples</id>
	<title>Bonding Examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Bonding_Examples"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Bonding_Examples&amp;action=history"/>
	<updated>2026-06-14T11:01:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=Bonding_Examples&amp;diff=108&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;== Bonding EoIP tunnels over two wireless links ==  This is an example of aggregating multiple network interfaces into a single pipe. In particular, it is shown how to aggrega...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Bonding_Examples&amp;diff=108&amp;oldid=prev"/>
		<updated>2015-01-26T15:44:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Bonding EoIP tunnels over two wireless links ==  This is an example of aggregating multiple network interfaces into a single pipe. In particular, it is shown how to aggrega...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Bonding EoIP tunnels over two wireless links ==&lt;br /&gt;
&lt;br /&gt;
This is an example of aggregating multiple network interfaces into a single pipe. In particular, it is shown how to aggregate multiple virtual (EoIP) interfaces to get maximum throughput (MT) with emphasis on availability.&lt;br /&gt;
&lt;br /&gt;
===Network Diagram===&lt;br /&gt;
&lt;br /&gt;
Two routers R1 and R2 are interconnected via multihop wireless links. Wireless interfaces on both sides have assigned IP addresses.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bonding ARP Monitoring Exam.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Getting started===&lt;br /&gt;
&lt;br /&gt;
Bonding could be used only on OSI layer 2 (Ethernet level) connections. Thus we need to create EoIP interfaces on each of the wireless links. This is done as follows:&lt;br /&gt;
* on router R1:&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; /interface eoip add remote-address=10.0.1.1/24 tunnel-id=1&lt;br /&gt;
[admin@CableFree] &amp;gt; /interface eoip add remote-address=10.0.2.1/24 tunnel-id=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* and on router R2&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; /interface eoip add remote-address=10.1.1.1/24 tunnel-id=1&lt;br /&gt;
[admin@CableFree] &amp;gt; /interface eoip add remote-address=10.2.2.1/24 tunnel-id=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second step is to add bonding interface and specify EoIP interfaces as slaves:&lt;br /&gt;
* R1:&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; / interface bonding add slaves=eoip-tunnel1,eoip-tunnel2 mode=balance-rr &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* R2&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; / interface bonding add slaves=eoip-tunnel1,eoip-tunnel2 mode=balance-rr &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is to add IP addresses to the bonding interfaces:&lt;br /&gt;
&lt;br /&gt;
* R1:&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; / ip address add address 192.168.0.1/24 interface=bonding1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* R2&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; / ip address add address 192.168.0.2/24 interface=bonding1 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test the configuration===&lt;br /&gt;
&lt;br /&gt;
Now two routers are able to reach each other using addresses from the 192.168.0.0/24 network. To verify bonding interface functionality, do the following:&lt;br /&gt;
* R1:&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; /interface monitor-traffic eoip-tunnel1,eoip-tunnel2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* R2&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; /tool bandwidth-test 192.168.0.1 direction=transmit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see that traffic is distributed equally across both EoIP interfaces:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@CableFree] &amp;gt; /int monitor-traffic eoip-tunnel1,eoip-tunnel2              &lt;br /&gt;
    received-packets-per-second: 685      685                                  &lt;br /&gt;
       received-bits-per-second: 8.0Mbps  8.0Mbps                              &lt;br /&gt;
        sent-packets-per-second: 21       20                                   &lt;br /&gt;
           sent-bits-per-second: 11.9kbps 11.0kbps                             &lt;br /&gt;
    received-packets-per-second: 898      899                                  &lt;br /&gt;
       received-bits-per-second: 10.6Mbps 10.6Mbps                             &lt;br /&gt;
        sent-packets-per-second: 20       21                                   &lt;br /&gt;
           sent-bits-per-second: 11.0kbps 11.9kbps                             &lt;br /&gt;
    received-packets-per-second: 975      975                                  &lt;br /&gt;
       received-bits-per-second: 11.5Mbps 11.5Mbps                             &lt;br /&gt;
        sent-packets-per-second: 22       22                                   &lt;br /&gt;
           sent-bits-per-second: 12.4kbps 12.3kbps                             &lt;br /&gt;
    received-packets-per-second: 980      980                                  &lt;br /&gt;
       received-bits-per-second: 11.6Mbps 11.6Mbps                             &lt;br /&gt;
        sent-packets-per-second: 21       21                                   &lt;br /&gt;
           sent-bits-per-second: 11.9kbps 11.8kbps                             &lt;br /&gt;
    received-packets-per-second: 977      977                                  &lt;br /&gt;
       received-bits-per-second: 11.6Mbps 11.5Mbps                             &lt;br /&gt;
        sent-packets-per-second: 21       21                                   &lt;br /&gt;
           sent-bits-per-second: 11.9kbps 11.8kbps                             &lt;br /&gt;
-- [Q quit|D dump|C-z pause]&lt;br /&gt;
[admin@CableFree] &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Link Monitoring===&lt;br /&gt;
&lt;br /&gt;
It is easy to notice that with the configuration above as soon as any of individual link fails, the bonding interface throughput collapses. That&amp;#039;s because no link monitoring is performed, consequently, the bonding driver is unaware of problems with the underlying links. Enabling link monitoring is a must in most bonding configurations. To enable ARP link monitoring, do the following:&lt;br /&gt;
&lt;br /&gt;
* R1:&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; / interface bonding set bonding1 link-monitoring=arp arp-ip-targets=192.168.0.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* R2&lt;br /&gt;
&amp;lt;pre&amp;gt;[admin@CableFree] &amp;gt; / interface bonding set bonding1 link-monitoring=arp arp-ip-targets=192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Bonding Multiple P2P wireless links==&lt;br /&gt;
&lt;br /&gt;
Consider following setup:&lt;br /&gt;
&lt;br /&gt;
[[File:bonding-p2p-wireless.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[M:Interface/Bonding | Bonding]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Interface]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Examples]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>