[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Get an ip address (or two, or whatever). Bond it to "lo" (not a card, 
but in the box).
In the router upstream, make static routes for those ip addies, 
pointing to each separate card.

linux box:
111.111.111.110 (eth0)
111.111.111.111 (eth1)
111.111.111.112 (lo:1)
111.111.111.113 (lo:1)

router:
route 111.111.111.112 255.255.255.255 111.111.111.110
route 111.111.111.112 255.255.255.255 111.111.111.111 100
route 111.111.111.113 255.255.255.255 111.111.111.111
route 111.111.111.113 255.255.255.255 111.111.111.110 100

turn on ip forwarding in the kernel.

What you are doing:
Telling the packets that come into the router to be sent to multiple 
cards in a linux box, rather than to specific addresses bonded onto the 
cards.

Why this works:
The linux box has the IP addresses bonded to loopback, so it recognizes 
the addresses as its own. The router sends to addresses based on 
availability.

Why use round robin:
To get rid of route preference bias in routers.

Most people look at me funny when I explain this, but it's a great way 
to have any number of addresses on a machine, and a card can die, a 
cable can die, and the machine keeps running, the services stay 
'alive".

-Bop


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01050" href="msg01050.html">[ale] Load Balancing Across Multiple Interfaces</a></strong>
<ul><li><em>From:</em> ron at Opus1.COM (Ronald Chmara)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00974" href="msg00974.html">[ale] Load Balancing Across Multiple Interfaces</a></strong>
<ul><li><em>From:</em> kevinostoll at yahoo.com (Kevin O'Neill Stoll)</li></ul></li>
<li><strong><a name="01013" href="msg01013.html">[ale] Load Balancing Across Multiple Interfaces</a></strong>
<ul><li><em>From:</em> dragon at atlantacon.org (Drag0n)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01048.html">[ale] What's in this &quot;Bin Laden&quot; trash spew?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01050.html">[ale] Load Balancing Across Multiple Interfaces</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01013.html">[ale] Load Balancing Across Multiple Interfaces</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01050.html">[ale] Load Balancing Across Multiple Interfaces</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01049"><strong>Date</strong></a></li>
<li><a href="threads.html#01049"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>