OSPF Default Route on Juniper

Juniper, OSPF, Topology, rjlogs, GNS3, Junos

Continue the previous post “Configure OSPF on Juniper” , now we will configure the default route.

The scenario is IP loopback interface of J1 (1.1.1.1/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 :

[edit]
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”

Configure OSPF on Juniper

Juniper, OSPF, Topology, rjlogs, GNS3

With this simple topology we will configure OSPF single area on Juniper routers.

Let’s start from J1, setup the IP Addresses :

[edit]
root@J1# set interfaces ge-0/0/0 unit 0 family inet address 172.28.1.3/24

[edit]
root@J1# set interfaces lo0 unit 0 family inet address 1.1.1.1/32

[edit]
root@J1# commit

Now configure J1 for OSPF :

[edit]
root@J1# set protocols ospf area 0 interface ge-0/0/0.0

[edit]
root@J1# set protocols ospf area 0 interface lo0.0 passive

[edit]
root@J1# commit

Continue reading “Configure OSPF on Juniper”

Configure RIP on Juniper and Cisco Routers

In this simple lab will show how to configure RIP routing protocol on Juniper and Cisco routers.

rjlogs, lab, RIP, cisco, juniper, gns3

R1 is a Cisco router, J1 and J2 are Juniper routers.

Let’s starting from J1 :

Assign IP address to each interfaces: IP 172.28.1.3/24 on interface  ge-0/0/0 that connected to R1, 172.28.2.3/24 on interface ge-0/0/1, and 1.1.1.1/32 for IP loopback interface.

[edit]
root@J1# set interfaces ge-0/0/0 unit 0 family inet address 172.28.1.3/24

[edit]
root@J1# set interfaces ge-0/0/1 unit 0 family inet address 172.28.2.3/24

[edit]
root@J1# set interfaces lo0 unit 0 family inet address 1.1.1.1/32

Now tell the router what interfaces will participate in RIP, and we have to give the process an identifier, here we call it RIP-LAB.

[edit]
root@J1# edit protocols rip

[edit protocols rip]
root@J1# set group RIP-LAB neighbor ge-0/0/0.0

[edit protocols rip]
root@J1# set group RIP-LAB neighbor ge-0/0/1.0

Continue reading “Configure RIP on Juniper and Cisco Routers”