From: "Marcos Schonfeld" Date: Thu, 26 Aug 2004 13:06:22 +0000 Subject: [LARTC] =?iso-8859-1?Q?RE:_=5BLARTC=5D_Load_Balance_simply_doesn=B4t_work...?= Message-Id: <005c01c48b6d$90009570$0100a8c0@nueva2> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi, I don't share your opinion. In fact, I worked hard to get all this things working and finally it DOES work. I followed the explanation in the LARTC-HOWTO in section 4.2: ip route add $P1_NET dev $IF1 src $IP1 table 10 ip route add default via $P1 table 10 ip route add $P2_NET dev $IF2 src $IP2 table 20 ip route add default via $P2 table 20 ip route add $P1_NET dev $IF1 src $IP1 # This may be not necessary ip route add $P2_NET dev $IF2 src $IP2 # This may be not necessary ## ip route add default via $P1 ## You don't have to set this default gw, because you'll be routing accross this gateway instead of doing load-balance ip rule add from $IP1 table T1 ip rule add from $IP2 table T2 ip route add default scope global nexthop via $P1 dev $IF1 weight 1 \ nexthop via $P2 dev $IF2 weight 1 That's all, the last command is the default mutlipath gateway you will route packets accross. =20 >=20 > i=B4ve been searching for a load balance solution since a month=20 > ago... what i can say is that it simply doesn=B4t work. I was=20 > unable to find one guy that did it with sucess. When "load=20 > balance" is the subject of the message on the list, the=20 > message is simply ignored. > So... if it doesn=B4t work... why LARTC don=B4t delete it from the=20 > HOW TO and answer us with some "it simply doesn=B4t work...=20 > give up man!". This can save the time of a lot of guys,=20 > including me.... > Tks anyway > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/