[quagga-users 8464] Problem with Multipath Routing

Jorge Rodríguez jrs327 at tid.es
Tue May 29 18:08:09 IST 2007


Hi all,

I am trying to send traffic through multiple paths in a simple test bed. 
However, I am facing some problems. I would be very grateful if somebody 
could help me :-)

The test bed is the following one:

+----------+     +------+       +------+      +----------+
|          |     |      |-------|      |      |          |
|  net 1   |-----| rt 1 |       | rt 2 |------|   PC 1   |
|          |     |      |-------|      |      |          |
+----------+     +------+       +------+      +----------+



net 1 -> 10.95.0.0/19
rt1 interface in net 1 -> 10.95.7.218
rt1 shared interfaces -> 172.16.96.4
                                    172.16.99.4
rt2 shared interfaces -> 172.16.96.2
                                    172.16.99.2
rt2 interface with PC1 -> 172.16.97.2
PC1 interface              -> 172.16.97.3

I have configured rt1 and rt2 with ./configure --enable-multipath=2.

I think I have configured rt1 and rt2 correctly. In fact, when I type  
"ip route list" in rt1  I obtain the following routing table:

172.16.97.0/24  proto zebra  metric 30
       nexthop via 172.16.96.2  dev eth0 weight 1
       nexthop via 172.16.99.2  dev eth2 weight 1
172.16.96.0/24 dev eth0  proto kernel  scope link  src 172.16.96.4
172.16.99.0/24 dev eth2  proto kernel  scope link  src 172.16.99.4
10.95.0.0/19 dev eth1  proto kernel  scope link  src 10.95.7.218


It seems as though I have two paths to reach PC1 with the same weight. 
However, when I send two ICMP requests from different machines in net1, 
both travel the same interface (172.16.99.2 dev eth2).

I don't know what I am doing wrong. Please, could somebody help me?

Thanks in advance!
Jorge


More information about the Quagga-users mailing list