[LARTC] load sharing: ARP problem

Linux Advanced Routing and Traffic Control

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

 



--0-185141994-1061296378=:49949
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,
 
Thanks for the reply.
yes and  sorry I forgot to mention that it is about load sharing of routing and not webserver.
If I use same MAC addresses, then it will be a problem when there is a connection between switches. (that's why linux-bonding driver does not help in this case as it forces to use same MAC addresses)
Also, I did not understand "configure your switch to have a lag on those ports...."
One ethernet switch connects all eth0 ports and other switch connects all eth1 ports as shown in figure in previous mail. So, could you please explain little more about how the configuration of switch to add lag should be used ? 
 
Thanks and Regards,
Ojasi


Ard van Breemen <ard@xxxxxxxxx> wrote:
On Tue, Aug 19, 2003 at 11:33:47AM +0100, Ojasi wrote:
> I have some questions regarding load-sharing in the following scenario.
> 
> ------------------------------------------------------------------------------------LAN1
> | | |
> eth0 eth0 eth0
> (PC1) (PC2) (PC3)
> eth1 eth1 eth1
> | | |
> ----------------------------------------------------------------------------------- LAN2
> 
> Each machine has 2 ethernet cards but single IP address.
> For each machine, eth0 and eth1 are in active-active mode for load sharing and are on different LANs
> In this case, how to solve the ARP problem.
> I tried to look for many available solutions on net regarding this. But could not find any perfect solution. Most of the solutions offer active-standby but not active-active.
> Can anyone help in this case ? how to deal with ARP problem and achieve load sharing ? 

Depends on what you are trying to do...
The load sharing of what?
If you need the loadsharing of routing, you need to configure
each card with the same mac-address, and configure your switch to
have a lag on those ports....

If you need to share the load of a webserver f.i., then take a
look at keepalived...
-- 
mail up 14:42, 7 users, load 0.01, 0.02, 0.00
mistar1 down 45+00:24
Let your government know you value your freedom: sign the petition:
http://petition.eurolinux.org

Win TVs, Bikes, DVD players and more!Click onYahoo! India Promos
--0-185141994-1061296378=:49949
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for the reply.</DIV>
<DIV>yes and &nbsp;sorry I forgot to mention that&nbsp;it is about load sharing of routing and not webserver.</DIV>
<DIV>If I use same MAC addresses, then it will be a problem when there is a connection between switches. (that's why linux-bonding driver does not help in this case as it forces to use same MAC addresses)</DIV>
<DIV>Also, I did not understand "configure your switch to have a lag on those ports...."</DIV>
<DIV>One ethernet switch connects all eth0 ports and other switch connects all eth1 ports as shown in figure in previous mail. So, could you please explain little more about how&nbsp;the configuration of switch to add lag should be used ? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks and Regards,</DIV>
<DIV>Ojasi<BR><BR><BR><B><I>Ard van Breemen &lt;ard@xxxxxxxxx&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid; WIDTH: 100%">On Tue, Aug 19, 2003 at 11:33:47AM +0100, Ojasi wrote:<BR>&gt; I have some questions regarding load-sharing in the following scenario.<BR>&gt; <BR>&gt; ------------------------------------------------------------------------------------LAN1<BR>&gt; | | |<BR>&gt; eth0 eth0 eth0<BR>&gt; (PC1) (PC2) (PC3)<BR>&gt; eth1 eth1 eth1<BR>&gt; | | |<BR>&gt; ----------------------------------------------------------------------------------- LAN2<BR>&gt; <BR>&gt; Each machine has 2 ethernet cards but single IP address.<BR>&gt; For each machine, eth0 and eth1 are in active-active mode for load sharing and are on different LANs<BR>&gt; In this case, how to solve the ARP problem.<BR>&gt; I tried to look for many available solutions on net regarding this. But could not find any perfect solution. Most of the solutions offer active-standby but not active-active.<BR>&gt; Can anyone help in this case ?
 how to deal with ARP problem and achieve load sharing ? <BR><BR>Depends on what you are trying to do...<BR>The load sharing of what?<BR>If you need the loadsharing of routing, you need to configure<BR>each card with the same mac-address, and configure your switch to<BR>have a lag on those ports....<BR><BR>If you need to share the load of a webserver f.i., then take a<BR>look at keepalived...<BR>-- <BR>mail up 14:42, 7 users, load 0.01, 0.02, 0.00<BR>mistar1 down 45+00:24<BR>Let your government know you value your freedom: sign the petition:<BR>http://petition.eurolinux.org<BR></BLOCKQUOTE><p><font face=arial size=-1><img src="http://in.yimg.com/i/in/specials/inpromotionslogo.jpg"; width=28 height=22 border=0 alt="Yahoo! India Promotions"></a>
<a href="http://in.promos.yahoo.com"; target="_blank"><b>Win</b></a> TVs, Bikes, DVD players and more!
<font face=arial size=-1><b>Click on
<a href="http://in.promos.yahoo.com";></b>Yahoo! India Promos</a></font>
--0-185141994-1061296378=:49949--


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux