SlideShare uma empresa Scribd logo
1 de 31
Juniper JNCIA
ASM Educational Center Inc. (ASM)
Where Training,Technology& Service Converge
CheckoutourJuniperTrainingVideos:www.asmed.com/j1
Juniper RIP Route Configuration
Juniper RIP Route Configuration
Understanding Basic RIP Routing
RIP is an interior gateway protocol (IGP) that routes packets within a single
autonomous system (AS). By default, RIP does not advertise the subnets
that are directly connected through the device's interfaces. For traffic to
pass through a RIP network, you must create a routing policy to export
these routes. Advertising only the direct routes propagates the routes to the
immediately adjacent RIP-enabled router only. To propagate all routes
through the entire RIP network, you must configure the routing policy to
export the routes learned through RIP.
Juniper RIP Route Configuration
Juniper RIP Route Configuration
Goal is that R2 be able to ping R4 Loopback address =4.4.4.4 via RIP
Step 1) I go to R2 and enable RIP routing
Hint: for the neighbors you cannot use the neighbor Ip address ; you need
to use interface in this case of R2 neighbor is R4 with interface em2.0
root@R2# set protocols rip group RIPGROUP neighbor em2.0
Juniper RIP Route Configuration
Now When I go to R4#show route I do not see any neighbor yet
root@R4> show route
inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
4.4.4.4/32 *[Direct/0] 00:40:13
> via lo0.0
20.20.20.0/24 *[Direct/0] 00:42:30
> via em2.0
20.20.20.4/32 *[Local/0] 00:42:30
Local via em2.0
Juniper RIP Route Configuration
Step 2) Now I will enable RIP on R4
root@R4# set protocols rip group RIPGROUP4 neighbor em2
Hint: The Group name is local significance does not need to be same
Juniper RIP Route Configuration
Step 3) You configure a basic RIP network, create a RIP group called rip-group, and add the
directly connected interfaces to the RIP group. Then you configure a routing policy to advertise
direct routes using policy statement advertise-routes-through-rip.
By default, Junos OS does not advertise RIP routes, not even routes that are learned through
RIP. To advertise RIP routes, you must configure and apply an export routing policy that
advertises RIP-learned and direct routes.
Now I need to create a Policy with Statements for Example RIPPOLICY
root@R4# set policy-options policy-statement RIPPOLICY term 1 from protocol rip
set policy-options policy-statement RIPPOLICY term 1 from protocol direct
set policy-options policy-statement RIPPOLICY term 1 then accept
As we see in above in order to create a Policy I need a term 1 , from , Then I need action.
Juniper RIP Route Configuration
Here is show configuration so far on R4#
policy-options {
policy-statement RIPPOLICY {
term 1 {
from protocol [ rip direct ];
then accept;
}
}
}
Now we need to export (Apply) this policy to Rip Group Called RIPGROUP4
root@R4# set protocols rip group RIPGROUP4 export RIPPOLICY
Juniper RIP Route Configuration
Hint: I need to do export ; since we are trying to bring ( the directed Connected network) to the
RIP , now let say on the left we had OPSF network between R1, R2,R3 and we need all those
Loopback of R1,R2,R3 being seen inside the RIP Network or routing table of R4 ,then I need to
have this on my policy option ( instead of RIP I will have OSPF) . We will do this on next Lab
policy-options {
policy-statement OSPFPOLICY {
term 1 {
from protocol [ OSPF ];
then accept;
}
}
}
So on R4 we have this so far :
R4> Show configuration
Juniper RIP Route Configuration
protocols {
rip {
group RIPGROUP4 {
export RIPPOLICY;
neighbor em2.0;
}
}
}
policy-options {
policy-statement RIPPOLICY {
term 1 {
from protocol [ rip direct ];
then accept;
}
}
}
Juniper RIP Route Configuration
Step 4) Now If I go to R2 and do show route I will see the loopback address of R4=4.4.4.4
root@R2> show route
inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
2.2.2.2/32 *[Direct/0] 01:14:43
> via lo0.0
4.4.4.4/32 *[RIP/100] 00:14:27, metric 2, tag 0
> to 20.20.20.4 via em2.0
10.10.10.0/24 *[Direct/0] 01:28:38
> via em1.0
10.10.10.2/32 *[Local/0] 01:28:38
Local via em1.0
20.20.20.0/24 *[Direct/0] 01:28:37
> via em2.0
20.20.20.2/32 *[Local/0] 01:28:37
Local via em2.0
30.30.30.0/24 *[Direct/0] 01:28:37
> via em3.0
30.30.30.2/32 *[Local/0] 01:28:37
Local via em3.0
224.0.0.9/32 *[RIP/100] 00:52:33, metric 1
MultiRecv
Juniper RIP Route Configuration
Now why I see it? Since On the R4 I did export the Policy; but If I go to R4 and do show route I do not see the
loopback of R2=2.2.2.2 , since On the R2 I did not export the Policy .
root@R4> show route
inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
4.4.4.4/32 *[Direct/0] 01:33:15
> via lo0.0
20.20.20.0/24 *[Direct/0] 01:35:32
> via em2.0
20.20.20.4/32 *[Local/0] 01:35:32
Local via em2.0
224.0.0.9/32 *[RIP/100] 00:20:16, metric 1
MultiRecv
And here what I have so far on R2>
root@R2> show configuration
Juniper RIP Route Configuration
protocols {
rip {
group RIPGROUP {
neighbor em2.0;
}
}
}
Now On R2 we need to do create a Policy and then Export under the Protocol RIP ; so let’s do the
Policy-Option first
root@R2#
set policy-options policy-statement RIPPOLICY2 term 1 from protocol rip
set policy-options policy-statement RIPPOLICY2 term 1 from protocol direct
set policy-options policy-statement RIPPOLICY2 term 1 then accept
Now I will Export under the Protocols Rip
Juniper RIP Route Configuration
Here what we have on R2 up to now :
root@R2> show configuration
protocols {
rip {
group RIPGROUP {
neighbor em2.0;
}
}
}
policy-options {
policy-statement RIPPOLICY2 {
term 1 {
from protocol [ rip direct ];
then accept;
}
}
}
root@R2# set protocols rip group RIPGROUP export RIPPOLICY2
Juniper RIP Route Configuration
so here what we have at R2 so Far:
root@R2> show configuration
protocols {
rip {
group RIPGROUP {
export RIPPOLICY2;
neighbor em2.0;
}
}
}
policy-options {
policy-statement RIPPOLICY2 {
term 1 {
from protocol [ rip direct ];
then accept;
}
}
}
Juniper RIP Route Configuration
Step 5) Now If I go to R4 and look at routing table I should be able to see Loopback of
R2=2.2.2.2 and also be able to ping 2.2.2.2 from R4>
root@R4> show route
Juniper RIP Route Configuration
inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
2.2.2.2/32 *[RIP/100] 00:03:04, metric 2, tag 0
> to 20.20.20.2 via em2.0
4.4.4.4/32 *[Direct/0] 01:54:11
> via lo0.0
10.10.10.0/24 *[RIP/100] 00:03:04, metric 2, tag 0
> to 20.20.20.2 via em2.0
20.20.20.0/24 *[Direct/0] 01:56:28
> via em2.0
20.20.20.4/32 *[Local/0] 01:56:28
Local via em2.0
30.30.30.0/24 *[RIP/100] 00:03:04, metric 2, tag 0
> to 20.20.20.2 via em2.0
224.0.0.9/32 *[RIP/100] 00:41:12, metric 1
MultiRecv
Juniper RIP Route Configuration
root@R4> ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes
64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.510 ms
64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=1.173 ms
64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=1.086 ms
^C
Juniper RIP Route Configuration
So Summary in order to make RIP works ; not only you need to have neighbor statements on router ;
you need to Create a Policy that has both RIP and Direct inside it and make sure you export it under
the Set Protocols Rip
Now If I go to R2 and create another loopback =2.2.2.3/32 then it will shown on R4 routing tables
Here what I have on R2
root@R2# show interfaces
lo0 {
unit 0 {
family inet {
address 2.2.2.2/32;
}
}
}
Juniper RIP Route Configuration
Now I will add another loopback as follow :
root@R2# set interfaces lo0 unit 0 family inet address 2.2.2.3/32
[edit]
root@R2# commit
here what I have on R2#show interfasce
root@R2# show interfaces
lo0 {
unit 0 {
family inet {
address 2.2.2.2/32;
address 2.2.2.3/32;
}
}
}
Juniper RIP Route Configuration
Now When I go to R4> show route I will see the new loopback 2.2.2.3 and I should be able to ping it;
root@R4> show route
inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
Juniper RIP Route Configuration
2.2.2.2/32 *[RIP/100] 00:13:27, metric 2, tag 0
> to 20.20.20.2 via em2.0
2.2.2.3/32 *[RIP/100] 00:01:54, metric 2, tag 0
> to 20.20.20.2 via em2.0
4.4.4.4/32 *[Direct/0] 02:04:34
> via lo0.0
10.10.10.0/24 *[RIP/100] 00:13:27, metric 2, tag 0
> to 20.20.20.2 via em2.0
20.20.20.0/24 *[Direct/0] 02:06:51
> via em2.0
20.20.20.4/32 *[Local/0] 02:06:51
Local via em2.0
30.30.30.0/24 *[RIP/100] 00:13:27, metric 2, tag 0
> to 20.20.20.2 via em2.0
224.0.0.9/32 *[RIP/100] 00:51:35, metric 1
MultiRecv
Juniper RIP Route Configuration
root@R4> ping 2.2.2.3
PING 2.2.2.3 (2.2.2.3): 56 data bytes
64 bytes from 2.2.2.3: icmp_seq=0 ttl=64 time=0.504 ms
64 bytes from 2.2.2.3: icmp_seq=1 ttl=64 time=0.932 ms
^C
Now If I go to R2 and deactivate the export statements, we will see that R4 will not see the
loopback address of R2
root@R2# deactivate protocols rip group RIPGROUP export
Juniper RIP Route Configuration
[edit]
root@R2# commit
Lets look at show configuration on R2 after I deactivated (Export statement)
root@R2> show configuration
protocols {
rip {
group RIPGROUP {
inactive: export RIPPOLICY2;
neighbor em2.0;
}
}
}
Juniper RIP Route Configuration
policy-options {
policy-statement RIPPOLICY2 {
term 1 {
from protocol [ rip direct ];
then accept;
}
}
}
Juniper RIP Route Configuration
Now lets look at R4> Show route as we see now all the Looback address of
R2 are gone :
root@R4> show route
inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
Juniper RIP Route Configuration
4.4.4.4/32 *[Direct/0] 02:16:00
> via lo0.0
20.20.20.0/24 *[Direct/0] 02:18:17
> via em2.0
20.20.20.4/32 *[Local/0] 02:18:17
Local via em2.0
224.0.0.9/32 *[RIP/100] 01:03:01, metric 1
MultiRecv
So in Summary I need to export RIPPOLICY2
Juniper RIP Route Configuration
Lets put it back with activate commands and make sure commit it on R2
root@R2# activate protocols rip group RIPGROUP export
So now Life is back to normal on R4>
root@R4> show route
inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
Juniper RIP Route Configuration
2.2.2.2/32 *[RIP/100] 00:00:42, metric 2, tag 0
> to 20.20.20.2 via em2.0
2.2.2.3/32 *[RIP/100] 00:00:42, metric 2, tag 0
> to 20.20.20.2 via em2.0
4.4.4.4/32 *[Direct/0] 02:20:46
> via lo0.0
10.10.10.0/24 *[RIP/100] 00:00:42, metric 2, tag 0
> to 20.20.20.2 via em2.0
20.20.20.0/24 *[Direct/0] 02:23:03
> via em2.0
20.20.20.4/32 *[Local/0] 02:23:03
Local via em2.0
30.30.30.0/24 *[RIP/100] 00:00:42, metric 2, tag 0
> to 20.20.20.2 via em2.0
224.0.0.9/32 *[RIP/100] 01:07:47, metric 1
MultiRecv
Juniper RIP Route Configuration
On the Next Lab I will configure OSPF between R1, R2,R3 and
then we make sure the OPSF will advertise the loopback of
R1=1.1.1.1 and R3=3.3.3.3 be seen on
ASM Educational Center Inc. (ASM)
WhereTraining,Technology&ServiceConverge
www.asmed.com

