Continue the previous post “Configure OSPF on Juniper” , now we will configure the default route.
The scenario is IP loopback interface of J1 (184.108.40.206/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
Continue reading “OSPF Default Route on Juniper”
With this simple topology we will configure OSPF single area on Juniper routers.
Let’s start from J1, setup the IP Addresses :
root@J1# set interfaces ge-0/0/0 unit 0 family inet address 172.28.1.3/24
root@J1# set interfaces lo0 unit 0 family inet address 220.127.116.11/32
Now configure J1 for OSPF :
root@J1# set protocols ospf area 0 interface ge-0/0/0.0
root@J1# set protocols ospf area 0 interface lo0.0 passive
Continue reading “Configure OSPF on Juniper”
In OSPF Multi Area, all area must be connected to the backbone area (area 0), in order to communicate each other. Inter area routing will through the backbone area (area 0). If there’s area that isn’t connected to the backbone area we can setup a virtual link.
Based on topology above, area 2 doesn’t have connection/route to other area, since it’s not connected to the backbone area (area 0).
In this case, we can setup a Virtual Link from R4 to R2 and vice versa, from R2 to R4.
Continue reading “OSPF Virtual Link”