Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Users

multipath routing with ospf and zebra

 

 

Quagga users RSS feed   Index | Next | Previous | View Threaded


dcharan at atcorp

Aug 29, 2011, 7:53 AM

Post #1 of 1 (558 views)
Permalink
multipath routing with ospf and zebra

I have Ubuntu 10.4 running on a few machines with the following
configurations. As far as I can tell, everything for multipath routing
is present and seems to be acknowledged. The problem comes if HART0 ---
HART1 doesn't have the first route on the same subnet (i.e. one has
192.168.1.2 and the other has 192.168.2.3), it can't seem to route. It
is also unclear why the "ip route" command does not show the multiple
next hops to get to the 10.1.1.0 interface, I think that is really the
problem?

EP0 (10.1.2.2) ----- (10.1.2.3) HART0 | ------ | HART1 (10.1.1.3) ----
(10.1.1.2) EP1

The HART0 --- HART1 has four different paths:

192.168.1.1 --- 192.168.1.2
192.168.2.1 --- 192.168.2.2
192.168.3.1 --- 192.168.3.2
192.168.4.1 --- 192.168.4.2

I am trying to get multipath routing to work. I run quagga/zebra on all
four machines. I have compiled zebra with --enable-multipath=0 (and
I've tried 4 too)

On HART0:

"ip route" gives
192.168.4.0/24 dev eth23 proto kernel scope link src 192.168.4.1
192.168.3.0/24 dev eth25 proto kernel scope link src 192.168.3.1
192.168.2.0/24 dev eth24 proto kernel scope link src 192.168.2.1
192.168.1.0/24 dev eth22 proto kernel scope link src 192.168.1.1
10.1.1.0/24 via 192.168.1.2 dev eth22 proto zebra metric 20
192.168.10.0/24 dev eth26 proto kernel scope link src 192.168.10.17
10.1.2.0/24 dev eth27 proto kernel scope link src 10.1.2.3
default via 192.168.10.1 dev eth26

zebra-hart0.multicasttest.OARS> show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
I - ISIS, B - BGP, > - selected route, * - FIB route, o - OSPFv3

K>* 0.0.0.0/0 via 192.168.10.1, eth26
O>* 10.1.1.0/24 [110/20] via 192.168.1.2, eth22, 00:17:34
via 192.168.4.2, eth23, 00:17:34
via 192.168.3.2, eth25, 00:17:34
via 192.168.2.2, eth24, 00:17:34
O 10.1.2.0/24 [110/10] is directly connected, eth27, 00:17:50
C>* 10.1.2.0/24 is directly connected, eth27
C>* 127.0.0.0/8 is directly connected, lo
O 192.168.1.0/24 [110/10] is directly connected, eth22, 00:17:50
C>* 192.168.1.0/24 is directly connected, eth22
O 192.168.2.0/24 [110/10] is directly connected, eth24, 00:17:50
C>* 192.168.2.0/24 is directly connected, eth24
O 192.168.3.0/24 [110/10] is directly connected, eth25, 00:17:50
C>* 192.168.3.0/24 is directly connected, eth25
O 192.168.4.0/24 [110/10] is directly connected, eth23, 00:17:50
C>* 192.168.4.0/24 is directly connected, eth23
C>* 192.168.10.0/24 is directly connected, eth26

So, I can see multiple routes exist, my kernel is compiled with
"CONFIG_IP_ROUTE_MULTIPATH=y"

hart0:~> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0
eth23
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0
eth25
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
eth24
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth22
10.1.1.0 192.168.1.2 255.255.255.0 UG 20 0 0
eth22
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0
eth26
10.1.2.0 0.0.0.0 255.255.255.0 U 0 0 0
eth27
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0
eth26


Any help is appreciated. I am running quagga.0.99.16-mobile-routing-rc1.

Thanks again,
Debbie Charan
_______________________________________________
Quagga-users mailing list
Quagga-users [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-users

Quagga users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.