Mais conteúdo relacionado

Mais procurados

Cisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 ConfigurationCisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 ConfigurationHamed Moghaddam
 
Cisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchCisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchHamed Moghaddam
 
Cisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel ConfigurationCisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel ConfigurationHamed Moghaddam
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationHamed Moghaddam
 
Juniper JNCIA – Juniper OSPF Route Configuration
Juniper JNCIA – Juniper OSPF Route ConfigurationJuniper JNCIA – Juniper OSPF Route Configuration
Juniper JNCIA – Juniper OSPF Route ConfigurationHamed Moghaddam
 
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...Cisco Canada
 
Cisco CCNA-Router on Stick
Cisco CCNA-Router on StickCisco CCNA-Router on Stick
Cisco CCNA-Router on StickHamed Moghaddam
 
Cisco CCNA- NAT Configuration
Cisco CCNA- NAT ConfigurationCisco CCNA- NAT Configuration
Cisco CCNA- NAT ConfigurationHamed Moghaddam
 
Cisco CCNA Port Security
Cisco CCNA Port SecurityCisco CCNA Port Security
Cisco CCNA Port SecurityHamed Moghaddam
 
OSPF (open shortest path first) part iii
OSPF (open shortest path first) part  iiiOSPF (open shortest path first) part  iii
OSPF (open shortest path first) part iiiNetwax Lab
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsEng. Emad Al-Atoum
 
