Facebook SDK

    

Perbedaan dynamic routing dibandingkan static routing adalah kita tak perlu mengetahui destination network karena nanti source network atau directly connected network atau network yang terhubung langsung lah yang akan di advertise. Selain itu, update routing tables-nya pun akan mengalami perubahan secara berkala. Tipe dynamic routing ini sangat cocok digunakan untuk industri skala besar. Tipe dynamic routing banyak jenisnya. Salah satunya adalah RIPv2.

Routing Information Protocol atau bisa disingkat RIP -yang mana disini kita gunakan versi 2- merupakan salah satu tipe dynamic routing yang open standard (tidak proprietary cisco). Mengapa kita menggunakan RIPv2? Karena dalam RIPv2 sudah mendukung IP Classless (mendukung subnetmask selain 255.255.255.0 alias /24, misal 255.255.0.0 /16 dan 255.0.0.0 alias /8 ).

Keuntungan dari penggunaan RIPv2 ini adalah konfigurasinya yang sederhana, hanya meng-advertise source network-nya. Sedangkan kekurangan dari RIPv2 ini adalah pemborosan bandwidth yang sangat tinggi karena digunakan untuk update broadcast setiap 30 seconds.

Selain itu, RIPv2 ini pun tidak scalable, hop count hanya 15, hop count ke-16 akan
unreachable.

Konfigurasi dasar :

Sakti­R1(config)#router rip
Sakti­R1(config­router)#version 2
Sakti­R1(config­router)#network <Directly Connected Network>
Sakti­R1(config­router)#no auto­summary
Sakti­R1(config­router)#exit
Sakti­R1(config)#

No auto-summary berfungsi menghemat routing table sehingga akan mengurangi beban
proses CPU router (meng summary / meringkas IP nya).

B. Topologi :

b

Konfigurasi :

Pertama, set semua IP Address dan netmask-nya di semua device sesuai topologi.

Sakti­R1(config)#interface fa0/0
Sakti­R1(config­if)#no shutdown
Sakti­R1(config­if)#ip addr 11.11.11.1 255.255.255.0
Sakti­R1(config­if)#ex
Sakti­R1(config)#int fa0/1
Sakti­R1(config­if)#no shutdown
Sakti­R1(config­if)#ip addr 192.168.1.1 255.255.255.0
Sakti­R1(config­if)#exit
Sakti­R1(config)#
Sakti­R2(config)#interface fa0/0
Sakti­R2(config­if)#no shutdown
Sakti­R2(config­if)#ip address 11.11.11.2 255.255.255.0
Sakti­R2(config­if)#exit
Sakti­R2(config)#interface fa0/1
Sakti­R2(config­if)#no shutdown
Sakti­R2(config­if)#ip addr 12.12.12.1 255.255.255.0
Sakti­R2(config­if)#exit
Sakti­R2(config)#
Sakti­R3(config)#interface fa0/0
Sakti­R3(config­if)#no shutdown
Sakti­R3(config­if)#ip address 12.12.12.2 255.255.255.0
Sakti­R3(config­if)#exit
Sakti­R3(config)#interface fa0/1
Sakti­R3(config­if)#no shutdown
Sakti­R3(config­if)#ip address 192.168.2.1 255.255.255.0
Sakti­R3(config­if)#exit
Sakti­R3(config)#

c

d

Selanjutnya, setting RIPv2 di ketiga router.

Sakti­R1(config)#router rip
Sakti­R1(config­router)#version 2
Sakti­R1(config­router)#network 192.168.1.0
Sakti­R1(config­router)#network 11.11.11.0
Sakti­R1(config­router)#no auto­summary
Sakti­R1(config­router)#exit
Sakti­R1(config)#
Sakti­R2(config)#router rip
Sakti­R2(config­router)#version 2
Sakti­R2(config­router)#network 11.11.11.0
Sakti­R2(config­router)#network 12.12.12.0
Sakti­R2(config­router)#no auto­summary
Sakti­R2(config­router)#exit
Sakti­R2(config)#
Sakti­R3(config)#router rip
Sakti­R3(config­router)#version 2
Sakti­R3(config­router)#network 12.12.12.0
Sakti­R3(config­router)#network 192.168.2.0
Sakti­R3(config­router)#no auto­summary
Sakti­R3(config­router)#exit

Bisa dicek routing tables di ketiga router.

Sakti­R1#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
11.0.0.0/24 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
R 12.12.12.0 [120/1] via 11.11.11.2, 00:00:05, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1
R 192.168.2.0/24 [120/2] via 11.11.11.2, 00:00:05,
FastEthernet0/0
Sakti­R1#
Sakti­R2#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
11.0.0.0/24 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/1
R 192.168.1.0/24 [120/1] via 11.11.11.1, 00:00:22,
FastEthernet0/0
R 192.168.2.0/24 [120/1] via 12.12.12.2, 00:00:12,
FastEthernet0/1
Sakti­R3#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
11.0.0.0/24 is subnetted, 1 subnets
R 11.11.11.0 [120/1] via 12.12.12.1, 00:00:05, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R 192.168.1.0/24 [120/2] via 12.12.12.1, 00:00:05,
FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/1
Sakti­R3#

Flag R pada baris yang tercetak tebal menunjukan tipe routing protocol yang digunakan,
yaitu RIP. Bisa dengan command show ip protocol.

Sakti­R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 21 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
Interface Send Recv Triggered RIP Key­chain
FastEthernet0/1 2 2
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
11.0.0.0
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
11.11.11.2 120 00:00:15
Distance: (default is 120)
Sakti­R1#

Selanjutnya, antar client bisa saling test ping. Pastikan berhasil.

Sakti-PC1

Packet Tracer PC Command Line 1.0
C:\>ping 192.168.2.2
Pinging 192.168.2.2 with 32 bytes of data:
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Ping statistics for 192.168.2.2:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli­seconds:
Minimum = 28ms, Maximum = 38ms, Average = 33ms
C:\>

 

Post a Comment

أحدث أقدم