- Step by step router configuration
R1 :
R1>en
R1#conf t
R1(config)#router rip
R1(config-router)#network 192.168.1.0
R1(config-router)#network 10.1.1.0
R1(config-router)#network 10.1.1.8
R1(config-router)#version 2
R2 :
R2>en
R2#conf t
R2(config)#router rip
R2(config-router)#network 192.168.2.0
R2(config-router)#network 10.1.1.0
R2(config-router)#network 10.1.1.4
R2(config-router)#version 2
R3 :
R3>en
R3#conf t
R3(config)#router rip
R3(config-router)#network 192.168.3.0
R3(config-router)#network 10.1.1.4
R3(config-router)#network 10.1.1.8
R3(config-router)#version 2
Routing table
R1 :
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
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
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial2/0
R 10.1.1.4 [120/1] via 10.1.1.2, 00:00:18, Serial2/0
[120/1] via 10.1.1.9, 00:00:23, Serial3/0
C 10.1.1.8 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 10.1.1.2, 00:00:18, Serial2/0
R 192.168.3.0/24 [120/1] via 10.1.1.9, 00:00:23, Serial3/0
R2 :
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
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
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial2/0
C 10.1.1.4 is directly connected, Serial3/0
R 10.1.1.8 [120/1] via 10.1.1.1, 00:00:17, Serial2/0
[120/1] via 10.1.1.6, 00:00:01, Serial3/0
R 192.168.1.0/24 [120/1] via 10.1.1.1, 00:00:17, Serial2/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R 192.168.3.0/24 [120/1] via 10.1.1.6, 00:00:01, Serial3/0
R3 :
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
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
10.0.0.0/30 is subnetted, 3 subnets
R 10.1.1.0 [120/1] via 10.1.1.5, 00:00:17, Serial3/0
[120/1] via 10.1.1.10, 00:00:16, Serial2/0
C 10.1.1.4 is directly connected, Serial3/0
C 10.1.1.8 is directly connected, Serial2/0
R 192.168.1.0/24 [120/1] via 10.1.1.10, 00:00:16, Serial2/0
R 192.168.2.0/24 [120/1] via 10.1.1.5, 00:00:17, Serial3/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
R2 default route configuration :
R2>en
R2#conf t
R2(config)#ip route 0.0.0.0 0.0.0.0 222.124.22.17
default route distributed on R2 to all router, configure like this :
R2#conf t
R2(config)#router rip
R2(config-router)#default-information originate
Routing table + defaulte route :
R1 :
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
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 10.1.1.2 to network 0.0.0.0
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial2/0
R 10.1.1.4 [120/1] via 10.1.1.2, 00:00:14, Serial2/0
[120/1] via 10.1.1.9, 00:00:19, Serial3/0
C 10.1.1.8 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 10.1.1.2, 00:00:14, Serial2/0
R 192.168.3.0/24 [120/1] via 10.1.1.9, 00:00:19, Serial3/0
R* 0.0.0.0/0 [120/1] via 10.1.1.2, 00:00:14, Serial2/0
R2 :
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
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 222.124.22.17 to network 0.0.0.0
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial2/0
C 10.1.1.4 is directly connected, Serial3/0
R 10.1.1.8 [120/1] via 10.1.1.1, 00:00:08, Serial2/0
[120/1] via 10.1.1.6, 00:00:24, Serial3/0
R 192.168.1.0/24 [120/1] via 10.1.1.1, 00:00:08, Serial2/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R 192.168.3.0/24 [120/1] via 10.1.1.6, 00:00:24, Serial3/0
222.124.22.0/28 is subnetted, 1 subnets
C 222.124.22.16 is directly connected, Serial6/0
S* 0.0.0.0/0 [1/0] via 222.124.22.17
R3:
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
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 10.1.1.5 to network 0.0.0.0
10.0.0.0/30 is subnetted, 3 subnets
R 10.1.1.0 [120/1] via 10.1.1.10, 00:00:07, Serial2/0
[120/1] via 10.1.1.5, 00:00:24, Serial3/0
C 10.1.1.4 is directly connected, Serial3/0
C 10.1.1.8 is directly connected, Serial2/0
R 192.168.1.0/24 [120/1] via 10.1.1.10, 00:00:07, Serial2/0
R 192.168.2.0/24 [120/1] via 10.1.1.5, 00:00:24, Serial3/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
R* 0.0.0.0/0 [120/1] via 10.1.1.5, 00:00:24, Serial3/0
Connection Testing, ping to IP 172.17.1.1 /24 (IP server cloud)
R1 :
R1#ping 172.17.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 63/90/140 ms
R1#
R2 :
R2#ping 172.17.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/50/63 ms
R2#
R3 :
R3#ping 172.17.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/87/141 ms
R3#