Minggu, 28 Agustus 2016
Contoh Desain Co Card || Dewi Aisyah Blog
Assalamualaikum wr wb Inalhamdalillah kali ini saya akan post Contoh Desain Co Card yaitu Desain Co card Pondok Ramadhan 1437 H Islamic Center of Sampang kemarin. hehe :-)
Contoh Desain Pamflet Pengajian || Dewi Aisyah Blog
Assalamualaikum wr wb Inalhamdalillah
haiii Kali ini saya mau share Contoh Desain Pamflet yg pernah saya buat di ICSA :-)
haiii Kali ini saya mau share Contoh Desain Pamflet yg pernah saya buat di ICSA :-)
Terimakasih Sudah Berkunjung :-)
Jumat, 26 Agustus 2016
OSPF || Dewi Aisyah Blog
Assalamualaikum wr wb Haii :)
Kali ini saya akan melanjutkan konfigurasi LAB di Cisco Packet Tracert Selanjutnya Yaitu Lab OSPF
Kali ini saya akan melanjutkan konfigurasi LAB di Cisco Packet Tracert Selanjutnya Yaitu Lab OSPF
Tujuan
Setting OSPF
Setting router-id OSPF
Setting passive-interface dan network type loopback OSPF
Konsep Dasar
OSPF singkatan dari Open Shortest Path First
OSPF merupakan routing protocol open standar yang diimplementasikan oleh berbagai
macam vendor, termasuk Cisco
Link-state protocol
OSPF bekerja dengan menggunakan algoritma Dijkstra
Hop count unlimited
Metric: cost (cost=10^8 / BW)
Administrative Distance: 110
Classless routing protocol
Mendukung VLSM dan CIDR
Hanya mendukung equal cost load balancing
Terdapat konsep area untuk memudahkan manajemen dan control traffic
Menyediakan design hierarki dengan multiple area
Harus memiliki satu area yang disebut sebagai area 0 atau backbone area
Semua area selain 0 (non-backbone area) harus terhubung ke area 0
Dari scalabilitas lebih baik dibandingkan dengan protocol distance vector
Mendukung autentikasi
Update melalui multicast address: 224.0.0.5
Konvergensi cepat
Mengirimkan hello packet setiap 10 second
Trigger/Incrementeal updates
o Router mengirimkan update hanya jika terjadi perubahan dan tidak mengirimkan
semua routing table pada periodic update
OSPF memaintain tiga tabel
1. Neighbor table
- Dikenal juga sebagai adjacency database
- Menampilkan informasi directly connected router (neighbors)
- Command: show ip ospf neighbor
2. Database table
- Disebut juga sebagai LSDB (link state database)
- Menampilkan semua kemungkinan informasi route menuju network dalam satu area
- Command: show ip ospf database
3. Routing table
- Menampilkan best route menuju network destination
- Command: show ip route
Dua step menggunakan routing protocol dinamis secara umum:
1. Pilih routing protocol
2. Advertise directly connected network (jaringan yang terhubung langsung dengan router)
Konfigurasi OSPF
Router(config)# router ospf <process-id>
Router(config-router)# network <network-id> <wildcard-mask> area <area-id>
Router(config-router)# network <network-id> <wildcard-mask> area <area-id>
network <Network-ID> : untuk advertise network yang terhubung langsung dengan router
(directly connected network).
wildcard-mask
wildcard-mask : inverse subnet-mask
Keuntungan OSPF
Open standard
Tidak ada batasan jumlah hop
Loop free
Konvergensi lebih cepat
Kerugian OSPF
Mengkonsumsi lebih banyak resource CPU
Kompleks dalam hal design dan implementasi
Hanya mendukung equal load balancing
Hanya mendukung protocol IP
Konfigurasi
Login console ke R1 atau R2 untuk mempraktikkan Lab 8-OSPF.
Tampilkan routing table sebelum disetting OSPF di 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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R1#
Dari output diatas, hanya terdapat directly connected network yang ditandai dengan kode C.
Tampilkan routing table sebelum disetting OSPF di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Agar proses routing berhasil, harus disetting OSPF disemua router terlebih dulu. Setelah itu baru
diverifikasi dengan tes Ping end-to-end device-nya.
Setting OSPF di R1
Command untuk mensetting OSPF.
R1(config)#router ospf 1
R1(config-router)#network 12.12.12.0 0.0.0.255 area 0
R1(config-router)#network 172.16.1.0 0.0.0.255 area 0
R1(config-router)#network 172.16.2.0 0.0.0.255 area 0
R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
R1(config-router)#
Setting OSPF di R2
Command untuk mensetting OSPF.
R2(config)#router ospf 1
R2(config-router)#network 12.12.12.0 0.0.0.255 area 0
R2(config-router)#network 172.16.3.0 0.0.0.255 area 0
R2(config-router)#network 172.16.4.0 0.0.0.255 area 0
R2(config-router)#network 192.168.2.0 0.0.0.255 area 0
Verifikasi
Tampilkan routing table setelah disetting OSPF di R1
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.1.0/24 is directly connected, Loopback1
C 172.16.2.0/24 is directly connected, Loopback2
O 172.16.3.3/32 [110/2] via 12.12.12.2, 00:01:31, FastEthernet1/0
O 172.16.4.4/32 [110/2] via 12.12.12.2, 00:01:31, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
O 192.168.2.0/24 [110/2] via 12.12.12.2, 00:00:40, FastEthernet1/0
R1#
Tampilkan routing table setelah disetting OSPF di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
O 172.16.1.1/32 [110/2] via 12.12.12.1, 00:02:07, FastEthernet1/0
O 172.16.2.2/32 [110/2] via 12.12.12.1, 00:02:07, FastEthernet1/0
C 172.16.3.0/24 is directly connected, Loopback0
C 172.16.4.0/24 is directly connected, Loopback1
O 192.168.1.0/24 [110/2] via 12.12.12.1, 00:02:07, FastEthernet1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
Tampilkan informasi neighbor OSPF di R1
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
172.16.4.4 1 FULL/DROTHER 00:00:35 12.12.12.2 FastEthernet1/0
R1#
Tampilkan informasi neighbor OSPF di R2
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
172.16.2.2 1 FULL/DR 00:00:31 12.12.12.1 FastEthernet1/0
R2#
Tampilkan informasi routing protocol di R1
R1#show ip protocol
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 172.16.2.2
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
12.12.12.0 0.0.0.255 area 0
172.16.1.0 0.0.0.255 area 0
172.16.2.0 0.0.0.255 area 0
192.168.1.0 0.0.0.255 area 0
Routing Information Sources:
Gateway Distance Last Update
172.16.2.2 110 00:07:22
172.16.4.4 110 00:06:07
Distance: (default is 110)
R1#
Dari informasi routing diatas, R1 menjalankan OSPF dengan proses ID 1. Ada 4 network yang
diroutingkan oleh R1. Administrative distance 110. R1 memiliki router ID 172.16.2.2.
R1 memiliki neighbor 172.16.4.4 (IP Loopback R2). 172.16.4.4 merupakan router-ID R2.
Note: ulangi langkah yang sama diatas untuk menampilkan informasi neighbor dan
informasi routing protocol di R2
Tampilkan informasi database OSPF di R1
R1#show ip ospf database
OSPF Router with ID (172.16.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
172.16.2.2 172.16.2.2 472 0x80000005 0x00e483 4
172.16.4.4 172.16.4.4 397 0x80000004 0x00ba9c 4
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
12.12.12.1 172.16.2.2 472 0x80000001 0x00720b
R1#
Di area 0 hanya terdapat 2 router dengan ID : 172.16.2.2 dan 172.16.4.4.
Tes Ping dari Laptop1 ke Laptop2
Laptop1>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Ping dari Laptop1 ke Laptop2 berhasil.
Traceroute dari Laptop1 ke Laptop2
Laptop1>tracert 192.168.2.1
Tracing route to 192.168.2.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.1.254
2 0 ms 0 ms 0 ms 12.12.12.2
3 0 ms 0 ms 0 ms 192.168.2.1
Trace complete.
Untuk menuju Laptop2 dari Laptop1 membutuhkan 3 hop.
Tes Ping dari Laptop2 ke Laptop1
Laptop2>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Reply from 192.168.1.1: bytes=32 time=1ms TTL=126
Reply from 192.168.1.1: bytes=32 time=11ms TTL=126
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 3ms
Traceroute dari Laptop2 ke Laptop1
Laptop2>tracert 192.168.1.1
Tracing route to 192.168.1.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.2.254
2 0 ms 0 ms 0 ms 12.12.12.1
3 1 ms 11 ms 11 ms 192.168.1.1
Trace complete.
Tampilkan routing table spesifik OSPF di R1 dan R2
R1#show ip route ospf
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
O 172.16.3.3 [110/2] via 12.12.12.2, 00:05:11, FastEthernet1/0
O 172.16.4.4 [110/2] via 12.12.12.2, 00:05:11, FastEthernet1/0
O 192.168.2.0 [110/2] via 12.12.12.2, 00:04:20, FastEthernet1/0
R1#
R2#show ip route ospf
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
O 172.16.1.1 [110/2] via 12.12.12.1, 00:05:05, FastEthernet1/0
O 172.16.2.2 [110/2] via 12.12.12.1, 00:05:05, FastEthernet1/0
O 192.168.1.0 [110/2] via 12.12.12.1, 00:05:05, FastEthernet1/0
R2#
Debug OSPF di R1
05:53:59: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.4.4 on FastEthernet1/0 from
LOADING to FULL, Loading Done
Setelah selesai setting OSPF di R2 step Halaman 53, di R1 maupun R2 akan muncul output
adjacent router OSPF. Dari output debug OSPF diatas R1 memiliki neighbor 172.16.4.4.
172.16.4.4 adalah router ID dari R2. Berarti R1 dan R2 telah menjalin relationship neighbor
(adjacency) sehingga routing update akan saling dikirimkan.
Setting router-id OSPF di R1
R1(config)#router ospf 1
R1(config-router)#router-id 111.111.111.111
R1(config-router)#Reload or use "clear ip ospf process" command, for this to
take effect
R1(config-router)#
Setting router-id OSPF di R2
R2(config)#router ospf 1
R2(config-router)#router-id 222.222.222.222
R2(config-router)#Reload or use "clear ip ospf process" command, for this to
take effect
R2(config-router)#
Setelah menjalankan command router-id diatas, jalankan command clear ip ospf
process untuk mereset proses OSPF di R1 maupun R2, sehingga router-id OSPF akan berubah.
R1#clear ip ospf process
Reset ALL OSPF processes? [no]: yes
R1#
06:12:37: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.4.4 on FastEthernet1/0 from FULL
to DOWN, Neighbor Down: Adjacency forced to reset
06:12:37: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.4.4 on FastEthernet1/0 from FULL
to DOWN, Neighbor Down: Interface down or detached
R1#
06:12:41: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.4.4 on FastEthernet1/0 from
LOADING to FULL, Loading Done
Tampilkan neighbor table OSPF di R1
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
222.222.222.222 1 FULL/DR 00:00:36 12.12.12.2 FastEthernet1/0
R1#
Dari output neighbor table di R1, bisa kita lihat di kolom neighbor ID terdapat 222.222.222.222,
dimana 222.222.222.222 adalah router-id R2. Dengan demikian, setting router-id OSPF di R2 telah
berhasil.
Note: ulangi langkah yang sama diatas untuk mereset process OSPF dan tampilkan
neighbor table OSPF di R2, pastikan neighbor ID R1 111.111.111.111
Setting passive-interface OSPF di R1
R1(config)#router ospf 1
R1(config-router)#passive-interface fa0/0
R1(config-router)#
Tampilkan routing information OSPF di R1
R1#show ip protocols
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 111.111.111.111
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
12.12.12.0 0.0.0.255 area 0
172.16.1.0 0.0.0.255 area 0
172.16.2.0 0.0.0.255 area 0
192.168.1.0 0.0.0.255 area 0
Passive Interface(s):
FastEthernet0/0
Routing Information Sources:
Gateway Distance Last Update
111.111.111.111 110 00:11:04
172.16.2.2 110 00:30:11
172.16.4.4 110 00:11:38
222.222.222.222 110 00:11:04
Distance: (default is 110)
Passive-interface fa0/0 telah berhasil ditambahkan di OSPF R1.
Tampilkan interface OSPF di R1
R1#show ip ospf interface
FastEthernet1/0 is up, line protocol is up
Internet address is 12.12.12.1/24, Area 0
Process ID 1, Router ID 111.111.111.111, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 222.222.222.222, Interface address 12.12.12.2
Backup Designated Router (ID) 111.111.111.111, Interface address 12.12.12.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:07
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 222.222.222.222 (Designated Router)
Suppress hello for 0 neighbor(s)
Loopback1 is up, line protocol is up
Internet address is 172.16.1.1/24, Area 0
Process ID 1, Router ID 111.111.111.111, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Loopback2 is up, line protocol is up
Internet address is 172.16.2.2/24, Area 0
Process ID 1, Router ID 111.111.111.111, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
FastEthernet0/0 is up, line protocol is up
Internet address is 192.168.1.254/24, Area 0
Process ID 1, Router ID 111.111.111.111, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State WAITING, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
No Hellos (Passive interface)
Index 4/4, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
Passive-interface OSPF memiliki kemiripan dengan EIGRP. Dengan mengaktifkan passiveinterface
di interface OSPF, maka akan menghentikan pengiriman paket hello sehingga akan
mencegah router membentuk relationship neighbor antar router, akibatnya router akan berhenti
melakukan update routing outgoing dan incoming (tidak dapat mengirimkan update routing dan
tidak dapat dikirimi update routing).
OSPF dan EIGRP sama-sama menggunakan paket hello sebelum membentuk relationship antar
router. Perhatikan informasi interface OSPF Fa0/0 dan Fa1/0 R1 diatas. Fa0/0 sudah diaktifkan
command passive-interface sehingga tidak ada lagi paket hello. Beda dengan Fa1/0 yang
ada keterangan Hello due in..
FastEthernet0/0 is up, line protocol is up
No Hellos (Passive interface)
FastEthernet1/0 is up, line protocol is up
Hello due in 00:00:07
Karena Network A dan Network B merupakan jaringan LAN dimana tidak membutuhkan
relationship neighbor antar router OSPF sehingga tidak jadi masalah ketika interface Fa0/0
diaktifkan command passive-interface-nya. Lain halnya dengan interface Fa1/0 ketika
diaktifkan command passive-interface, maka akan menimbulkan masalah yaitu R1 tidak
dapat membentuk relationship dengan R2, sehingga OSPF tidak dapat berjalan normal.
OSPF secara default memiliki hello interval = 10 second, dan dead interval = 40 second.
Interface Loopback di OSPF
Perhatikan sekali lagi output routing table di R1 dan R2. Apakah ada masalah dengan interface
loopback?
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.1.0/24 is directly connected, Loopback1
C 172.16.2.0/24 is directly connected, Loopback2
O 172.16.3.3/32 [110/2] via 12.12.12.2, 00:38:50, FastEthernet1/0
O 172.16.4.4/32 [110/2] via 12.12.12.2, 00:38:50, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
O 192.168.2.0/24 [110/2] via 12.12.12.2, 00:38:50, FastEthernet1/0
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
O 172.16.1.1/32 [110/2] via 12.12.12.1, 00:41:42, FastEthernet1/0
O 172.16.2.2/32 [110/2] via 12.12.12.1, 00:41:42, FastEthernet1/0
C 172.16.3.0/24 is directly connected, Loopback3
C 172.16.4.0/24 is directly connected, Loopback4
O 192.168.1.0/24 [110/2] via 12.12.12.1, 00:41:42, FastEthernet1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Loopback1 is up, line protocol is up
.
Process ID 1, Router ID 111.111.111.111, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Loopback2 is up, line protocol is up
.
Process ID 1, Router ID 111.111.111.111, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Loopback3 is up, line protocol is up
.
Process ID 1, Router ID 222.222.222.222, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Loopback4 is up, line protocol is up
.
Process ID 1, Router ID 222.222.222.222, Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
O 172.16.3.3/32 [110/2] via 12.12.12.2, 00:38:50, FastEthernet1/0
O 172.16.4.4/32 [110/2] via 12.12.12.2, 00:38:50, FastEthernet1/0
O 172.16.1.1/32 [110/2] via 12.12.12.1, 00:41:42, FastEthernet1/0
O 172.16.2.2/32 [110/2] via 12.12.12.1, 00:41:42, FastEthernet1/0
Semua loopback, yaitu Loopback1, Loopback2, Loopback3, Loopback4 menjadi stub host dengan network
type LOOPBACK. Stub host memang tampil di routing table dengan prefix /32, akan tetapi tidak dapat
digunakan untuk forwarding.
Agar semua loopback dapat di advertise oleh OSPF sebagai network dengan prefix aslinya yaitu /24, caranya
dengan mengubah network type loopback menjadi point-to-point.
Ubah Network Type Interface Loopback OSPF di R1 dan R2
R1(config)#interface lo1
R1(config-if)#ip ospf network point-to-point
R1(config-if)#
R1(config-if)#interface lo2
R1(config-if)#ip ospf network point-to-point
R1(config-if)#
R2(config)#interface lo3
R2(config-if)#ip ospf network point-to-point
R2(config-if)#
R2(config-if)#interface lo4
R2(config-if)#ip ospf network point-to-point
R2(config-if)#
Tampilkan routing table OSPF terupdate di R1 dan R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 4 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
O 172.16.3.0 [110/2] via 12.12.12.2, 00:01:00, FastEthernet1/0
O 172.16.4.0 [110/2] via 12.12.12.2, 00:00:50, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
O 192.168.2.0/24 [110/2] via 12.12.12.2, 01:17:07, FastEthernet1/0
R1#
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 4 subnets
O 172.16.1.0 [110/2] via 12.12.12.1, 00:04:33, FastEthernet1/0
O 172.16.2.0 [110/2] via 12.12.12.1, 00:04:23, FastEthernet1/0
C 172.16.3.0 is directly connected, Loopback3
C 172.16.4.0 is directly connected, Loopback4
O 192.168.1.0/24 [110/2] via 12.12.12.1, 01:18:04, FastEthernet1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
Dari output diatas, semua loopback telah diadvertise sebagai network dengan prefix /24.
Selanjutnya kita akan tes Ping dari Loopback1 di R1 ke Loopback3 di R2.
Tes Ping dari Loopback1 di R1 ke Loopback3 di R2
Untuk mencoba tes Ping dari Loopback, gunakan extended-ping di router.
R1#ping
Protocol [ip]: ip
Target IP address: 172.16.3.3
Repeat count [5]: [ENTER]
Datagram size [100]: [ENTER]
Timeout in seconds [2]: [ENTER]
Extended commands [n]: y
Source address or interface: loopback1
Type of service [0]: [ENTER]
Set DF bit in IP header? [no]: [ENTER]
Validate reply data? [no]: [ENTER]
Data pattern [0xABCD]: [ENTER]
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]: [ENTER]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.3, timeout is 2 seconds:
Packet sent with a source address of 172.16.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Note: ulangi langkah yang sama diatas untuk tes Ping dari Loopback4 di R2 ke Loopback2
di R1.
Semoga Bermanfaat :-)
EIGRP || Dewi Aisyah Blog
Assalamualaikum wr wb kali ini saya akan share Lab selanjutnya yaitu Lab EIGRP dan Konfigurasinya di P.t
Tujuan
Setting EIGRP
Debug EIGRP
Setting passive-interface EIGRP
Konsep Dasar
EIGRP disebut juga sebagai routing protocol distance vector, terkadang disebut juga advanced
distance vector atau routing protocol hybrid.
Berikut ini beberapa fitur dari EIGRP :
Cisco open standar protocol (sebelumnya proprietary)
Termasuk classless routing protocol
Update perubahan topologi secara dinamis
Metric (32 bit) : Composite Metric (BW + Delay + Load + MTU + Reliability)
Administrative Distance: 90
Update menggunakan multicast: 224.0.0.10
Jumlah maksimum hop count: 255 (default 100)
Mendukung protocol IP, IPX, Apple Talk
Hello packet dikirim setiap 5 second (dead interval 15 second)
Konvergensi cepat
Menggunakan algoritma DUAL (Diffusing Update Algorithm)
Mendukung equal dan unequal cost load balancing
EIGRP memaintain tiga tabel
1. Neighbor table
- Menampilkan informasi directly connected router
- Command: show ip eigrp neighbor
2. Topology table
- Menampilkan semua best route yang dipelajari dari masing-masing neighbor
- Command: show ip eigrp topology
3. Routing table
- Menampilkan best route menuju network destination
- Command: show ip route
Notes EIGRP
EIGRP menggunakan autonomous system number (ASN) untuk mengidentifikasi routerrouter
yang sharing informasi route
Hanya router yang memiliki ASN sama yang bisa sharing informasi route
Dua step menggunakan routing protocol dinamis secara umum:
1. Pilih routing protocol
2. Advertise directly connected network (jaringan yang terhubung langsung dengan router)
Konfigurasi EIGRP
Router(config)# router eigrp 100
Router(config-router)# network <Network ID>
Router(config-router)# network <Network ID> <Wildcard Mask>
Router(config-router)# no auto-summary
network <Network-ID> : untuk advertise network yang terhubung langsung dengan router
(directly connected network).
Keuntungan EIGRP
Terdapat backup route jika best route down (successor=primary, feasible
successor=backup)
Mendukung VLSM
Konfigurasi
Login console ke R1 atau R2 untuk mempraktikkan Lab 7-EIGRP.
Tampilkan routing table sebelum disetting EIGRP di 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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R1#
Tampilkan routing table sebelum disetting EIGRP di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Dari output diatas, hanya menampilkan directly connected network pada masing-masing router
yang ditandai dengan kode C. Untuk menghubungkan router agar bisa berkomunikasi dengan
network remote (yang tidak terhubung langsung dengan router) maka perlu disetting routing
protocol, salah satu contohnya yaitu EIGRP.
Setting EIGRP di R1
Command untuk mensetting EIGRP.
R1(config)#router eigrp 100
R1(config-router)#network 12.12.12.0
R1(config-router)#network 172.16.1.0
R1(config-router)#network 172.16.2.0
R1(config-router)#network 192.168.1.0
R1(config-router)#no auto-summary
R1(config-router)#
Setting EIGRP di R2
Command untuk mensetting EIGRP.
R2(config)#router eigrp 100
R2(config-router)#network 12.12.12.0
R2(config-router)#network 172.16.3.0
R2(config-router)#network 172.16.4.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary
R2(config-router)#
Verifikasi
Tampilkan routing table setelah disetting EIGRP di R1
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 4 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
D 172.16.3.0 [90/156160] via 12.12.12.2, 00:00:17, FastEthernet1/0
D 172.16.4.0 [90/156160] via 12.12.12.2, 00:00:17, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
D 192.168.2.0/24 [90/30720] via 12.12.12.2, 00:00:17, FastEthernet1/0
R1#
Note: ulangi langkah yang sama diatas untuk menampilkan routing table di R2
Tes Ping dari Laptop1 ke Laptop2
Laptop1>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Ping dari Laptop1 ke Laptop2 berhasil.
Traceroute dari Laptop1 ke Laptop2
Laptop1>tracert 192.168.2.1
Tracing route to 192.168.2.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.1.254
2 0 ms 0 ms 0 ms 12.12.12.2
3 0 ms 0 ms 0 ms 192.168.2.1
Trace complete.
Untuk menuju Laptop2 dari Laptop1 membutuhkan 3 hop.
Tes Ping dari Laptop2 ke Laptop1
Laptop2>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Reply from 192.168.1.1: bytes=32 time=1ms TTL=126
Reply from 192.168.1.1: bytes=32 time=11ms TTL=126
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 3ms
Ping dari Laptop2 ke Laptop1 berhasil.
Traceroute dari Laptop2 ke Laptop1
Laptop2>tracert 192.168.1.1
Tracing route to 192.168.1.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.2.254
2 0 ms 0 ms 0 ms 12.12.12.1
3 1 ms 11 ms 11 ms 192.168.1.1
Trace complete.
Tampilkan neighbor table R1
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 12.12.12.2 Fa1/0 10 00:02:23 40 1000 0 32
R1#
Dari output neighbor table dapat diketahui bahwa R1 memiliki neighbor router 12.12.12.2 (IP
address R2).
Tampilkan topologi table di R1
R1#show ip eigrp topology
IP-EIGRP Topology Table for AS 100
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 12.12.12.0/24, 1 successors, FD is 28160
via Connected, FastEthernet1/0
P 172.16.1.0/24, 1 successors, FD is 128256
via Connected, Loopback1
P 172.16.2.0/24, 1 successors, FD is 128256
via Connected, Loopback2
P 172.16.3.0/24, 1 successors, FD is 156160
via 12.12.12.2 (156160/128256), FastEthernet1/0
P 172.16.4.0/24, 1 successors, FD is 156160
via 12.12.12.2 (156160/128256), FastEthernet1/0
P 192.168.1.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 192.168.2.0/24, 1 successors, FD is 30720
via 12.12.12.2 (30720/28160), FastEthernet1/0
R1#
Note: ulangi langkah yang sama diatas untuk menampilkan neighbor table dan topologi
table di R2
Tampilkan informasi routing EIGRP di R1
R1#show ip protocols
Routing Protocol is "eigrp 100 "
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 100
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
12.0.0.0
172.16.0.0
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
12.12.12.2 90 160431022
Distance: internal 90 external 170
R1#
Berdasarkan output routing information di R1, kita bisa lihat bahwa R1 menggunakan EIGRP
dengan ASN 100 untuk network 12.0.0.0, 172.16.0.0, dan 192.168.1.0. EIGRP memiliki
Administrative Distance 120. Secara default hop-count EIGRP 100.
Tampilkan informasi interface EIGRP di R1
R1#show ip eigrp interfaces
IP-EIGRP interfaces for process 100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Fa1/0 1 0/0 1236 0/10 0 0
Lo1 0 0/0 1236 0/10 0 0
Lo2 0 0/0 1236 0/10 0 0
Fa0/0 0 0/0 1236 0/10 0 0
R1#
Terdapat 4 interface yang disetting EIGRP yaitu Fa1/0, Fa0/0, Lo1, Lo2.
Debug EIGRP R2
Pada saat kita mensetting EIGRP di R2 step sebelumnya pada Halaman 43, di R2 akan tampil
output seperti dibawah ini :
R2(config)#router eigrp 100
R2(config-router)#network 12.12.12.0
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 12.12.12.1 (FastEthernet1/0) is up:
new adjacency
R2(config-router)#network 172.16.3.0
R2(config-router)#network 172.16.4.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 12.12.12.1 (FastEthernet1/0) resync:
summary configured
R2(config-router)#end
R2#
Setelah selesai setting EIGRP di R1, kemudian kita mensetting EIGRP di R2, setelah input network
12.12.12.0 di R2, muncul pesan neighbor adjacency yang ditambahkan ke dalam routing process
EIGRP. Oleh karena itu, saat kita verifikasi show ip eigrp neighbors R2 akan memiliki
neighbor 12.12.12.1 seperti tampilan dibawah ini :
R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 12.12.12.1 Fa1/0 10 00:23:38 40 1000 0 16
R2#
Selain itu juga terjadi proses resync saat kita mengetikkan command no auto-summary.
Untuk mengaktifkan debug paket EIGRP, gunakan command dibawah ini :
R2#debug eigrp packets
EIGRP Packets debugging is on
(UPDATE, REQUEST, QUERY, REPLY, HELLO, ACK )
EIGRP: Received HELLO on FastEthernet1/0 nbr 12.12.12.1
AS 100, Flags 0x0, Seq 17/0 idbQ 0/0
EIGRP: Sending HELLO on Loopback4
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on Loopback4 nbr 172.16.4.4
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0
EIGRP: Packet from ourselves ignored
EIGRP: Sending HELLO on Loopback3
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on Loopback3 nbr 172.16.3.3
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0
EIGRP: Packet from ourselves ignored
EIGRP: Sending HELLO on FastEthernet0/0
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Sending HELLO on FastEthernet1/0
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on FastEthernet1/0 nbr 12.12.12.1
AS 100, Flags 0x0, Seq 17/0 idbQ 0/0
Untuk menghentikan debug EIGRP packets, gunakan command berikut : no debug eigrp
packets
Setting passive-interface di R1
R1(config)#router eigrp 100
R1(config-router)#passive-interface fa0/0
R1(config-router)#
Dari output debug packet EIGRP, kita bisa lihat bahwa EIGRP menggunakan paket hello untuk
membentuk relationship dengan router tetangga (adjacent router). Apabila kita mengaktifkan
command passive-interface di interface maka akan menghentikan pengiriman paket hello
sehingga akan mencegah update routing outgoing dan incoming.
Karena Network A dan Network B tidak memerlukan paket hello, maka kita perlu mengaktifkan
passive-interface untuk interface di R1 dan R2 yang menuju Network A dan Network B.
Note: ulangi langkah yang sama diatas untuk setting passive-interface EIGRP di R2
Semoga Bermanfaat :-)
Tujuan
Setting EIGRP
Debug EIGRP
Setting passive-interface EIGRP
Konsep Dasar
EIGRP disebut juga sebagai routing protocol distance vector, terkadang disebut juga advanced
distance vector atau routing protocol hybrid.
Berikut ini beberapa fitur dari EIGRP :
Cisco open standar protocol (sebelumnya proprietary)
Termasuk classless routing protocol
Update perubahan topologi secara dinamis
Metric (32 bit) : Composite Metric (BW + Delay + Load + MTU + Reliability)
Administrative Distance: 90
Update menggunakan multicast: 224.0.0.10
Jumlah maksimum hop count: 255 (default 100)
Mendukung protocol IP, IPX, Apple Talk
Hello packet dikirim setiap 5 second (dead interval 15 second)
Konvergensi cepat
Menggunakan algoritma DUAL (Diffusing Update Algorithm)
Mendukung equal dan unequal cost load balancing
EIGRP memaintain tiga tabel
1. Neighbor table
- Menampilkan informasi directly connected router
- Command: show ip eigrp neighbor
2. Topology table
- Menampilkan semua best route yang dipelajari dari masing-masing neighbor
- Command: show ip eigrp topology
3. Routing table
- Menampilkan best route menuju network destination
- Command: show ip route
Notes EIGRP
EIGRP menggunakan autonomous system number (ASN) untuk mengidentifikasi routerrouter
yang sharing informasi route
Hanya router yang memiliki ASN sama yang bisa sharing informasi route
Dua step menggunakan routing protocol dinamis secara umum:
1. Pilih routing protocol
2. Advertise directly connected network (jaringan yang terhubung langsung dengan router)
Konfigurasi EIGRP
Router(config)# router eigrp 100
Router(config-router)# network <Network ID>
Router(config-router)# network <Network ID> <Wildcard Mask>
Router(config-router)# no auto-summary
network <Network-ID> : untuk advertise network yang terhubung langsung dengan router
(directly connected network).
Keuntungan EIGRP
Terdapat backup route jika best route down (successor=primary, feasible
successor=backup)
Mendukung VLSM
Konfigurasi
Login console ke R1 atau R2 untuk mempraktikkan Lab 7-EIGRP.
Tampilkan routing table sebelum disetting EIGRP di 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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R1#
Tampilkan routing table sebelum disetting EIGRP di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Dari output diatas, hanya menampilkan directly connected network pada masing-masing router
yang ditandai dengan kode C. Untuk menghubungkan router agar bisa berkomunikasi dengan
network remote (yang tidak terhubung langsung dengan router) maka perlu disetting routing
protocol, salah satu contohnya yaitu EIGRP.
Setting EIGRP di R1
Command untuk mensetting EIGRP.
R1(config)#router eigrp 100
R1(config-router)#network 12.12.12.0
R1(config-router)#network 172.16.1.0
R1(config-router)#network 172.16.2.0
R1(config-router)#network 192.168.1.0
R1(config-router)#no auto-summary
R1(config-router)#
Setting EIGRP di R2
Command untuk mensetting EIGRP.
R2(config)#router eigrp 100
R2(config-router)#network 12.12.12.0
R2(config-router)#network 172.16.3.0
R2(config-router)#network 172.16.4.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary
R2(config-router)#
Verifikasi
Tampilkan routing table setelah disetting EIGRP di R1
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 4 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
D 172.16.3.0 [90/156160] via 12.12.12.2, 00:00:17, FastEthernet1/0
D 172.16.4.0 [90/156160] via 12.12.12.2, 00:00:17, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
D 192.168.2.0/24 [90/30720] via 12.12.12.2, 00:00:17, FastEthernet1/0
R1#
Note: ulangi langkah yang sama diatas untuk menampilkan routing table di R2
Tes Ping dari Laptop1 ke Laptop2
Laptop1>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Ping dari Laptop1 ke Laptop2 berhasil.
Traceroute dari Laptop1 ke Laptop2
Laptop1>tracert 192.168.2.1
Tracing route to 192.168.2.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.1.254
2 0 ms 0 ms 0 ms 12.12.12.2
3 0 ms 0 ms 0 ms 192.168.2.1
Trace complete.
Untuk menuju Laptop2 dari Laptop1 membutuhkan 3 hop.
Tes Ping dari Laptop2 ke Laptop1
Laptop2>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Reply from 192.168.1.1: bytes=32 time=1ms TTL=126
Reply from 192.168.1.1: bytes=32 time=11ms TTL=126
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 3ms
Ping dari Laptop2 ke Laptop1 berhasil.
Traceroute dari Laptop2 ke Laptop1
Laptop2>tracert 192.168.1.1
Tracing route to 192.168.1.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.2.254
2 0 ms 0 ms 0 ms 12.12.12.1
3 1 ms 11 ms 11 ms 192.168.1.1
Trace complete.
Tampilkan neighbor table R1
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 12.12.12.2 Fa1/0 10 00:02:23 40 1000 0 32
R1#
Dari output neighbor table dapat diketahui bahwa R1 memiliki neighbor router 12.12.12.2 (IP
address R2).
Tampilkan topologi table di R1
R1#show ip eigrp topology
IP-EIGRP Topology Table for AS 100
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 12.12.12.0/24, 1 successors, FD is 28160
via Connected, FastEthernet1/0
P 172.16.1.0/24, 1 successors, FD is 128256
via Connected, Loopback1
P 172.16.2.0/24, 1 successors, FD is 128256
via Connected, Loopback2
P 172.16.3.0/24, 1 successors, FD is 156160
via 12.12.12.2 (156160/128256), FastEthernet1/0
P 172.16.4.0/24, 1 successors, FD is 156160
via 12.12.12.2 (156160/128256), FastEthernet1/0
P 192.168.1.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 192.168.2.0/24, 1 successors, FD is 30720
via 12.12.12.2 (30720/28160), FastEthernet1/0
R1#
Note: ulangi langkah yang sama diatas untuk menampilkan neighbor table dan topologi
table di R2
Tampilkan informasi routing EIGRP di R1
R1#show ip protocols
Routing Protocol is "eigrp 100 "
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 100
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
12.0.0.0
172.16.0.0
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
12.12.12.2 90 160431022
Distance: internal 90 external 170
R1#
Berdasarkan output routing information di R1, kita bisa lihat bahwa R1 menggunakan EIGRP
dengan ASN 100 untuk network 12.0.0.0, 172.16.0.0, dan 192.168.1.0. EIGRP memiliki
Administrative Distance 120. Secara default hop-count EIGRP 100.
Tampilkan informasi interface EIGRP di R1
R1#show ip eigrp interfaces
IP-EIGRP interfaces for process 100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Fa1/0 1 0/0 1236 0/10 0 0
Lo1 0 0/0 1236 0/10 0 0
Lo2 0 0/0 1236 0/10 0 0
Fa0/0 0 0/0 1236 0/10 0 0
R1#
Terdapat 4 interface yang disetting EIGRP yaitu Fa1/0, Fa0/0, Lo1, Lo2.
Debug EIGRP R2
Pada saat kita mensetting EIGRP di R2 step sebelumnya pada Halaman 43, di R2 akan tampil
output seperti dibawah ini :
R2(config)#router eigrp 100
R2(config-router)#network 12.12.12.0
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 12.12.12.1 (FastEthernet1/0) is up:
new adjacency
R2(config-router)#network 172.16.3.0
R2(config-router)#network 172.16.4.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 12.12.12.1 (FastEthernet1/0) resync:
summary configured
R2(config-router)#end
R2#
Setelah selesai setting EIGRP di R1, kemudian kita mensetting EIGRP di R2, setelah input network
12.12.12.0 di R2, muncul pesan neighbor adjacency yang ditambahkan ke dalam routing process
EIGRP. Oleh karena itu, saat kita verifikasi show ip eigrp neighbors R2 akan memiliki
neighbor 12.12.12.1 seperti tampilan dibawah ini :
R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 12.12.12.1 Fa1/0 10 00:23:38 40 1000 0 16
R2#
Selain itu juga terjadi proses resync saat kita mengetikkan command no auto-summary.
Untuk mengaktifkan debug paket EIGRP, gunakan command dibawah ini :
R2#debug eigrp packets
EIGRP Packets debugging is on
(UPDATE, REQUEST, QUERY, REPLY, HELLO, ACK )
EIGRP: Received HELLO on FastEthernet1/0 nbr 12.12.12.1
AS 100, Flags 0x0, Seq 17/0 idbQ 0/0
EIGRP: Sending HELLO on Loopback4
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on Loopback4 nbr 172.16.4.4
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0
EIGRP: Packet from ourselves ignored
EIGRP: Sending HELLO on Loopback3
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on Loopback3 nbr 172.16.3.3
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0
EIGRP: Packet from ourselves ignored
EIGRP: Sending HELLO on FastEthernet0/0
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Sending HELLO on FastEthernet1/0
AS 100, Flags 0x0, Seq 36/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on FastEthernet1/0 nbr 12.12.12.1
AS 100, Flags 0x0, Seq 17/0 idbQ 0/0
Untuk menghentikan debug EIGRP packets, gunakan command berikut : no debug eigrp
packets
Setting passive-interface di R1
R1(config)#router eigrp 100
R1(config-router)#passive-interface fa0/0
R1(config-router)#
Dari output debug packet EIGRP, kita bisa lihat bahwa EIGRP menggunakan paket hello untuk
membentuk relationship dengan router tetangga (adjacent router). Apabila kita mengaktifkan
command passive-interface di interface maka akan menghentikan pengiriman paket hello
sehingga akan mencegah update routing outgoing dan incoming.
Karena Network A dan Network B tidak memerlukan paket hello, maka kita perlu mengaktifkan
passive-interface untuk interface di R1 dan R2 yang menuju Network A dan Network B.
Note: ulangi langkah yang sama diatas untuk setting passive-interface EIGRP di R2
Semoga Bermanfaat :-)
RIPv2 || Dewi Aisyah Blog
Assalamualaikum wr wb kali ini saya akan share lab selanjutnya yaitu RIPv2
Tujuan
Setting RIPv2
Debug RIPv2
Setting passive-interface RIPv2
Konsep Dasar
Keuntungan menggunakan dynamic routing dibandingkan static routing:
Tidak perlu tahu network destination
Perlu melakukan advertise network yang terhubung langsung
Update perubahan topologi secara dinamis
Pekerjaan network admin jadi berkurang
Digunakan di industri besar
Neighbor router melakukan pertukaran informasi routing dan membangun routing table
secara otomatis
Lebih mudah dibandingkan menggunakan static routing
RIPv2
Open standar protocol (Cisco atau non-Cisco)
Classless routing protocol (support default atau sub-networks)
Mendukung VLSM
Mendukung Autentikasi
Menggunakan multicast address 224.0.0.9
Administrative distance: 120
Metric: hop count (terbaik = yang paling kecil)
Hop ke-16 unreachable
Load balancing 4 equal path
Digunakan untuk organisasi kecil
Update secara periodic dan pertukaran keseleruhan informasi routing tabel setiap 30
second
Dua langkah mudah setting routing protocol dinamis secara umum:
1. Pilih routing protocol
2. Advertise directly connected network (jaringan yang terhubung langsung dengan router)
Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# network <Network ID>
Router(config-router)# no auto-summary
network <Network-ID> : untuk advertise network yang terhubung langsung dengan router
(directly connected network).
Keuntungan RIPv2
Mudah dikonfigurasi
Tidak memerlukan design seperti OSPF
Tidak kompleks
Less overhead
Kerugian RIPv2
Utilisasi bandwidth sangat tinggi karena diperlukan untuk broadcast setiap 30 second
(RIPv1)
Terbatas pada jumlah hop (bukan bandwidth)
Tidak scalable, hop count hanya 15
Konvergensi rendah
Waktu konvergensi: waktu yang dibutuhkan oleh router untuk menggunakan route alternative
ketika best route down.
Konfigurasi
Login console ke R1 atau R2 untuk mempraktikkan Lab 6-RIPv2.
Tampilkan routing table sebelum disetting RIPv2 di 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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R1#
Tampilkan routing table sebelum disetting RIPv2 di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Setting RIPv2 di R1
Command untuk mensetting RIPv2.
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 12.12.12.0
R1(config-router)#network 172.16.1.0
R1(config-router)#network 172.16.2.0
R1(config-router)#network 192.168.1.0
R1(config-router)#no auto-summary
R1(config-router)#
Setting RIPv2 di R2
Command untuk mensetting RIPv2.
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 12.12.12.0
R2(config-router)#network 172.16.3.0
R2(config-router)#network 172.16.4.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary
R2(config-router)#
Verifikasi
Tampilkan routing table setelah disetting RIPv2 di R1
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
R 172.16.0.0/16 [120/1] via 12.12.12.2, 00:00:55, FastEthernet1/0
C 172.16.1.0/24 is directly connected, Loopback1
C 172.16.2.0/24 is directly connected, Loopback2
R 172.16.3.0/24 [120/1] via 12.12.12.2, 00:00:02, FastEthernet1/0
R 172.16.4.0/24 [120/1] via 12.12.12.2, 00:00:02, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 12.12.12.2, 00:00:02, FastEthernet1/0
R1#
Note: ulangi langkah yang sama diatas untuk menampilkan routing table di R2
Tes Ping dari Laptop1 ke Laptop2
Laptop1>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Ping dari Laptop1 ke Laptop2 berhasil.
Traceroute dari Laptop1 ke Laptop2
Laptop1>tracert 192.168.2.1
Tracing route to 192.168.2.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.1.254
2 0 ms 0 ms 0 ms 12.12.12.2
3 0 ms 0 ms 0 ms 192.168.2.1
Trace complete.
Untuk menuju Laptop2 dari Laptop1 membutuhkan 3 hop.
Tes Ping dari Laptop2 ke Laptop1
Laptop2>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Reply from 192.168.1.1: bytes=32 time=1ms TTL=126
Reply from 192.168.1.1: bytes=32 time=11ms TTL=126
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 3ms
Ping dari Laptop2 ke Laptop1 berhasil.
Traceroute dari Laptop2 ke Laptop1
Laptop2>tracert 192.168.1.1
Tracing route to 192.168.1.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.2.254
2 0 ms 0 ms 0 ms 12.12.12.1
3 1 ms 11 ms 11 ms 192.168.1.1
Trace complete.
Tampilkan informasi routing protocol yang digunakan di R1
R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 12 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
FastEthernet1/0 2 2
Loopback1 2 2
Loopback2 2 2
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
12.0.0.0
172.16.0.0
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
12.12.12.2 120 00:00:15
Distance: (default is 120)
Note: ulangi langkah yang sama diatas untuk menampilkan routing information di R2
Berdasarkan output routing information di R1, kita bisa lihat bahwa R1 menggunakan RIP version 2
untuk network 12.0.0.0, 172.16.0.0, dan 192.168.1.0. RIP memiliki Administrative Distance (AD)
120. Terdapat 4 interface yang mengaktifkan RIP yaitu Fa1/0, Fa0/0, Lo1, Lo2.
Debug RIP di R1
Dengan mengaktifkan fitur debug, kita bisa tahu apakah RIP sudah berjalan atau belum.
R1#debug ip rip
RIP protocol debugging is on
R1#
RIP: received v2 update from 12.12.12.2 on FastEthernet1/0
172.16.3.0/24 via 0.0.0.0 in 1 hops
172.16.4.0/24 via 0.0.0.0 in 1 hops
192.168.2.0/24 via 0.0.0.0 in 1 hops
RIP: sending v2 update to 224.0.0.9 via FastEthernet1/0 (12.12.12.1)
RIP: build update entries
172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
172.16.2.0/24 via 0.0.0.0, metric 1, tag 0
192.168.1.0/24 via 0.0.0.0, metric 1, tag 0
RIP: sending v2 update to 224.0.0.9 via Loopback1 (172.16.1.1)
RIP: build update entries
12.12.12.0/24 via 0.0.0.0, metric 1, tag 0
172.16.2.0/24 via 0.0.0.0, metric 1, tag 0
172.16.3.0/24 via 0.0.0.0, metric 2, tag 0
172.16.4.0/24 via 0.0.0.0, metric 2, tag 0
192.168.1.0/24 via 0.0.0.0, metric 1, tag 0
192.168.2.0/24 via 0.0.0.0, metric 2, tag 0
RIP: sending v2 update to 224.0.0.9 via Loopback2 (172.16.2.2)
RIP: build update entries
12.12.12.0/24 via 0.0.0.0, metric 1, tag 0
172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
172.16.3.0/24 via 0.0.0.0, metric 2, tag 0
172.16.4.0/24 via 0.0.0.0, metric 2, tag 0
192.168.1.0/24 via 0.0.0.0, metric 1, tag 0
192.168.2.0/24 via 0.0.0.0, metric 2, tag 0
RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.1.254)
RIP: build update entries
12.12.12.0/24 via 0.0.0.0, metric 1, tag 0
172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
172.16.2.0/24 via 0.0.0.0, metric 1, tag 0
172.16.3.0/24 via 0.0.0.0, metric 2, tag 0
172.16.4.0/24 via 0.0.0.0, metric 2, tag 0
192.168.2.0/24 via 0.0.0.0, metric 2, tag 0
Dari output debug RIP, kita bisa lihat bahwa RIP sudah running di router R1. Untuk menghentikan
output debug, gunakan command undebug ip rip atau undebug all.
Note: ulangi langkah yang sama diatas untuk menampilkan output debug RIP di R2
Setting passive-interface di R1
Untuk menghentikan routing updates yang dikirimkan ke Network A, maka aktifkan command
passive-interface di interface fa0/0 R1 yang menuju Network A. Hal ini tidak mempengaruhi
advertise Network A. Jadi, Network A masih tetap dikenali oleh R2 dan masih tampil di routing table
R2. Di routing protocol RIPv2, mengaktifkan passive-interface mencegah multicast update
melalui interface spesifik dan masih bisa mendapatkan update dari RIP neighbor yang lain.
R1(config)#router rip
R1(config-router)#passive-interface fa0/0
R1(config-router)#
Tampilkan routing information di R1
R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 3 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
FastEthernet1/0 2 2
Loopback1 2 2
Loopback2 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
12.0.0.0
172.16.0.0
192.168.1.0
Passive Interface(s):
FastEthernet0/0
Routing Information Sources:
Gateway Distance Last Update
12.12.12.2 120 00:00:08
Distance: (default is 120)
R1#
Passive-interface fa0/0 R1 sudah berhasil kita setting.
Note: ulangi langkah yang sama diatas untuk setting passive-interface di R2
Semoga Bermanfaat :-)
Tujuan
Setting RIPv2
Debug RIPv2
Setting passive-interface RIPv2
Konsep Dasar
Keuntungan menggunakan dynamic routing dibandingkan static routing:
Tidak perlu tahu network destination
Perlu melakukan advertise network yang terhubung langsung
Update perubahan topologi secara dinamis
Pekerjaan network admin jadi berkurang
Digunakan di industri besar
Neighbor router melakukan pertukaran informasi routing dan membangun routing table
secara otomatis
Lebih mudah dibandingkan menggunakan static routing
RIPv2
Open standar protocol (Cisco atau non-Cisco)
Classless routing protocol (support default atau sub-networks)
Mendukung VLSM
Mendukung Autentikasi
Menggunakan multicast address 224.0.0.9
Administrative distance: 120
Metric: hop count (terbaik = yang paling kecil)
Hop ke-16 unreachable
Load balancing 4 equal path
Digunakan untuk organisasi kecil
Update secara periodic dan pertukaran keseleruhan informasi routing tabel setiap 30
second
Dua langkah mudah setting routing protocol dinamis secara umum:
1. Pilih routing protocol
2. Advertise directly connected network (jaringan yang terhubung langsung dengan router)
Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# network <Network ID>
Router(config-router)# no auto-summary
network <Network-ID> : untuk advertise network yang terhubung langsung dengan router
(directly connected network).
Keuntungan RIPv2
Mudah dikonfigurasi
Tidak memerlukan design seperti OSPF
Tidak kompleks
Less overhead
Kerugian RIPv2
Utilisasi bandwidth sangat tinggi karena diperlukan untuk broadcast setiap 30 second
(RIPv1)
Terbatas pada jumlah hop (bukan bandwidth)
Tidak scalable, hop count hanya 15
Konvergensi rendah
Waktu konvergensi: waktu yang dibutuhkan oleh router untuk menggunakan route alternative
ketika best route down.
Konfigurasi
Login console ke R1 atau R2 untuk mempraktikkan Lab 6-RIPv2.
Tampilkan routing table sebelum disetting RIPv2 di 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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R1#
Tampilkan routing table sebelum disetting RIPv2 di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Setting RIPv2 di R1
Command untuk mensetting RIPv2.
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 12.12.12.0
R1(config-router)#network 172.16.1.0
R1(config-router)#network 172.16.2.0
R1(config-router)#network 192.168.1.0
R1(config-router)#no auto-summary
R1(config-router)#
Setting RIPv2 di R2
Command untuk mensetting RIPv2.
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 12.12.12.0
R2(config-router)#network 172.16.3.0
R2(config-router)#network 172.16.4.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary
R2(config-router)#
Verifikasi
Tampilkan routing table setelah disetting RIPv2 di R1
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
R 172.16.0.0/16 [120/1] via 12.12.12.2, 00:00:55, FastEthernet1/0
C 172.16.1.0/24 is directly connected, Loopback1
C 172.16.2.0/24 is directly connected, Loopback2
R 172.16.3.0/24 [120/1] via 12.12.12.2, 00:00:02, FastEthernet1/0
R 172.16.4.0/24 [120/1] via 12.12.12.2, 00:00:02, FastEthernet1/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 12.12.12.2, 00:00:02, FastEthernet1/0
R1#
Note: ulangi langkah yang sama diatas untuk menampilkan routing table di R2
Tes Ping dari Laptop1 ke Laptop2
Laptop1>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Ping dari Laptop1 ke Laptop2 berhasil.
Traceroute dari Laptop1 ke Laptop2
Laptop1>tracert 192.168.2.1
Tracing route to 192.168.2.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.1.254
2 0 ms 0 ms 0 ms 12.12.12.2
3 0 ms 0 ms 0 ms 192.168.2.1
Trace complete.
Untuk menuju Laptop2 dari Laptop1 membutuhkan 3 hop.
Tes Ping dari Laptop2 ke Laptop1
Laptop2>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Reply from 192.168.1.1: bytes=32 time=1ms TTL=126
Reply from 192.168.1.1: bytes=32 time=11ms TTL=126
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 3ms
Ping dari Laptop2 ke Laptop1 berhasil.
Traceroute dari Laptop2 ke Laptop1
Laptop2>tracert 192.168.1.1
Tracing route to 192.168.1.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.2.254
2 0 ms 0 ms 0 ms 12.12.12.1
3 1 ms 11 ms 11 ms 192.168.1.1
Trace complete.
Tampilkan informasi routing protocol yang digunakan di R1
R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 12 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
FastEthernet1/0 2 2
Loopback1 2 2
Loopback2 2 2
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
12.0.0.0
172.16.0.0
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
12.12.12.2 120 00:00:15
Distance: (default is 120)
Note: ulangi langkah yang sama diatas untuk menampilkan routing information di R2
Berdasarkan output routing information di R1, kita bisa lihat bahwa R1 menggunakan RIP version 2
untuk network 12.0.0.0, 172.16.0.0, dan 192.168.1.0. RIP memiliki Administrative Distance (AD)
120. Terdapat 4 interface yang mengaktifkan RIP yaitu Fa1/0, Fa0/0, Lo1, Lo2.
Debug RIP di R1
Dengan mengaktifkan fitur debug, kita bisa tahu apakah RIP sudah berjalan atau belum.
R1#debug ip rip
RIP protocol debugging is on
R1#
RIP: received v2 update from 12.12.12.2 on FastEthernet1/0
172.16.3.0/24 via 0.0.0.0 in 1 hops
172.16.4.0/24 via 0.0.0.0 in 1 hops
192.168.2.0/24 via 0.0.0.0 in 1 hops
RIP: sending v2 update to 224.0.0.9 via FastEthernet1/0 (12.12.12.1)
RIP: build update entries
172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
172.16.2.0/24 via 0.0.0.0, metric 1, tag 0
192.168.1.0/24 via 0.0.0.0, metric 1, tag 0
RIP: sending v2 update to 224.0.0.9 via Loopback1 (172.16.1.1)
RIP: build update entries
12.12.12.0/24 via 0.0.0.0, metric 1, tag 0
172.16.2.0/24 via 0.0.0.0, metric 1, tag 0
172.16.3.0/24 via 0.0.0.0, metric 2, tag 0
172.16.4.0/24 via 0.0.0.0, metric 2, tag 0
192.168.1.0/24 via 0.0.0.0, metric 1, tag 0
192.168.2.0/24 via 0.0.0.0, metric 2, tag 0
RIP: sending v2 update to 224.0.0.9 via Loopback2 (172.16.2.2)
RIP: build update entries
12.12.12.0/24 via 0.0.0.0, metric 1, tag 0
172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
172.16.3.0/24 via 0.0.0.0, metric 2, tag 0
172.16.4.0/24 via 0.0.0.0, metric 2, tag 0
192.168.1.0/24 via 0.0.0.0, metric 1, tag 0
192.168.2.0/24 via 0.0.0.0, metric 2, tag 0
RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.1.254)
RIP: build update entries
12.12.12.0/24 via 0.0.0.0, metric 1, tag 0
172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
172.16.2.0/24 via 0.0.0.0, metric 1, tag 0
172.16.3.0/24 via 0.0.0.0, metric 2, tag 0
172.16.4.0/24 via 0.0.0.0, metric 2, tag 0
192.168.2.0/24 via 0.0.0.0, metric 2, tag 0
Dari output debug RIP, kita bisa lihat bahwa RIP sudah running di router R1. Untuk menghentikan
output debug, gunakan command undebug ip rip atau undebug all.
Note: ulangi langkah yang sama diatas untuk menampilkan output debug RIP di R2
Setting passive-interface di R1
Untuk menghentikan routing updates yang dikirimkan ke Network A, maka aktifkan command
passive-interface di interface fa0/0 R1 yang menuju Network A. Hal ini tidak mempengaruhi
advertise Network A. Jadi, Network A masih tetap dikenali oleh R2 dan masih tampil di routing table
R2. Di routing protocol RIPv2, mengaktifkan passive-interface mencegah multicast update
melalui interface spesifik dan masih bisa mendapatkan update dari RIP neighbor yang lain.
R1(config)#router rip
R1(config-router)#passive-interface fa0/0
R1(config-router)#
Tampilkan routing information di R1
R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 3 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
FastEthernet1/0 2 2
Loopback1 2 2
Loopback2 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
12.0.0.0
172.16.0.0
192.168.1.0
Passive Interface(s):
FastEthernet0/0
Routing Information Sources:
Gateway Distance Last Update
12.12.12.2 120 00:00:08
Distance: (default is 120)
R1#
Passive-interface fa0/0 R1 sudah berhasil kita setting.
Note: ulangi langkah yang sama diatas untuk setting passive-interface di R2
Semoga Bermanfaat :-)
Static Default Route || Dewi Aisyah Blog
Assalamualaikum wr wb
Kali ini saya akan share Lab selanjutnya yaitu Lab Static Default Route
Kali ini saya akan share Lab selanjutnya yaitu Lab Static Default Route
Tujuan
Setting static default route
Konsep Dasar
Static default route adalah static route dengan network address destination 0.0.0.0 dan subnet
mask 0.0.0.0. Dikenal juga sebagai “quad zero” route. Static default route melakukan identifikasi
gateway yang akan digunakan oleh router untuk mengirimkan semua paket IP untuk network
destination yang tidak diketahui di routing table, sehingga akan diforward ke route 0.0.0.0/0.
Untuk konfigurasi static default route dapat menggunakan next-hop ip address atau exit-interface.
Router(config)# ip route 0.0.0.0 0.0.0.0 {ip-address or exit-intf}
Static default route:
Default route dapat digunakan ketika network destination tidak diketahui (Internet)
Default route dapat digunakan ketika hanya ada satu jalur keluar untuk semua network
destination
Dapat mengurangi ukuran routing table
Jika router tidak menemukan entry network destination di routing table, maka router akan
memforward paket ke default route
Menjadi route pilihan terakhir di routing table
Konfigurasi
Login console ke R1 atau R2 untuk mempraktikkan Lab-5 Static Default Route.
Setelah mengerjakan Lab 4, gunakan kembali topologi Lab 4 beserta solutionnya untuk
mempraktikkan Lab 5.
Untuk mensimulasikan default route di R1, hapus terlebih dahulu static route di R1 sedangkan R2
masih seperti semula. Setelah disetting static default route di R1 kemudian tes Ping dari Laptop1
ke Laptop2. Sebaliknya, untuk mencoba default route di R2, hapus static route di R2 dan setting
ulang static route di R1 seperti di Lab 4. Kemudian tes Ping dari Laptop2 ke Laptop1.
Hapus static route di R1
R1(config)#
R1(config)#no ip route 192.168.2.0 255.255.255.0 12.12.12.2
R1(config)#no ip route 172.16.3.0 255.255.255.0 12.12.12.2
R1(config)#no ip route 172.16.4.0 255.255.255.0 12.12.12.2
R1(config)#
Setting static default route di R1
Command untuk mensetting static default route menggunakan next-hop ip address.
R1(config)#
R1(config)# ip route 0.0.0.0 0.0.0.0 12.12.12.2
R1(config)#
Command untuk mensetting static default route menggunakan exit-interface
R1(config)#
R1(config)# ip route 0.0.0.0 0.0.0.0 fa1/0
Pilih salah satu command diatas apakah ingin menggunakan next-hop ip address atau exitinterface.
Tampilkan routing table di R1
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 12.12.12.2 to network 0.0.0.0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 12.12.12.2
Tanda S* menandakan static default route. Setiap network destination yang tidak diketahui
dirouting table akan diforward ke 12.12.12.2. Lihat juga pada bagian Gateway of last resort yang
menyatakan bahwa untuk menuju network 0.0.0.0 gunakan gatewaynya 12.12.12.2.
Tes Ping dari Laptop1 ke Laptop2
Laptop1>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=1ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Reply from 192.168.2.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Traceroute dari Laptop1 ke Laptop2
Laptop1>tracert 192.168.2.1
Tracing route to 192.168.2.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.1.254
2 0 ms 0 ms 0 ms 12.12.12.2
3 0 ms 0 ms 0 ms 192.168.2.1
Trace complete.
Lab static default route di R1 sudah berhasil. Konfigurasi eksisting saat ini R1 menggunakan static
default route dan R2 menggunakan static route.
Tampilan routing table di R2
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
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 4 subnets
S 172.16.1.0 [1/0] via 12.12.12.1
S 172.16.2.0 [1/0] via 12.12.12.1
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
S 192.168.1.0/24 [1/0] via 12.12.12.1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
Dari tampilan diatas dapat dilihat bahwa R2 menggunakan static route dengan kode S. Sedangkan
di R1 static default route dengan kode S*. Perhatikan perbedaannya ada * di R1.
Sekarang kita akan mencoba static default route di R2, berarti di R1 harus disetting static route
terlebih dahulu dan hapus konfigurasi static default route yang ada. Cek kembali solution Lab 4.
Hapus static default route di R1
Command untuk menghapus settingan static default route menggunakan next-hop ip address.
R1(config)#
R1(config)#no ip route 0.0.0.0 0.0.0.0 12.12.12.2
R1(config)#
Command untuk menghapus settingan static default route menggunakan exit-interface
R1(config)#
R1(config)#no ip route 0.0.0.0 0.0.0.0 fa1/0
R1(config)#
Setting static route di R1
R1(config)#
R1(config)#ip route 192.168.2.0 255.255.255.0 12.12.12.2
R1(config)#ip route 172.16.3.0 255.255.255.0 12.12.12.2
R1(config)#ip route 172.16.4.0 255.255.255.0 12.12.12.2
R1(config)#
Sebelum melanjutkan langkah berikutnya, hapus terlebih dahulu static route di R2. Dan tampilkan
hasilnya menggunakan show ip route, pastikan hanya C saja yang masih ada di routing table R2.
Setting static default route di R2
Command untuk mensetting static default route menggunakan next-hop ip address.
R2(config)#
R2(config)# ip route 0.0.0.0 0.0.0.0 12.12.12.1
Command untuk mensetting static default route menggunakan exit-interface
R2(config)#
R2(config)# ip route 0.0.0.0 0.0.0.0 fa1/0
R2(config)#
Pilih salah satu command diatas apakah ingin menggunakan next-hop ip address atau exitinterface.
Tampilkan routing table di R2
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 12.12.12.1 to network 0.0.0.0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback0
C 172.16.4.0 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 12.12.12.1
R2#
Tanda S* menandakan static default route. Setiap network destination yang tidak diketahui
dirouting table akan diforward ke 12.12.12.1. Lihat juga pada bagian Gateway of last resort yang
menyatakan bahwa untuk menuju network 0.0.0.0 gunakan gatewaynya 12.12.12.1.
Tes Ping dari Laptop2 ke Laptop1
Laptop2>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Reply from 192.168.1.1: bytes=32 time=1ms TTL=126
Reply from 192.168.1.1: bytes=32 time=11ms TTL=126
Reply from 192.168.1.1: bytes=32 time=0ms TTL=126
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 3ms
Traceroute dari Laptop2 ke Laptop1
Laptop2>tracert 192.168.1.1
Tracing route to 192.168.1.1 over a maximum of 30 hops:
1 1 ms 0 ms 0 ms 192.168.2.254
2 0 ms 0 ms 0 ms 12.12.12.1
3 1 ms 11 ms 11 ms 192.168.1.1
Trace complete.
Note: langkah diatas harus dijalankan secara bergantian agar bisa mensimulasikan static
default route di R1 maupun R2.
Verifikasi
Proses konfigurasi diatas sekaligus dilakukan proses verifikasi. Untuk melihat hasil settinggan,
gunakan command show running-config.
Tampilkan routing table R2
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 12.12.12.1 to network 0.0.0.0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet1/0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.3.0 is directly connected, Loopback3
C 172.16.4.0 is directly connected, Loopback4
C 192.168.2.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 12.12.12.1
Dari output diatas ditampilkan full routing table di R2. Jika ingin menampilkan misalnya yang
connected atau static saja, gunakan tambahan sub-command connected atau static.
Tampilkan routing table static R2
R2#show ip route static
S* 0.0.0.0/0 [1/0] via 12.12.12.1
Tampilkan routing table connected R2
R2#show ip route connected
C 12.12.12.0/24 is directly connected, FastEthernet1/0
C 172.16.3.0/24 is directly connected, Loopback3
C 172.16.4.0/24 is directly connected, Loopback4
C 192.168.2.0/24 is directly connected, FastEthernet0/0
R2#
Opsi menampilkan routing table
Ada beberapa pilihan untuk menampilkan routing table, apakah ingin menampilkan static saja atau
yang lainnya. Gunakan tanda ? untuk melihat opsi yang tersedia.
R2#show ip route ?
WORD Network to display information about or hostname
bgp Border Gateway Protocol (BGP)
connected Connected
eigrp Enhanced Interior Routing Protocol (EIGRP)
ospf Open Shortest Path First (OSPF)
rip Routing Information Protocol (RIP)
static Static routes
summary Summary of all routes
<cr>
R2#
Semoga Bermanfaat :-)
Langganan:
Postingan (Atom)