OSPF (open shortest path first) part ii
OSPF (open shortest path first) part  iiOSPF (open shortest path first) part  ii
OSPF (open shortest path first) part iiNetwax Lab
 
CCNP Lab Guide CCIE University
CCNP Lab Guide CCIE UniversityCCNP Lab Guide CCIE University
CCNP Lab Guide CCIE UniversitySalachudin Emir
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 MinutesCCNAResources
 
OSPF Route Filtering
OSPF Route FilteringOSPF Route Filtering
OSPF Route FilteringNetwax Lab
 

Mais procurados (20)

Cisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 ConfigurationCisco CCNA EIGRP IPV6 Configuration
Cisco CCNA EIGRP IPV6 Configuration
 
Cisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchCisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer Switch
 
Cisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel ConfigurationCisco CCNA GRE Tunnel Configuration
Cisco CCNA GRE Tunnel Configuration
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
 
Juniper JNCIA – Juniper OSPF Route Configuration
Juniper JNCIA – Juniper OSPF Route ConfigurationJuniper JNCIA – Juniper OSPF Route Configuration
Juniper JNCIA – Juniper OSPF Route Configuration
 
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
 
Cisco CCNA-Router on Stick
Cisco CCNA-Router on StickCisco CCNA-Router on Stick
Cisco CCNA-Router on Stick
 
