{"id":51,"date":"2021-07-11T09:23:35","date_gmt":"2021-07-11T09:23:35","guid":{"rendered":"http:\/\/cisco.emacslisp.com\/?p=51"},"modified":"2021-07-11T09:25:02","modified_gmt":"2021-07-11T09:25:02","slug":"gns-ripv2-in-router-image-using-dynamips","status":"publish","type":"post","link":"http:\/\/cisco.emacslisp.com\/?p=51","title":{"rendered":"GNS &#8211; RIPv2 in router image using dynamips"},"content":{"rendered":"<p>I import Cisco 7200 and Cisco 3650 image into GNS to do this lab<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cisco.emacslisp.com\/wp-content\/uploads\/2021\/07\/Cisco-RIP-v2.png\" alt=\"Cisco-RIP-v2\" width=\"1624\" height=\"1048\" class=\"alignnone size-full wp-image-53\" \/><\/p>\n<p>network schema<br \/>\nR1, R2  10.1.1.1\/28<br \/>\nR2, R3  10.1.2.1\/28<br \/>\nR2, R3  10.1.3.1\/28<\/p>\n<p>PC1, R1 172.16.1.1\/24<br \/>\nPC2, R2 172.17.1.1\/24<br \/>\nPC3, R3 172.18.1.1\/24<\/p>\n<p>R1#conf t<br \/>\nR1(config)#interface Ethernet 2\/1<br \/>\nR1(config-if)#ip address 10.1.1.1 255.255.255.248<br \/>\nR1(config-if)#no shut<br \/>\nR1(config-if)#exit<\/p>\n<p>R2(config)#interface fastEthernet 0\/0<br \/>\nR2(config-if)#ip address 10.1.1.2 255.255.255.248<br \/>\nR2(config-if)#no shut<br \/>\nR2(config-if)#exit<br \/>\nR2# show ip interface<\/p>\n<p>R2(config)#int serial 2\/0<br \/>\nR2(config-if)#clock rate 64000<br \/>\nR2(config-if)#ip address 10.1.2.1 255.255.255.248<br \/>\nR2(config-if)#no shut<\/p>\n<p>R3(config)#int serial 2\/0<br \/>\nR3(config-if)#clock rate 64000<br \/>\nR3(config-if)#ip address 10.1.2.2 255.255.255.248<br \/>\nR3(config-if)#no shut<\/p>\n<p>R3(config)#int fastEthernet 1\/1<br \/>\nR3(config-if)#ip address 10.1.3.1 255.255.255.248<br \/>\nR3(config-if)#no shut<\/p>\n<p>R1(config)#int ethernet 2\/0<br \/>\nR1(config-if)#ip address 10.1.3.2 255.255.255.248<br \/>\nR1(config-if)#no shut<\/p>\n<p>R1(config)#int fa 1\/0<br \/>\nR1(config-if)#ip address 172.16.1.1 255.255.255.0<br \/>\nR1(config-if)#no shut<br \/>\nR1(config-if)#exit<\/p>\n<p>R2(config)#int fa 1\/0<br \/>\nR2(config-if)#ip address 172.17.1.1 255.255.255.0<br \/>\nR2(config-if)#no shut<br \/>\nR2(config-if)#exit<\/p>\n<p>R3(config)#int fa 1\/0<br \/>\nR3(config-if)#ip address 172.18.1.1 255.255.255.0<br \/>\nR3(config-if)#no shut<br \/>\nR3(config-if)#exit<\/p>\n<p>PC1> ip 172.16.1.2\/24 172.16.1.1<br \/>\nPC2> ip 172.17.1.2\/24 172.17.1.1<br \/>\nPC2> ip 172.18.1.2\/24 172.18.1.1<\/p>\n<p>PC1> ping 172.18.1.2<br \/>\nPC1> trace 172.18.1.2<\/p>\n<p># run this setting commands in all routers<br \/>\nrouter rip<br \/>\nversion 2<br \/>\nnetwork 10.1.1.0<br \/>\nnetwork 10.1.2.0<br \/>\nnetwork 10.1.3.0<br \/>\nnetwork 172.16.1.0<br \/>\nnetwork 172.17.1.0<br \/>\nnetwork 172.18.1.0<br \/>\nno auto-summary<br \/>\nexit<\/p>\n<p>R1#show ip route<br \/>\nCodes: C &#8211; connected, S &#8211; static, R &#8211; RIP, M &#8211; mobile, B &#8211; BGP<br \/>\n       D &#8211; EIGRP, EX &#8211; EIGRP external, O &#8211; OSPF, IA &#8211; OSPF inter area<br \/>\n       N1 &#8211; OSPF NSSA external type 1, N2 &#8211; OSPF NSSA external type 2<br \/>\n       E1 &#8211; OSPF external type 1, E2 &#8211; OSPF external type 2<br \/>\n       i &#8211; IS-IS, su &#8211; IS-IS summary, L1 &#8211; IS-IS level-1, L2 &#8211; IS-IS level-2<br \/>\n       ia &#8211; IS-IS inter area, * &#8211; candidate default, U &#8211; per-user static route<br \/>\n       o &#8211; ODR, P &#8211; periodic downloaded static route<\/p>\n<p>Gateway of last resort is not set<\/p>\n<p>     172.17.0.0\/24 is subnetted, 1 subnets<br \/>\nR       172.17.1.0 [120\/1] via 10.1.1.2, 00:00:15, FastEthernet0\/0<br \/>\n     172.16.0.0\/24 is subnetted, 1 subnets<br \/>\nC       172.16.1.0 is directly connected, Ethernet2\/1<br \/>\n     172.18.0.0\/24 is subnetted, 1 subnets<br \/>\nR       172.18.1.0 [120\/1] via 10.1.3.1, 00:00:17, Ethernet2\/0<br \/>\n     10.0.0.0\/29 is subnetted, 3 subnets<br \/>\nC       10.1.3.0 is directly connected, Ethernet2\/0<br \/>\nR       10.1.2.0 [120\/1] via 10.1.3.1, 00:00:17, Ethernet2\/0<br \/>\n                 [120\/1] via 10.1.1.2, 00:00:15, FastEthernet0\/0<br \/>\nC       10.1.1.0 is directly connected, FastEthernet0\/0<\/p>\n<p>R2#show ip route<br \/>\nCodes: C &#8211; connected, S &#8211; static, R &#8211; RIP, M &#8211; mobile, B &#8211; BGP<br \/>\n       D &#8211; EIGRP, EX &#8211; EIGRP external, O &#8211; OSPF, IA &#8211; OSPF inter area<br \/>\n       N1 &#8211; OSPF NSSA external type 1, N2 &#8211; OSPF NSSA external type 2<br \/>\n       E1 &#8211; OSPF external type 1, E2 &#8211; OSPF external type 2<br \/>\n       i &#8211; IS-IS, su &#8211; IS-IS summary, L1 &#8211; IS-IS level-1, L2 &#8211; IS-IS level-2<br \/>\n       ia &#8211; IS-IS inter area, * &#8211; candidate default, U &#8211; per-user static route<br \/>\n       o &#8211; ODR, P &#8211; periodic downloaded static route<\/p>\n<p>Gateway of last resort is not set<\/p>\n<p>     172.17.0.0\/24 is subnetted, 1 subnets<br \/>\nC       172.17.1.0 is directly connected, FastEthernet1\/0<br \/>\n     172.16.0.0\/24 is subnetted, 1 subnets<br \/>\nR       172.16.1.0 [120\/1] via 10.1.1.1, 00:00:25, FastEthernet0\/0<br \/>\n     172.18.0.0\/24 is subnetted, 1 subnets<br \/>\nR       172.18.1.0 [120\/1] via 10.1.2.2, 00:00:00, Serial2\/0<br \/>\n     10.0.0.0\/29 is subnetted, 3 subnets<br \/>\nR       10.1.3.0 [120\/1] via 10.1.2.2, 00:00:00, Serial2\/0<br \/>\n                 [120\/1] via 10.1.1.1, 00:00:25, FastEthernet0\/0<br \/>\nC       10.1.2.0 is directly connected, Serial2\/0<br \/>\nC       10.1.1.0 is directly connected, FastEthernet0\/0<\/p>\n<p>R3#show ip route<br \/>\nCodes: C &#8211; connected, S &#8211; static, R &#8211; RIP, M &#8211; mobile, B &#8211; BGP<br \/>\n       D &#8211; EIGRP, EX &#8211; EIGRP external, O &#8211; OSPF, IA &#8211; OSPF inter area<br \/>\n       N1 &#8211; OSPF NSSA external type 1, N2 &#8211; OSPF NSSA external type 2<br \/>\n       E1 &#8211; OSPF external type 1, E2 &#8211; OSPF external type 2<br \/>\n       i &#8211; IS-IS, su &#8211; IS-IS summary, L1 &#8211; IS-IS level-1, L2 &#8211; IS-IS level-2<br \/>\n       ia &#8211; IS-IS inter area, * &#8211; candidate default, U &#8211; per-user static route<br \/>\n       o &#8211; ODR, P &#8211; periodic downloaded static route<\/p>\n<p>Gateway of last resort is not set<\/p>\n<p>     172.17.0.0\/24 is subnetted, 1 subnets<br \/>\nR       172.17.1.0 [120\/1] via 10.1.2.1, 00:00:10, Serial2\/0<br \/>\n     172.16.0.0\/24 is subnetted, 1 subnets<br \/>\nR       172.16.1.0 [120\/1] via 10.1.3.2, 00:00:18, FastEthernet1\/1<br \/>\n     172.18.0.0\/24 is subnetted, 1 subnets<br \/>\nC       172.18.1.0 is directly connected, FastEthernet1\/0<br \/>\n     10.0.0.0\/29 is subnetted, 3 subnets<br \/>\nC       10.1.3.0 is directly connected, FastEthernet1\/1<br \/>\nC       10.1.2.0 is directly connected, Serial2\/0<br \/>\nR       10.1.1.0 [120\/1] via 10.1.3.2, 00:00:18, FastEthernet1\/1<br \/>\n                 [120\/1] via 10.1.2.1, 00:00:10, Serial2\/0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I import Cisco 7200 and Cisco 3650 image into GNS to do this lab 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 &hellip; <a href=\"http:\/\/cisco.emacslisp.com\/?p=51\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":2,"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":54,"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/54"}],"wp:attachment":[{"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cisco.emacslisp.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}