On Tue, Feb 02, 2021 at 12:06:37PM +0700, Adiwangsa Kusumah wrote:
> Dear All,
> 
> I have topology as below:
> 
> UP1     UP2
>     \         /
>       \      /
>       OBSD6.6
>         /    \
>       /        \
> OSPF1    OSPF2
> 
> 
> I use openbgpd to upstream and  openospfd to internal
> I want my openbsd send 0.0.0.0/0 to my ospf (single area)
> 
> At my bgpd.conf  I add
> network 0.0.0.0/0
> 
> Ay my ospfd I tri to add
> redistribute default
> and/or
> redistribute 0.0.0.0/0
> 
> when i check my ospf, there is no 0.0.0.0 send to my internal network
> 
> ospfctl sh database self-originated
> 
> Link ID         Adv Router      Age  Seq#       Checksum
> 10. xxx.xxx.248  103.xxx.xxx.11   1225 0x80000048 0x2471
> 10. xxx.xxx.252  103. xxx.xxx.11   1225 0x8000004a 0xf797
> 103. xxx.xxx.72    103. xxx.xxx.11   1225 0x80000048 0xe1c4
> 103. xxx.xxx.60   103. xxx.xxx.11   1225 0x8000004a 0x858d
> 103. xxx.xxx.12   103. xxx.xxx.11   1225 0x8000004a 0x3b05
> 
> Is that any additional configuration at my bgpd.conf or my ospfd.conf?
> Your advice will be appreciated.
> 

ospfd(4) redistribute requires that the corresponding route is present in
the routing table (route -n get default). This is not the case for
bgpd(8). So make sure that you have a default route in kernel routing table.

-- 
:wq Claudio

  • Ask ospfd Adiwangsa Kusumah
    • Re: Ask ospfd Claudio Jeker

Reply via email to