ospf,kernel and ECMP
Volodymyr Samodid
vladimir.samoded at onat.edu.ua
Thu Aug 1 11:24:46 CEST 2013
Hello.
I have some problem with ecmp in bird.
We try to migrate from quagga to bird and have faced with ecmp problem
in our schema.
schema
r0-2 - are Linux routers,debian, with bird 1.3.10-1 from debian repo.
Both r1,r2 inject default route to area 1 as expected. But r0 inject to
kernel only one route.
r0
bird> show route
0.0.0.0/0 via 10.200.1.101 on eth0 [onat_ospf 13:05] * IA (150/1010)
[10.200.2.101]
10.200.1.0/24 dev eth0 [direct1 18:05] * (240)
dev eth0 [onat_ospf 18:20] I (150/10) [10.200.2.100]
bird> show ospf lsadb
Area 0.0.0.1
Type LS ID Router Age Sequence Checksum
0001 10.200.1.10 10.200.1.10 660 8000008a 2fc1
0003 0.0.0.0 10.200.2.100 947 80000029 64ad
0002 10.200.1.100 10.200.2.100 963 8000002e c3a4
0001 10.200.2.100 10.200.2.100 547 80000083 796c
0003 0.0.0.0 10.200.2.101 967 8000002c 58b5
0001 10.200.2.101 10.200.2.101 955 80000079 8b61
bird> show ospf state
area 0.0.0.1
router 10.200.1.10
distance 0
network 10.200.1.0/24 metric 10
router 10.200.2.100
distance 10
network 10.200.1.0/24 metric 10
xnetwork 0.0.0.0/0 metric 1000
router 10.200.2.101
distance 10
network 10.200.1.0/24 metric 10
xnetwork 0.0.0.0/0 metric 1000
network 10.200.1.0/24
dr 10.200.2.100
distance 10
router 10.200.2.100
router 10.200.1.10
router 10.200.2.101
r0:~# ip ro sh
default via 10.200.1.101 dev eth0 proto bird
10.200.1.0/24 dev eth0 proto kernel scope link src 10.200.1.10
With quagga all fine.
r0# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, A - Babel,
> - selected route, * - FIB route
O>* 0.0.0.0/0 [110/1010] via 10.200.1.100, eth0, 00:00:35
* via 10.200.1.101, eth0, 00:00:35
O 10.200.1.0/24 [110/10] is directly connected, eth0, 00:00:35
C>* 10.200.1.0/24 is directly connected, eth0
C>* 127.0.0.0/8 is directly connected, lo
I have found some reference in ospf doc about it
ecmp switch [limit number]
but if I understand right, this refers only for ospf behavior.
How does bird process ecmp routes? Can bird proccess ecmp routes like
quagga ?
Thanks.
--
? ?????????,
??????? ????????
SVAJ-RIPE|SVA88-UANIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130801/a1d871d8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schema.png
Type: image/png
Size: 29074 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130801/a1d871d8/attachment.png>
More information about the Bird-users
mailing list