<div dir="ltr"><div>hi, everybody I have encountered similar problems. </div><div><br></div><div>My bird version is 1.3.10 </div><div><br></div><div>I have three devices R0-2, R0 and R1 establish OSPF connections for instance 1, area 20, R0 and R2 establish OSPF connections for instance 2, area 30. </div>
<div><br></div><div>I have the same configuration of R1 and R2, just ip address, route-id different: </div><div># About R2 ospf configuration </div><div><br></div><div>filter export_OSPF { </div><div><br></div><div>if (net = 0.0.0.0 / 0) then { </div>
<div> print "net rejected:", net; </div><div> ospf_metric2 = 20; </div><div> reject; </div><div> } </div><div><br></div><div>if (net = a.b.c.0/24) then { </div><div> print "net accepted:", net; </div>
<div> ospf_metric2 = 20; </div><div> accept; </div><div> } </div><div><br></div><div> reject; </div><div>} </div><div><br></div><div>filter import_OSPF { </div><div><br></div><div>if (net = 0.0.0.0 / 0) then { </div>
<div> print "net accepted:", net; </div><div> ospf_metric2 = 20; </div><div> accept; </div><div> } </div><div><br></div><div> reject; </div><div>} </div><div><br></div><div>protocol ospf ospf_business { </div>
<div> router id e.f.g.h; </div><div> debug all; </div><div> export filter export_OSPF; </div><div> import filter import_OSPF; </div><div> area 0.0.0.30 { </div><div> interface "vlanx" { </div>
<div> hello 10; </div><div> retransmit 5; </div><div> cost 10; </div><div> transmit delay 1; </div><div> dead count 4; </div>
<div> wait 40; </div><div> # Type pointopoint; </div><div> type broadcast; </div><div> # Type pointomultipoint; </div><div> # Priority 0; </div>
<div> authentication cryptographic; </div><div> password "pass"; </div><div> }; </div><div> }; </div><div>} </div><div><br></div><div>On R0 distribute the default route, you can receive from R0 default route on R1: </div>
<div><br></div><div>R1: </div><div>bird> show ospf lsadb ospf_business </div><div>1017-Global </div><div> </div><div> Type LS ID Router Age Sequence Checksum </div><div> 0005 0.0.0.0 x.y.z.1 774 80000533 bf32 </div>
<div> </div><div> Area 0.0.0.20 </div><div> </div><div> Type LS ID Router Age Sequence Checksum </div><div> 0001 x.y.z.1 x.y.z.1 855 80000554 f760 </div><div> 0001 x.y.z.3 x.y.z.3 837 80000552 9ab0 </div>
<div><br></div><div>bird> show route protocol ospf_business </div><div>1007-0.0.0.0 / 0 via x.y.z.1 on vlan43 [ospf_business 11:24] * E2 (150/10/20) [1] [x.y.z.1] </div><div><br></div><div>#</div><div>I can receive from R0 about default route lsadb in R2's lsadb. </div>
<div><br></div><div>bird> show ospf lsadb ospf_business </div><div>1017 - </div><div> Global </div><div> </div><div> Type LS ID Router Age Sequence Checksum </div><div> 0005 0.0.0.0 x.y.z.11 481 8000000d ba52 </div>
<div> </div><div> Area 0.0.0.30 </div><div> </div><div> Type LS ID Router Age Sequence Checksum </div><div> 0001 x.y.z.11 x.y.z.11 481 8000054f 829a </div><div> 0001 x.y.z.12 x.y.z.12 118 8000054a 25ef </div>
<div><br></div><div>However, in the routing table, I can not see the default route. Why? </div><div><br></div><div>Thanks.</div></div>