From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-2?Q?Micha=B3_Margula?= Date: Tue, 05 Jun 2007 09:13:52 +0000 Subject: [LARTC] Multipath routing Message-Id: <46652950.8000701@uznam.net.pl> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hello! I have trouble with multipath routing. Those options are enabled in kernel: [*] IP: policy routing [*] IP: equal cost multipath [*] IP: equal cost multipath with caching support (EXPERIMENTAL) <*> MULTIPATH: round robin algorithm But issuing: ip r a 1.2.3.0/23 scope global equalize nexthop via 80.245.176.11 \ dev eth0 weight 1 nexthop via 80.245.176.13 dev eth0 weight 1 and then # ip r s [...] 1.2.3.0/24 nexthop via 80.245.176.11 dev eth0 weight 1 nexthop via 80.245.176.13 dev eth0 weight 1 As you can see there is no equalize keyword in here. Also I have trouble using multipath quagga, it simply doesn't put=20 multipath route in routing table. For example: faramir# sh ip bgp 10.100.0.1 BGP routing table entry for 10.101.0.0/22 Paths: (2 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer Local 80.245.176.13 (metric 1) from 80.245.176.13 (80.245.177.4) Origin IGP, metric 0, localpref 100, weight 150, valid, internal,=20 best Last update: Tue Jun 5 01:59:29 2007 Local 80.245.176.10 (metric 1) from 80.245.176.10 (80.245.176.10) Origin IGP, metric 0, localpref 100, weight 100, valid, internal Last update: Tue Jun 5 01:28:02 2007 # ip r s [...] 10.100.0.0/22 via 80.245.176.11 dev eth0 proto zebra But if I manually put something like that in quagga: faramir(config)# ip route 1.2.3.0/24 80.245.176.13 faramir(config)# ip route 1.2.3.0/24 80.245.176.11 Then: # ip r s [...] 1.2.3.0/24 nexthop via 80.245.176.11 dev eth0 weight 1 nexthop via 80.245.176.13 dev eth0 weight 1 Please help, I am out of ideas. --=20 Micha=B3 Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/ "W =BFyciu pi=EAkne s=B1 tylko chwile" [Ryszard Riedel] _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc