From: Luciano Ruete Date: Tue, 27 Jun 2006 13:16:44 +0000 Subject: Re: [LARTC] Unequal Multipath Routing? Message-Id: <200606271016.44936.luciano@lugmen.org.ar> List-Id: References: <592F914D209FD942908826DFF2277A2D02054563@COMMSSERVER> In-Reply-To: <592F914D209FD942908826DFF2277A2D02054563@COMMSSERVER> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Tuesday 27 June 2006 08:33, Andrew Lyon wrote: > Hi, > > I am currently using a 2.4 kernel with multipath routing patch v5 to send > outgoing packets in a 1:1 ratio over two lines, however the lines do not > actually have equal upstream bandwidth, one has 800kbit and the other > 600kbit, so ideally I would like to send packets in a 4:3 ratio, is there > anything in 2.6 or a patch for 2.4 that could be used to do that? > > I tried this ugly hack but it didn't seem to work: > > ip route add default src my.ip.add.res equalize nexthop via a.a.a.a weight > 1 nexthop via b.b.b.b weight 1 nexthop via a.a.a.a weight 1 exthop via > b.b.b.b weight 1 nexthop via a.a.a.a weight 1 nexthop via b.b.b.b weight 1 > nexthop via a.a.a.a weight 1 how about: ip route add default nexthop via a.a.a.a weight 4 nexthop via b.b.b.b weight 3 Not tested but i think it can work. -- Luciano _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc