<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello.
<br>
I have some problem with ecmp in bird.
<br>
<br>
We try to migrate from quagga to bird and have faced with ecmp
problem in our schema.
<br>
<br>
<img alt="schema" title="schema"
src="cid:part1.07070004.06050703@onat.edu.ua" height="225"
width="662"><br>
<br>
<br>
r0-2 - are Linux routers,debian, with bird 1.3.10-1 from debian
repo.
<br>
Both r1,r2 inject default route to area 1 as expected. But r0 inject
to kernel only one route.
<br>
<br>
r0
<br>
bird> show route
<br>
0.0.0.0/0 via 10.200.1.101 on eth0 [onat_ospf 13:05] * IA (150/1010)
[10.200.2.101]
<br>
10.200.1.0/24 dev eth0 [direct1 18:05] * (240)
<br>
dev eth0 [onat_ospf 18:20] I (150/10) [10.200.2.100]
<br>
<br>
bird> show ospf lsadb
<br>
<br>
Area 0.0.0.1
<br>
<br>
Type LS ID Router Age Sequence Checksum
<br>
0001 10.200.1.10 10.200.1.10 660 8000008a 2fc1
<br>
0003 0.0.0.0 10.200.2.100 947 80000029 64ad
<br>
0002 10.200.1.100 10.200.2.100 963 8000002e c3a4
<br>
0001 10.200.2.100 10.200.2.100 547 80000083 796c
<br>
0003 0.0.0.0 10.200.2.101 967 8000002c 58b5
<br>
0001 10.200.2.101 10.200.2.101 955 80000079 8b61
<br>
<br>
bird> show ospf state
<br>
<br>
area 0.0.0.1
<br>
<br>
router 10.200.1.10
<br>
distance 0
<br>
network 10.200.1.0/24 metric 10
<br>
<br>
router 10.200.2.100
<br>
distance 10
<br>
network 10.200.1.0/24 metric 10
<br>
xnetwork 0.0.0.0/0 metric 1000
<br>
<br>
router 10.200.2.101
<br>
distance 10
<br>
network 10.200.1.0/24 metric 10
<br>
xnetwork 0.0.0.0/0 metric 1000
<br>
<br>
network 10.200.1.0/24
<br>
dr 10.200.2.100
<br>
distance 10
<br>
router 10.200.2.100
<br>
router 10.200.1.10
<br>
router 10.200.2.101
<br>
r0:~# ip ro sh
<br>
default via 10.200.1.101 dev eth0 proto bird
<br>
10.200.1.0/24 dev eth0 proto kernel scope link src 10.200.1.10
<br>
<br>
With quagga all fine.
<br>
<br>
r0# show ip route
<br>
Codes: K - kernel route, C - connected, S - static, R - RIP,
<br>
O - OSPF, I - IS-IS, B - BGP, A - Babel,
<br>
> - selected route, * - FIB route
<br>
<br>
O>* 0.0.0.0/0 [110/1010] via 10.200.1.100, eth0, 00:00:35
<br>
* via 10.200.1.101, eth0, 00:00:35
<br>
O 10.200.1.0/24 [110/10] is directly connected, eth0, 00:00:35
<br>
C>* 10.200.1.0/24 is directly connected, eth0
<br>
C>* 127.0.0.0/8 is directly connected, lo
<br>
<br>
I have found some reference in ospf doc about it
<br>
ecmp switch [limit number]
<br>
but if I understand right, this refers only for ospf behavior.
<br>
<br>
How does bird process ecmp routes? Can bird proccess ecmp routes
like quagga ?
<br>
Thanks.
<pre class="moz-signature" cols="72">--
С уважением,
Самодед Владимир
SVAJ-RIPE|SVA88-UANIC</pre>
</body>
</html>