Configuring static routes on Juniper

After having a complete detail about the difference between the routing table and the forwarding table, it is time to learn how to configure static routes on the Juniper device.

I do have 2 Juniper routers connected to each other on the ge-0/0/2 interfaces. Each router has a loopback interface acting as a network on each device.

The goal of this LAB is to be able to ping from to and vice versa. Without doing any routing, whenever the packet comes from to R1 router asking to go to, then R1 will check if his forwarding table that there is no entry to and will drop the packet. Same happens on R2 if want to reach to, it will drop the packet.

Let’s start by putting IP addresses on R1 then on R2:

root@R1# set interfaces ge-0/0/2 unit 0 family inet address


root@R1# set interfaces lo0 unit 0 family inet address


root@R1# commit

commit complete



Apologies, the Full Lesson Access is Only for Members....


Get Access to all Lessons from different Vendors


Affordable Price to Enhance your IT Skills!


Always Accessing all Lessons including the New Added Ones

100% Satisfaction Guaranteed!

You can cancel your membership at anytime.
No Questions Asked Whatsover!

Course Content


Submit a Comment

Your email address will not be published. Required fields are marked *