Cisco CCNA- NAT Configuration
Cisco CCNA- NAT ConfigurationCisco CCNA- NAT Configuration
Cisco CCNA- NAT Configuration
 
Cisco CCNA Port Security
Cisco CCNA Port SecurityCisco CCNA Port Security
Cisco CCNA Port Security
 
IPSec VPN
IPSec VPNIPSec VPN
IPSec VPN
 
Ccna command
Ccna commandCcna command
Ccna command
 
OSPF (open shortest path first) part iii
OSPF (open shortest path first) part  iiiOSPF (open shortest path first) part  iii
OSPF (open shortest path first) part iii
 
Ccnpswitch
CcnpswitchCcnpswitch
Ccnpswitch
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 
OSPF (open shortest path first) part ii
OSPF (open shortest path first) part  iiOSPF (open shortest path first) part  ii
OSPF (open shortest path first) part ii
 
CCNP Lab Guide CCIE University
CCNP Lab Guide CCIE UniversityCCNP Lab Guide CCIE University
CCNP Lab Guide CCIE University
 
Ccna command
Ccna commandCcna command
Ccna command
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 Minutes
 
OSPF Route Filtering
OSPF Route FilteringOSPF Route Filtering
OSPF Route Filtering
 

Semelhante a Juniper JNCIA – Juniper RIP Route Configuration

Intro to router_config
Intro to router_configIntro to router_config
Intro to router_configarjuntrk
 
E routing final exam ccna 2 46
E routing final exam ccna 2 46E routing final exam ccna 2 46
E routing final exam ccna 2 46lslsc
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksDani Royman Simanjuntak
 
VXLAN and FRRouting
VXLAN and FRRoutingVXLAN and FRRouting
VXLAN and FRRoutingFaisal Reza
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...Maximilan Wilhelm
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config97148881557
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionIPMAX s.r.l.
 
