From: Luciano Ruete Date: Fri, 23 Jun 2006 23:04:53 +0000 Subject: Re: [LARTC] Multipath Routing Problems Message-Id: <200606232004.53804.luciano@lugmen.org.ar> List-Id: References: <20060623132114.b289b23a.zoup@zoup.org> In-Reply-To: <20060623132114.b289b23a.zoup@zoup.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org El Friday 23 June 2006 06:59, Armin ranjbar escribi=F3: > Hi all :) > > there is somekind of strange Routing problem that im getting with > Linux-2.6.16 and iproute 2.6.16 , when i use command like : > > ip route add default nexthop via 1.1.1.1 dev eth0 nexthop via 1.1.1.2 dev > eth1 > > all packets goes on 1.1.1.2 ( always last interface ) , whats is the > problem ? this situation also tested with equalize flag , on two physical > interface and etc ... Equalize was available as a patch in 2.4 kernels and AFAIK there are not 2.= 6=20 patches, so to set that flag do nothing in most cases.=20 I think you have CONFIG_IP_ROUTE_MULTIPATH_CACHED set in your kernel(which = is=20 EXPERIMENTAL and mostly undocumented) and you're not selecting any of the 4= =20 multipath cache algos. Try adding 'mpath' option to your 'tc' command: ip route add default mpath rr nexthop via 1.1.1.1 dev eth0 nexthop via 1.1.= 1.2=20 dev eth1=20 If that do not work, recompile your kernel without=20 CONFIG_IP_ROUTE_MULTIPATH_CACHED multipath will probably work at first try.= =20 Plz don't forget to post your results to the list. --=20 Luciano _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc