In here R1 and R2 are connected via cable
e3 to e3 is 40.40.40.1/24
40.40.40.2/24
Goal is to that R1 will be able go to Loopback address of R2=2.2.2.2 via OSPF
And R2 be able to Ping Loopback of R1=1.1.1.1
Here I will give IP address to R1 em3 and Lo0
root@R1# set interfaces em3 unit 0 family inet address 40.40.40.1/24
root@R1# set interfaces lo0 unit 0 family inet address 1.1.1.1/24
Here are R1 Configuration
root@R1> show configuration
interfaces {
em3 {
unit 0 {
family inet {
address 40.40.40.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.1/24;
}
}
}
}
Here I will give IP address to R2 em3 and Lo0
root@R2# set interfaces em3 unit 0 family inet address 40.40.40.2/24
root@R2# set interfaces lo0 unit 0 family inet address 2.2.2.2/24
root@R2# show interfaces
em3 {
unit 0 {
family inet {
address 40.40.40.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 2.2.2.2/24;
}
}
}
Now seated at R1 I cannot ping Loopback address of R2=2.2.2.2 Why? Since Network 2.2.2.0 is not inside the routing table,
Receive our Juniper complete Blog!
Get our complete tutorial in PDF
[bs_icon name=”glyphicon glyphicon-expand”] Watch the video and you will be able to understand Juniper OSPF Route Configuration much better and Please subscribe to our YouTube Channel.
Want more information on how to become Juniper Certified? Learn more!
Also published on Medium.