GNS – RIPv2 in router image using dynamips

I import Cisco 7200 and Cisco 3650 image into GNS to do this lab

Cisco-RIP-v2

network schema
R1, R2 10.1.1.1/28
R2, R3 10.1.2.1/28
R2, R3 10.1.3.1/28

PC1, R1 172.16.1.1/24
PC2, R2 172.17.1.1/24
PC3, R3 172.18.1.1/24

R1#conf t
R1(config)#interface Ethernet 2/1
R1(config-if)#ip address 10.1.1.1 255.255.255.248
R1(config-if)#no shut
R1(config-if)#exit

R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 10.1.1.2 255.255.255.248
R2(config-if)#no shut
R2(config-if)#exit
R2# show ip interface

R2(config)#int serial 2/0
R2(config-if)#clock rate 64000
R2(config-if)#ip address 10.1.2.1 255.255.255.248
R2(config-if)#no shut

R3(config)#int serial 2/0
R3(config-if)#clock rate 64000
R3(config-if)#ip address 10.1.2.2 255.255.255.248
R3(config-if)#no shut

R3(config)#int fastEthernet 1/1
R3(config-if)#ip address 10.1.3.1 255.255.255.248
R3(config-if)#no shut

R1(config)#int ethernet 2/0
R1(config-if)#ip address 10.1.3.2 255.255.255.248
R1(config-if)#no shut

R1(config)#int fa 1/0
R1(config-if)#ip address 172.16.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit

R2(config)#int fa 1/0
R2(config-if)#ip address 172.17.1.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit

R3(config)#int fa 1/0
R3(config-if)#ip address 172.18.1.1 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit

PC1> ip 172.16.1.2/24 172.16.1.1
PC2> ip 172.17.1.2/24 172.17.1.1
PC2> ip 172.18.1.2/24 172.18.1.1

PC1> ping 172.18.1.2
PC1> trace 172.18.1.2

# run this setting commands in all routers
router rip
version 2
network 10.1.1.0
network 10.1.2.0
network 10.1.3.0
network 172.16.1.0
network 172.17.1.0
network 172.18.1.0
no auto-summary
exit

R1#show ip route
Codes: C – connected, S – static, 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
i – IS-IS, su – IS-IS summary, 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

172.17.0.0/24 is subnetted, 1 subnets
R 172.17.1.0 [120/1] via 10.1.1.2, 00:00:15, FastEthernet0/0
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet2/1
172.18.0.0/24 is subnetted, 1 subnets
R 172.18.1.0 [120/1] via 10.1.3.1, 00:00:17, Ethernet2/0
10.0.0.0/29 is subnetted, 3 subnets
C 10.1.3.0 is directly connected, Ethernet2/0
R 10.1.2.0 [120/1] via 10.1.3.1, 00:00:17, Ethernet2/0
[120/1] via 10.1.1.2, 00:00:15, FastEthernet0/0
C 10.1.1.0 is directly connected, FastEthernet0/0

R2#show ip route
Codes: C – connected, S – static, 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
i – IS-IS, su – IS-IS summary, 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

172.17.0.0/24 is subnetted, 1 subnets
C 172.17.1.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 1 subnets
R 172.16.1.0 [120/1] via 10.1.1.1, 00:00:25, FastEthernet0/0
172.18.0.0/24 is subnetted, 1 subnets
R 172.18.1.0 [120/1] via 10.1.2.2, 00:00:00, Serial2/0
10.0.0.0/29 is subnetted, 3 subnets
R 10.1.3.0 [120/1] via 10.1.2.2, 00:00:00, Serial2/0
[120/1] via 10.1.1.1, 00:00:25, FastEthernet0/0
C 10.1.2.0 is directly connected, Serial2/0
C 10.1.1.0 is directly connected, FastEthernet0/0

R3#show ip route
Codes: C – connected, S – static, 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
i – IS-IS, su – IS-IS summary, 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

172.17.0.0/24 is subnetted, 1 subnets
R 172.17.1.0 [120/1] via 10.1.2.1, 00:00:10, Serial2/0
172.16.0.0/24 is subnetted, 1 subnets
R 172.16.1.0 [120/1] via 10.1.3.2, 00:00:18, FastEthernet1/1
172.18.0.0/24 is subnetted, 1 subnets
C 172.18.1.0 is directly connected, FastEthernet1/0
10.0.0.0/29 is subnetted, 3 subnets
C 10.1.3.0 is directly connected, FastEthernet1/1
C 10.1.2.0 is directly connected, Serial2/0
R 10.1.1.0 [120/1] via 10.1.3.2, 00:00:18, FastEthernet1/1
[120/1] via 10.1.2.1, 00:00:10, Serial2/0

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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