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 :-)
Tidak ada komentar:
Posting Komentar