KODE DFP HEAD RIP V.2 Topology | Programming And Networking

YM

Link

IKLAN ADSENSE BAWAH SIDEBAR (250X250)

RIP V.2 Topology


Dynamic Routing RIP


Dynamic routing is included in the category of distance vector, where the best path calculation based on the number of routers that pass. Maximum hop count (jumps) between routers as many as 15, if more than that data packets will didiscard. Configure RIP routing simply register the network address that is connected directly and will be in exchange routing tables to neighboring network to update / introduce a network address.

  • Next 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 - 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

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 - 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

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 - 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

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

Testing koneksi (PING)

R1 à PC 2 :

R1#ping 192.168.2.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 46/68/93 ms

R1 à PC 3 :

R1#ping 192.168.3.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 78/103/125 ms

R3 à PC1 :

R3#ping 192.168.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 62/84/110 ms

R3 à PC2 :

R3#ping 192.168.2.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 78/97/125 ms