[LARTC] Multipath routing
Michał Margula
alchemyx at uznam.net.pl
Tue Jun 5 11:13:52 CEST 2007
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
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,
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.
--
Michał Margula, alchemyx at uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
More information about the LARTC
mailing list