<div dir="ltr"><div></div><div><br></div><div class="gmail_quote"><div dir="ltr"><div>Hi,<br><br>I have Three routers in my network like the below diagram. <br>RTR01 has a BGP to RTR02 and RTR02 has an OSPF to RTR03. I wrote a filter to redistribute origin routes from BGP protocol to OSPF in RTR02 but it's not working.<br>   ┌───────┠   ┌───────┠     ┌─────â”<br>   │ RTR01.   ├──┤ RTR02   ├── ──┤ RTR03 │<br>   └───────┠   └───────┠     └─────â”<br>       10.2.2.3 -BGP- 10.2.2.2<br>                  10.100.100.2 -OSPF- 10.100.100.3<br> <br><br>RTR02 Bird config:<br><br>protocol bgp bgp_to_rtr01{<br> local as 64513;<br> neighbor 10.2.2.3 as 64512;<br> source address 10.2.2.2;<br> allow local as 64513;<br>  multihop;<br> ipv4 {<br>    import all;<br>    export all;<br>    };<br>}<br><br>protocol ospf my_ospf {<br>  rfc1583compat yes;<br>  tick 2;<br>  ecmp no;<br>  ipv4 {<br> import where proto = "bgp_to_rtr01";<br> };<br>  area 0.0.0.0 {<br>    stub no;<br>    interface "dummy0" {<br>     type ptp;<br>       };<br>    interface "enp0s9" {<br>     type broadcast;<br>       };<br>   };<br> }<br></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><font color="#888888"><font color="#000000"><br><br>I did the same redistribution to OSPF to announce the default route via OSPF and it is working, but the same filter for redistribution BGP to OSPF is not.<br><br>Best Regards,<br>Keyvan<br><br><br></font></font></div></div></div></div></div>
</div></div>