Continue the previous post “Configure OSPF on Juniper” , now we will configure the default route.
The scenario is IP loopback interface of J1 (126.96.36.199/32) will not advertised through OSPF, but J2 and J3 will reach it through the default route that injected into OSPF.
First of all, remove the loopback interface of J1 from OSPF :
root@J1# edit protocols ospf area 0
[edit protocols ospf area 0.0.0.0]
root@J1# delete interface lo0.0