BIRD Routing Daemon
BIRD Routing DaemonBIRD Routing Daemon
BIRD Routing DaemonAPNIC
 
project on OSPF
project on OSPFproject on OSPF
project on OSPFOm Prakash
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)Netwax Lab
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)IT Tech
 
Telnet configuration
Telnet configurationTelnet configuration
Telnet configurationMdAlAmin187
 
Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011Dân Chơi
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010irbas
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010irbas
 
Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011Dân Chơi
 

Semelhante a Juniper JNCIA – Juniper RIP Route Configuration (20)

Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
E routing final exam ccna 2 46
E routing final exam ccna 2 46E routing final exam ccna 2 46
E routing final exam ccna 2 46
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
 
VXLAN and FRRouting
VXLAN and FRRoutingVXLAN and FRRouting
VXLAN and FRRouting
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
 
BIRD Routing Daemon
BIRD Routing DaemonBIRD Routing Daemon
BIRD Routing Daemon
 
ivesgimpaya3
ivesgimpaya3ivesgimpaya3
ivesgimpaya3
 
project on OSPF
project on OSPFproject on OSPF
project on OSPF
 
RIP (routing information protocol)
RIP (routing information protocol)RIP (routing information protocol)
RIP (routing information protocol)
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
 
Telnet configuration
Telnet configurationTelnet configuration
Telnet configuration
 
Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011Ccna 2 chapter 5 v4.0 answers 2011
Ccna 2 chapter 5 v4.0 answers 2011
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
 
Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011Ccna 2 chapter 1 v4.0 answers 2011
Ccna 2 chapter 1 v4.0 answers 2011
 

Mais de Hamed Moghaddam

CISSP Certification Security Engineering-Part2
CISSP Certification Security Engineering-Part2CISSP Certification Security Engineering-Part2
CISSP Certification Security Engineering-Part2Hamed Moghaddam
 
CISSP Certification- Security Engineering-part1
CISSP Certification- Security Engineering-part1CISSP Certification- Security Engineering-part1
CISSP Certification- Security Engineering-part1Hamed Moghaddam
 
Microsoft MCSA- Joining Client Machines To The Domain!
Microsoft MCSA- Joining Client Machines To The Domain!Microsoft MCSA- Joining Client Machines To The Domain!
Microsoft MCSA- Joining Client Machines To The Domain!Hamed Moghaddam
 
Microsoft MCSA - Install active directory domain services (adds) role
Microsoft MCSA - Install active directory domain services (adds) roleMicrosoft MCSA - Install active directory domain services (adds) role
Microsoft MCSA - Install active directory domain services (adds) roleHamed Moghaddam
 
CISSP Certification-Asset Security
CISSP Certification-Asset SecurityCISSP Certification-Asset Security
CISSP Certification-Asset SecurityHamed Moghaddam
 
Cissp- Security and Risk Management
Cissp- Security and Risk ManagementCissp- Security and Risk Management
Cissp- Security and Risk ManagementHamed Moghaddam
 

Mais de Hamed Moghaddam (8)

CISSP Certification Security Engineering-Part2
CISSP Certification Security Engineering-Part2CISSP Certification Security Engineering-Part2
CISSP Certification Security Engineering-Part2
 
CISSP Certification- Security Engineering-part1
CISSP Certification- Security Engineering-part1CISSP Certification- Security Engineering-part1
CISSP Certification- Security Engineering-part1
 
Cisco CCNA- DHCP Server
Cisco CCNA-  DHCP ServerCisco CCNA-  DHCP Server
Cisco CCNA- DHCP Server
 
Microsoft MCSA- Joining Client Machines To The Domain!
Microsoft MCSA- Joining Client Machines To The Domain!Microsoft MCSA- Joining Client Machines To The Domain!
Microsoft MCSA- Joining Client Machines To The Domain!
 
Microsoft MCSA - Install active directory domain services (adds) role
Microsoft MCSA - Install active directory domain services (adds) roleMicrosoft MCSA - Install active directory domain services (adds) role
Microsoft MCSA - Install active directory domain services (adds) role
 
CISSP Certification-Asset Security
CISSP Certification-Asset SecurityCISSP Certification-Asset Security
CISSP Certification-Asset Security
 
