Routing RIP
Routing RIP
Dynamic Routing Protocol
RIP
S0 = 192.168.1.1
RouterC S0 = 192.168.2.1
RouterB
S1 = 192.168.0.2 S1 = 192.168.1.2
S1 = 192.168.2.2
S0 = 192.168.0.1
RouterD
RouterA
S0 = 192.168.3.1
S1 = 192.168.5.2
S1 = 192.168.3.2
S1 = 192.168.4.2
RouterE
RouterF
S0 = 192.168.5.1 S0 = 192.168.4.1
Configuration in RouterA
> Enable
configure terminal
interface serial 0
ip address 192.168.0.1 255.255.255.0
bandwidth 64
clock rate 64000
no shutdown
exit
interface serial 1
ip address 192.168.5.2 255.255.255.0
bandwidth 64
no shutdown
exit
Routing RIP in RouterA
RouterA#config t
RouterA(config)#router rip
RouterA(config‐router)#network 192.168.0.0
RouterA(config‐router)#network 192.168.5.0
RouterA(config‐router)#exit
RouterA#show ip route
Codes: C ‐ connected, S ‐ static, I ‐ IGRP, R ‐ RIP, M ‐ mobile, B ‐ BGP
D ‐ EIGRP, EX ‐ EIGRP external, O ‐ OSPF, IA ‐ OSPF inter area
N1 ‐ OSPF NSSA external type 1, N2 ‐ OSPF NSSA external type 2
E1 ‐ OSPF external type 1, E2 ‐ OSPF external type 2, E ‐ EGP
i ‐ IS‐IS, L1 ‐ IS‐IS level‐1, L2 ‐ IS‐IS level‐2, ia ‐ IS‐IS inter area
* ‐ candidate default, U ‐ per‐user static route, o ‐ ODR
P ‐ periodic downloaded static route
Gateway of last resort is not set
C 192.168.0.0/24 is directly connected, Serial1/0
R 192.168.1.0/24 [120/1] via 192.168.0.2, 00:00:12, Serial1/0
R 192.168.2.0/24 [120/2] via 192.168.0.2, 00:00:12, Serial1/0
R 192.168.3.0/24 [120/2] via 192.168.5.1, 00:00:25, Serial1/1
R 192.168.4.0/24 [120/1] via 192.168.5.1, 00:00:25, Serial1/1
C 192.168.5.0/24 is directly connected, Serial1/1
Configuration in RouterB
> Enable
configure terminal
interface serial 0
ip address 192.168.1.1 255.255.255.0
bandwidth 64
clock rate 64000
no shutdown
exit
interface serial 1
ip address 192.168.0.2 255.255.255.0
bandwidth 64
no shutdown
exit
Routing RIP in RouterB
RouterA#config t
RouterA(config)#router rip
RouterA(config‐router)#network 192.168.0.0
RouterA(config‐router)#network 192.168.1.0
RouterA(config‐router)#exit
RouterB#show ip route
Codes: C ‐ connected, S ‐ static, I ‐ IGRP, R ‐ RIP, M ‐ mobile, B ‐ BGP
D ‐ EIGRP, EX ‐ EIGRP external, O ‐ OSPF, IA ‐ OSPF inter area
N1 ‐ OSPF NSSA external type 1, N2 ‐ OSPF NSSA external type 2
E1 ‐ OSPF external type 1, E2 ‐ OSPF external type 2, E ‐ EGP
i ‐ IS‐IS, L1 ‐ IS‐IS level‐1, L2 ‐ IS‐IS level‐2, ia ‐ IS‐IS inter area
* ‐ candidate default, U ‐ per‐user static route, o ‐ ODR
P ‐ periodic downloaded static route
Gateway of last resort is not set
C 192.168.0.0/24 is directly connected, Serial1/1
C 192.168.1.0/24 is directly connected, Serial1/0
R 192.168.2.0/24 [120/1] via 192.168.1.2, 00:00:25, Serial1/0
R 192.168.3.0/24 [120/2] via 192.168.1.2, 00:00:25, Serial1/0
R 192.168.4.0/24 [120/2] via 192.168.0.1, 00:00:26, Serial1/1
R 192.168.5.0/24 [120/1] via 192.168.0.1, 00:00:26, Serial1/1
Configuration in RouterC
> Enable
configure terminal
interface serial 0
ip address 192.168.2.1 255.255.255.0
bandwidth 64
clock rate 64000
no shutdown
exit
interface serial 1
ip address 192.168.1.2 255.255.255.0
bandwidth 64
no shutdown
exit
Routing RIP in RouterC
RouterA#config t
RouterA(config)#router rip
RouterA(config‐router)#network 192.168.1.0
RouterA(config‐router)#network 192.168.2.0
RouterA(config‐router)#exit
RouterC#show ip route
Codes: C ‐ connected, S ‐ static, I ‐ IGRP, R ‐ RIP, M ‐ mobile, B ‐ BGP
D ‐ EIGRP, EX ‐ EIGRP external, O ‐ OSPF, IA ‐ OSPF inter area
N1 ‐ OSPF NSSA external type 1, N2 ‐ OSPF NSSA external type 2
E1 ‐ OSPF external type 1, E2 ‐ OSPF external type 2, E ‐ EGP
i ‐ IS‐IS, L1 ‐ IS‐IS level‐1, L2 ‐ IS‐IS level‐2, ia ‐ IS‐IS inter area
* ‐ candidate default, U ‐ per‐user static route, o ‐ ODR
P ‐ periodic downloaded static route
Gateway of last resort is not set
R 192.168.0.0/24 [120/1] via 192.168.1.1, 00:00:23, Serial1/1
C 192.168.1.0/24 is directly connected, Serial1/1
C 192.168.2.0/24 is directly connected, Serial1/0
R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:09, Serial1/0
R 192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:09, Serial1/0
R 192.168.5.0/24 [120/2] via 192.168.1.1, 00:00:23, Serial1/1
Configuration in RouterD
> Enable
configure terminal
interface serial 0
ip address 192.168.3.1 255.255.255.0
bandwidth 64
clock rate 64000
no shutdown
exit
interface serial 1
ip address 192.168.2.2 255.255.255.0
bandwidth 64
no shutdown
exit
Routing RIP in RouterD
RouterA#config t
RouterA(config)#router rip
RouterA(config‐router)#network 192.168.2.0
RouterA(config‐router)#network 192.168.3.0
RouterA(config‐router)#exit
RouterD#show ip route
Codes: C ‐ connected, S ‐ static, I ‐ IGRP, R ‐ RIP, M ‐ mobile, B ‐ BGP
D ‐ EIGRP, EX ‐ EIGRP external, O ‐ OSPF, IA ‐ OSPF inter area
N1 ‐ OSPF NSSA external type 1, N2 ‐ OSPF NSSA external type 2
E1 ‐ OSPF external type 1, E2 ‐ OSPF external type 2, E ‐ EGP
i ‐ IS‐IS, L1 ‐ IS‐IS level‐1, L2 ‐ IS‐IS level‐2, ia ‐ IS‐IS inter area
* ‐ candidate default, U ‐ per‐user static route, o ‐ ODR
P ‐ periodic downloaded static route
Gateway of last resort is not set
R 192.168.0.0/24 [120/2] via 192.168.2.1, 00:00:24, Serial1/1
R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:24, Serial1/1
C 192.168.2.0/24 is directly connected, Serial1/1
C 192.168.3.0/24 is directly connected, Serial1/0
R 192.168.4.0/24 [120/1] via 192.168.3.2, 00:00:14, Serial1/0
R 192.168.5.0/24 [120/2] via 192.168.3.2, 00:00:14, Serial1/0
Configuration in RouterE
> Enable
configure terminal
interface serial 0
ip address 192.168.4.1 255.255.255.0
bandwidth 64
clock rate 64000
no shutdown
exit
interface serial 1
ip address 192.168.3.2 255.255.255.0
bandwidth 64
no shutdown
exit
Routing RIP in RouterE
RouterA#config t
RouterA(config)#router rip
RouterA(config‐router)#network 192.168.3.0
RouterA(config‐router)#network 192.168.4.0
RouterA(config‐router)#exit
RouterE#show ip route
Codes: C ‐ connected, S ‐ static, I ‐ IGRP, R ‐ RIP, M ‐ mobile, B ‐ BGP
D ‐ EIGRP, EX ‐ EIGRP external, O ‐ OSPF, IA ‐ OSPF inter area
N1 ‐ OSPF NSSA external type 1, N2 ‐ OSPF NSSA external type 2
E1 ‐ OSPF external type 1, E2 ‐ OSPF external type 2, E ‐ EGP
i ‐ IS‐IS, L1 ‐ IS‐IS level‐1, L2 ‐ IS‐IS level‐2, ia ‐ IS‐IS inter area
* ‐ candidate default, U ‐ per‐user static route, o ‐ ODR
P ‐ periodic downloaded static route
Gateway of last resort is not set
R 192.168.0.0/24 [120/2] via 192.168.4.2, 00:00:14, Serial1/0
R 192.168.1.0/24 [120/2] via 192.168.3.1, 00:00:05, Serial1/1
R 192.168.2.0/24 [120/1] via 192.168.3.1, 00:00:05, Serial1/1
C 192.168.3.0/24 is directly connected, Serial1/1
C 192.168.4.0/24 is directly connected, Serial1/0
R 192.168.5.0/24 [120/1] via 192.168.4.2, 00:00:14, Serial1/0
Configuration in RouterF
> Enable
configure terminal
interface serial 0
ip address 192.168.5.1 255.255.255.0
bandwidth 64
clock rate 64000
no shutdown
exit
interface serial 1
ip address 192.168.4.2 255.255.255.0
bandwidth 64
no shutdown
exit
Routing RIP in RouterF
RouterA#config t
RouterA(config)#router rip
RouterA(config‐router)#network 192.168.4.0
RouterA(config‐router)#network 192.168.5.0
RouterA(config‐router)#exit
RouterF#sh ip route
Codes: C ‐ connected, S ‐ static, I ‐ IGRP, R ‐ RIP, M ‐ mobile, B ‐ BGP
D ‐ EIGRP, EX ‐ EIGRP external, O ‐ OSPF, IA ‐ OSPF inter area
N1 ‐ OSPF NSSA external type 1, N2 ‐ OSPF NSSA external type 2
E1 ‐ OSPF external type 1, E2 ‐ OSPF external type 2, E ‐ EGP
i ‐ IS‐IS, L1 ‐ IS‐IS level‐1, L2 ‐ IS‐IS level‐2, ia ‐ IS‐IS inter area
* ‐ candidate default, U ‐ per‐user static route, o ‐ ODR
P ‐ periodic downloaded static route
Gateway of last resort is not set
R 192.168.0.0/24 [120/1] via 192.168.5.2, 00:00:09, Serial1/0
R 192.168.1.0/24 [120/2] via 192.168.5.2, 00:00:09, Serial1/0
R 192.168.2.0/24 [120/2] via 192.168.4.1, 00:00:17, Serial1/1
R 192.168.3.0/24 [120/1] via 192.168.4.1, 00:00:17, Serial1/1
C 192.168.4.0/24 is directly connected, Serial1/1
C 192.168.5.0/24 is directly connected, Serial1/0