[quagga-dev 4306] Trouble with RIP route-maps
ralphb1.quaggadev at gmail.com
Thu Aug 17 09:00:01 BST 2006
I've been trying some experiments with RIP and OSPF route-maps in
Quagga 0.98.5. My first attempts show some odd results that I would
As an example, I'm trying to stop 184.108.40.206/24 being redistributed to
rip, so I've used the following ripd.conf:
redistribute kernel route-map FILTER_RM
route-map FILTER_RM permit 10
match ip address prefix-list FILTER_PL
ip prefix-list FILTER_PL deny 220.127.116.11/24
ip prefix-list FILTER_PL permit any
Now when I "route add -net 18.104.22.168 netmask 255.255.255.0 gw 10.2.0.4"
I see in ripd's logfile that "22.214.171.124/24 is filtered by route-map"
however, in ripd's VTY I nevertheless see a new kernel route
126.96.36.199/24 appear using "show ip rip".
So, what's going on? It's filtered but not filtered ... ?
The equivalent syntax in ospfd.conf appears to filter as expected - a
"route add" of a filtered route will result in an ospf log entry
"Redistribute[Kernel]: 188.8.131.52/24 filtered by route-map" and NO new
entry will be seen with "sho ip ospf database".
Now, I've noted the following in the quagga manual (section 5.8):
In current Quagga's test implementation, ripd applies route-map after
routes are listed in the route table and before routes will be
announced to an interface (something like output filter).
Is this the explanation of the non-fitering I am seeing? If so, I
fail to see that rip's "redistribute route-map" can perform any sort
of meaningful filtering at all.
Is this (bug?) fixed in a later quagga version? Or is there some
other way of filtering routes being redistributed into the rip route
Thanks in anticipation for your assistance.
Best regards, Ralph.
More information about the Quagga-dev