Cissp- Security and Risk Management
Cissp- Security and Risk ManagementCissp- Security and Risk Management
Cissp- Security and Risk Management
 
Become CISSP Certified
Become CISSP CertifiedBecome CISSP Certified
Become CISSP Certified
 

Último

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 

Último (20)

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

Juniper JNCIA – Juniper RIP Route Configuration

  • 1. Juniper JNCIA ASM Educational Center Inc. (ASM) Where Training,Technology& Service Converge CheckoutourJuniperTrainingVideos:www.asmed.com/j1 Juniper RIP Route Configuration
  • 2. Juniper RIP Route Configuration Understanding Basic RIP Routing RIP is an interior gateway protocol (IGP) that routes packets within a single autonomous system (AS). By default, RIP does not advertise the subnets that are directly connected through the device's interfaces. For traffic to pass through a RIP network, you must create a routing policy to export these routes. Advertising only the direct routes propagates the routes to the immediately adjacent RIP-enabled router only. To propagate all routes through the entire RIP network, you must configure the routing policy to export the routes learned through RIP.
  • 3. Juniper RIP Route Configuration
  • 4. Juniper RIP Route Configuration Goal is that R2 be able to ping R4 Loopback address =4.4.4.4 via RIP Step 1) I go to R2 and enable RIP routing Hint: for the neighbors you cannot use the neighbor Ip address ; you need to use interface in this case of R2 neighbor is R4 with interface em2.0 root@R2# set protocols rip group RIPGROUP neighbor em2.0
  • 5. Juniper RIP Route Configuration Now When I go to R4#show route I do not see any neighbor yet root@R4> show route inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 4.4.4.4/32 *[Direct/0] 00:40:13 > via lo0.0 20.20.20.0/24 *[Direct/0] 00:42:30 > via em2.0 20.20.20.4/32 *[Local/0] 00:42:30 Local via em2.0
  • 6. Juniper RIP Route Configuration Step 2) Now I will enable RIP on R4 root@R4# set protocols rip group RIPGROUP4 neighbor em2 Hint: The Group name is local significance does not need to be same
  • 7. Juniper RIP Route Configuration Step 3) You configure a basic RIP network, create a RIP group called rip-group, and add the directly connected interfaces to the RIP group. Then you configure a routing policy to advertise direct routes using policy statement advertise-routes-through-rip. By default, Junos OS does not advertise RIP routes, not even routes that are learned through RIP. To advertise RIP routes, you must configure and apply an export routing policy that advertises RIP-learned and direct routes. Now I need to create a Policy with Statements for Example RIPPOLICY root@R4# set policy-options policy-statement RIPPOLICY term 1 from protocol rip set policy-options policy-statement RIPPOLICY term 1 from protocol direct set policy-options policy-statement RIPPOLICY term 1 then accept As we see in above in order to create a Policy I need a term 1 , from , Then I need action.
  • 8. Juniper RIP Route Configuration Here is show configuration so far on R4# policy-options { policy-statement RIPPOLICY { term 1 { from protocol [ rip direct ]; then accept; } } } Now we need to export (Apply) this policy to Rip Group Called RIPGROUP4 root@R4# set protocols rip group RIPGROUP4 export RIPPOLICY
  • 9. Juniper RIP Route Configuration Hint: I need to do export ; since we are trying to bring ( the directed Connected network) to the RIP , now let say on the left we had OPSF network between R1, R2,R3 and we need all those Loopback of R1,R2,R3 being seen inside the RIP Network or routing table of R4 ,then I need to have this on my policy option ( instead of RIP I will have OSPF) . We will do this on next Lab policy-options { policy-statement OSPFPOLICY { term 1 { from protocol [ OSPF ]; then accept; } } } So on R4 we have this so far : R4> Show configuration
  • 10. Juniper RIP Route Configuration protocols { rip { group RIPGROUP4 { export RIPPOLICY; neighbor em2.0; } } } policy-options { policy-statement RIPPOLICY { term 1 { from protocol [ rip direct ]; then accept; } } }
  • 11. Juniper RIP Route Configuration Step 4) Now If I go to R2 and do show route I will see the loopback address of R4=4.4.4.4 root@R2> show route inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2.2.2.2/32 *[Direct/0] 01:14:43 > via lo0.0 4.4.4.4/32 *[RIP/100] 00:14:27, metric 2, tag 0 > to 20.20.20.4 via em2.0 10.10.10.0/24 *[Direct/0] 01:28:38 > via em1.0 10.10.10.2/32 *[Local/0] 01:28:38 Local via em1.0 20.20.20.0/24 *[Direct/0] 01:28:37 > via em2.0 20.20.20.2/32 *[Local/0] 01:28:37 Local via em2.0 30.30.30.0/24 *[Direct/0] 01:28:37 > via em3.0 30.30.30.2/32 *[Local/0] 01:28:37 Local via em3.0 224.0.0.9/32 *[RIP/100] 00:52:33, metric 1 MultiRecv
  • 12. Juniper RIP Route Configuration Now why I see it? Since On the R4 I did export the Policy; but If I go to R4 and do show route I do not see the loopback of R2=2.2.2.2 , since On the R2 I did not export the Policy . root@R4> show route inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 4.4.4.4/32 *[Direct/0] 01:33:15 > via lo0.0 20.20.20.0/24 *[Direct/0] 01:35:32 > via em2.0 20.20.20.4/32 *[Local/0] 01:35:32 Local via em2.0 224.0.0.9/32 *[RIP/100] 00:20:16, metric 1 MultiRecv And here what I have so far on R2> root@R2> show configuration
  • 13. Juniper RIP Route Configuration protocols { rip { group RIPGROUP { neighbor em2.0; } } } Now On R2 we need to do create a Policy and then Export under the Protocol RIP ; so let’s do the Policy-Option first root@R2# set policy-options policy-statement RIPPOLICY2 term 1 from protocol rip set policy-options policy-statement RIPPOLICY2 term 1 from protocol direct set policy-options policy-statement RIPPOLICY2 term 1 then accept Now I will Export under the Protocols Rip
  • 14. Juniper RIP Route Configuration Here what we have on R2 up to now : root@R2> show configuration protocols { rip { group RIPGROUP { neighbor em2.0; } } } policy-options { policy-statement RIPPOLICY2 { term 1 { from protocol [ rip direct ]; then accept; } } } root@R2# set protocols rip group RIPGROUP export RIPPOLICY2
  • 15. Juniper RIP Route Configuration so here what we have at R2 so Far: root@R2> show configuration protocols { rip { group RIPGROUP { export RIPPOLICY2; neighbor em2.0; } } } policy-options { policy-statement RIPPOLICY2 { term 1 { from protocol [ rip direct ]; then accept; } } }
  • 16. Juniper RIP Route Configuration Step 5) Now If I go to R4 and look at routing table I should be able to see Loopback of R2=2.2.2.2 and also be able to ping 2.2.2.2 from R4> root@R4> show route
  • 17. Juniper RIP Route Configuration inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2.2.2.2/32 *[RIP/100] 00:03:04, metric 2, tag 0 > to 20.20.20.2 via em2.0 4.4.4.4/32 *[Direct/0] 01:54:11 > via lo0.0 10.10.10.0/24 *[RIP/100] 00:03:04, metric 2, tag 0 > to 20.20.20.2 via em2.0 20.20.20.0/24 *[Direct/0] 01:56:28 > via em2.0 20.20.20.4/32 *[Local/0] 01:56:28 Local via em2.0 30.30.30.0/24 *[RIP/100] 00:03:04, metric 2, tag 0 > to 20.20.20.2 via em2.0 224.0.0.9/32 *[RIP/100] 00:41:12, metric 1 MultiRecv
  • 18. Juniper RIP Route Configuration root@R4> ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes 64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.510 ms 64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=1.173 ms 64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=1.086 ms ^C
  • 19. Juniper RIP Route Configuration So Summary in order to make RIP works ; not only you need to have neighbor statements on router ; you need to Create a Policy that has both RIP and Direct inside it and make sure you export it under the Set Protocols Rip Now If I go to R2 and create another loopback =2.2.2.3/32 then it will shown on R4 routing tables Here what I have on R2 root@R2# show interfaces lo0 { unit 0 { family inet { address 2.2.2.2/32; } } }
  • 20. Juniper RIP Route Configuration Now I will add another loopback as follow : root@R2# set interfaces lo0 unit 0 family inet address 2.2.2.3/32 [edit] root@R2# commit here what I have on R2#show interfasce root@R2# show interfaces lo0 { unit 0 { family inet { address 2.2.2.2/32; address 2.2.2.3/32; } } }
  • 21. Juniper RIP Route Configuration Now When I go to R4> show route I will see the new loopback 2.2.2.3 and I should be able to ping it; root@R4> show route inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both
  • 22. Juniper RIP Route Configuration 2.2.2.2/32 *[RIP/100] 00:13:27, metric 2, tag 0 > to 20.20.20.2 via em2.0 2.2.2.3/32 *[RIP/100] 00:01:54, metric 2, tag 0 > to 20.20.20.2 via em2.0 4.4.4.4/32 *[Direct/0] 02:04:34 > via lo0.0 10.10.10.0/24 *[RIP/100] 00:13:27, metric 2, tag 0 > to 20.20.20.2 via em2.0 20.20.20.0/24 *[Direct/0] 02:06:51 > via em2.0 20.20.20.4/32 *[Local/0] 02:06:51 Local via em2.0 30.30.30.0/24 *[RIP/100] 00:13:27, metric 2, tag 0 > to 20.20.20.2 via em2.0 224.0.0.9/32 *[RIP/100] 00:51:35, metric 1 MultiRecv
  • 23. Juniper RIP Route Configuration root@R4> ping 2.2.2.3 PING 2.2.2.3 (2.2.2.3): 56 data bytes 64 bytes from 2.2.2.3: icmp_seq=0 ttl=64 time=0.504 ms 64 bytes from 2.2.2.3: icmp_seq=1 ttl=64 time=0.932 ms ^C Now If I go to R2 and deactivate the export statements, we will see that R4 will not see the loopback address of R2 root@R2# deactivate protocols rip group RIPGROUP export
  • 24. Juniper RIP Route Configuration [edit] root@R2# commit Lets look at show configuration on R2 after I deactivated (Export statement) root@R2> show configuration protocols { rip { group RIPGROUP { inactive: export RIPPOLICY2; neighbor em2.0; } } }
  • 25. Juniper RIP Route Configuration policy-options { policy-statement RIPPOLICY2 { term 1 { from protocol [ rip direct ]; then accept; } } }
  • 26. Juniper RIP Route Configuration Now lets look at R4> Show route as we see now all the Looback address of R2 are gone : root@R4> show route inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both
  • 27. Juniper RIP Route Configuration 4.4.4.4/32 *[Direct/0] 02:16:00 > via lo0.0 20.20.20.0/24 *[Direct/0] 02:18:17 > via em2.0 20.20.20.4/32 *[Local/0] 02:18:17 Local via em2.0 224.0.0.9/32 *[RIP/100] 01:03:01, metric 1 MultiRecv So in Summary I need to export RIPPOLICY2
  • 28. Juniper RIP Route Configuration Lets put it back with activate commands and make sure commit it on R2 root@R2# activate protocols rip group RIPGROUP export So now Life is back to normal on R4> root@R4> show route inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both
  • 29. Juniper RIP Route Configuration 2.2.2.2/32 *[RIP/100] 00:00:42, metric 2, tag 0 > to 20.20.20.2 via em2.0 2.2.2.3/32 *[RIP/100] 00:00:42, metric 2, tag 0 > to 20.20.20.2 via em2.0 4.4.4.4/32 *[Direct/0] 02:20:46 > via lo0.0 10.10.10.0/24 *[RIP/100] 00:00:42, metric 2, tag 0 > to 20.20.20.2 via em2.0 20.20.20.0/24 *[Direct/0] 02:23:03 > via em2.0 20.20.20.4/32 *[Local/0] 02:23:03 Local via em2.0 30.30.30.0/24 *[RIP/100] 00:00:42, metric 2, tag 0 > to 20.20.20.2 via em2.0 224.0.0.9/32 *[RIP/100] 01:07:47, metric 1 MultiRecv
  • 30. Juniper RIP Route Configuration On the Next Lab I will configure OSPF between R1, R2,R3 and then we make sure the OPSF will advertise the loopback of R1=1.1.1.1 and R3=3.3.3.3 be seen on
  • 31. ASM Educational Center Inc. (ASM) WhereTraining,Technology&ServiceConverge www.asmed.com