networking:cisco:eigrp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
networking:cisco:eigrp [2026/02/04 13:22] – created ilyasanetworking:cisco:eigrp [2026/02/04 16:29] (current) – [Testing] ilyasa
Line 1: Line 1:
 {{indexmenu_n>055}} {{indexmenu_n>055}}
 ====== Cisco : Dynamic Routing - EIGRP ====== ====== Cisco : Dynamic Routing - EIGRP ======
-Desciption+EIGRP adalah singkatan dari Enhanced Interior Gateway Routing Protocol. Ini adalah protokol routing yang dikembangkan oleh Cisco Systems dan digunakan dalam jaringan komputer untuk mengambil keputusan routing dan menyebarkan informasi routing. EIGRP merupakan versi yang ditingkatkan dari Interior Gateway Routing Protocol (IGRP) dan memadukan fitur dari protokol routing vektor jarak dan protokol routing link-state. 
 + 
 +EIGRP umum digunakan dalam jaringan perusahaan berukuran menengah hingga besar, terutama yang menggunakan peralatan jaringan Cisco. Namun, penting untuk dicatat bahwa sebagai protokol yang dimiliki secara proporsional oleh Cisco, EIGRP utamanya digunakan dalam lingkungan Cisco dan mungkin tidak dapat berinteroperabilitas dengan perangkat non-Cisco.
 ===== Syntax ===== ===== Syntax =====
-==== Some acction ==== + 
-^ Command ^ Description ^ +===== EIGRP Configuration ===== 
-| ''S1(config)#vlan [vlan-ID]''Membuat VLAN baru dan menetapkan nomor VLAN + 
-| ''S1(config-vlan)#name [name]''Memberikan nama pada VLAN +^Command                                                              ^Description                            
-Contoh+|''%%R1(config)#router eigrp [AS-number]%%''                          |[AS-number] value = 1-65535.           
-<code> +|''%%R1(config-router)#eigrp router-id [a.b.c.d]%%''                  |(optional) manual konfigurasi router-id
-vlan 10 +|''%%R1(config-router)#network [network-address]%%''                  |classfull network                      | 
- name VLAN-10 +|''%%R1(config-router)#network [network-address] ([wildcard-mask])%%''|recomendclassless network            | 
-vlan 20 + 
- name VLAN-20 +  * Apabila router ID tidak dikonfigurasi, router akan memakai Ipv4 dari loopback interface tertinggi dari interface yang aktif. Apabila tidak ada loopback interfaces maka router ID akan memakai Ipv4 dari physical interface tertinggi 
-vlan 99 + 
- name VLAN-Management +===== EIGRP Verification ===== 
-</code>+ 
 +^Command                           ^Description                ^ 
 +|''%%R1#show ip protocols%%''      |                           | 
 +|''%%R1#show ip eigrp neighbors%%''|Menampilkan EIGRP neighbors| 
 +|''%%R1#show ip route eigrp%%''    |eigrp only route tables    | 
 +|''%%R1#show ip eigrp interface%%''                          |
  
 ===== Topologi ===== ===== Topologi =====
-Gambar topology +{{ :networking:cisco:cisco_template_routing_rev.png?nolink |}} 
-Goals Topology+<hidden Konfigurasi IP> 
 +  * **R1 : Konfigurasi IP** 
 +<code js> 
 +R1(config)#interface FastEthernet0/
 +R1(config-if)#ip address 192.168.1.1 255.255.255.0 
 +R1(config-if)#no shutdown 
 +R1(config-if)#exit 
 +R1(config)#interface Serial0/0/
 +R1(config-if)#ip address 10.0.1.1 255.255.255.252 
 +R1(config-if)#no shutdown 
 +R1(config-if)#exit 
 +R1(config)#interface Serial0/1/
 +R1(config-if)#ip address 10.0.0.1 255.255.255.252 
 +R1(config-if)#no shutdown 
 +R1(config-if)#exit 
 +</code> 
 +  * **R2 : Konfigurasi IP** 
 +<code js> 
 +R2(config)#interface FastEthernet0/
 +R2(config-if)#ip address 192.168.2.1 255.255.255.0 
 +R2(config-if)#no shutdown 
 +R2(config-if)#exit 
 +R2(config)#interface Serial0/0/
 +R2(config-if)#ip address 10.0.2.1 255.255.255.252 
 +R2(config-if)#no shutdown 
 +R2(config-if)#exit 
 +R2(config)#interface Serial0/1/
 +R2(config-if)#ip address 10.0.0.2 255.255.255.252 
 +R2(config-if)#no shutdown 
 +</code> 
 +  * **R3 : Konfigurasi IP** 
 +<code js> 
 +R3(config)#interface FastEthernet0/
 +R3(config-if)#ip address 192.168.3.1 255.255.255.0 
 +R3(config-if)#no shutdown 
 +R3(config-if)#exit 
 +R3(config)#interface Serial0/0/
 +R3(config-if)#ip address 10.0.2.2 255.255.255.252 
 +R3(config-if)#no shutdown 
 +R3(config-if)#exit 
 +R3(config)#interface Serial0/1/
 +R3(config-if)#ip address 10.0.1.2 255.255.255.252 
 +R3(config-if)#no shutdown 
 +</code> 
 +  * **PCs : Konfigurasi IP** 
 +{{ :networking:cisco:cisco_pcsetip.png?nolink |}} 
 +^PC ^IP Address ^Subnet Mask ^Gateway 
 +| PC1 | 192.168.1.2 | 255.255.255.0 | 192.168.1.1 |  
 +| PC2 | 192.168.2.2 | 255.255.255.0 | 192.168.2.1 |  
 +| PC3 | 192.168.3.2 | 255.255.255.0 | 192.168.3.1 | 
 +</hidden> 
 + 
 +Hubungkan semua segment jaringan hanya dengan EIGRP
 ===== Konfigurasi ===== ===== Konfigurasi =====
-  * **Step 1 : Pembuatan VLANs** +  * **R1 : Konfigurasi Routing EIGRP** 
-<code> +<code js> 
-Switch(config)#vlan 10 +R1(config)#router eigrp 1 
-Switch(config-vlan)#name BIRU +R1(config-router)#network 192.168.1.0 0.0.0.255  
-Switch(config-vlan)#exit+R1(config-router)#network 10.0.0.0 0.0.0.3 
 +R1(config-router)#network 10.0.1.0 0.0.0.3 
 +</code> 
 +  * **R2 Konfigurasi Routing EIGRP** 
 +<code js
 +R2(config-router)#network 192.168.2.0 0.0.0.255 
 +R2(config-router)#network 10.0.0.0 0.0.0.3 
 +R2(config-router)#network 10.0.2.0 0.0.0.3 
 +</code> 
 +  * **R3 : Konfigurasi Routing EIGRP** 
 +<code js> 
 +R3(config)#router eigrp 1 
 +R3(config-router)#network 192.168.3.0 0.0.0.255  
 +R3(config-router)#network 10.0.1.0 0.0.0.3  
 +R3(config-router)#network 10.0.2.0 0.0.0.3  
 +</code>
  
-Switch(config)#vlan 20 + 
-Switch(config-vlan)#name MAGENTA +===== Testing ===== 
-Switch(config-vlan)#exit+* **Route tables R1** 
 +<code js> 
 +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 
 + 
 +     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks 
 +D       10.0.0.0/8 is a summary, 00:03:24, Null0 
 +C       10.0.0.0/30 is directly connected, Serial0/1/
 +C       10.0.1.0/30 is directly connected, Serial0/0/
 +D       10.0.2.0/30 [90/21024000] via 10.0.0.2, 00:02:15, Serial0/1/
 +                    [90/21024000] via 10.0.1.2, 00:01:06, Serial0/0/
 +C    192.168.1.0/24 is directly connected, FastEthernet0/
 +D    192.168.2.0/24 [90/20514560] via 10.0.0.2, 00:02:24, Serial0/1/
 +D    192.168.3.0/24 [90/20514560] via 10.0.1.2, 00:01:11, Serial0/0/0
 </code> </code>
-  * **Step 2 : Assign VLANs ke Ports** 
-<code> 
-Switch(config)#interface f0/1 
-Switch(config-if)#switchport mode access  
-Switch(config-if)#switchport access vlan 10 
-Switch(config-if)#exit 
  
-Switch(config)#interface f0/+ 
-Switch(config-if)#switchport mode access  +* **Route tables R2** 
-Switch(config-if)#switchport access vlan 10 +<code js> 
-Switch(config-if)#exit+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 
 +       E1 OSPF external type 1, E2 - OSPF external type 2, E - EGP 
 +       i IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area 
 +       * candidate default, U - per-user static route, o - ODR 
 +       P - periodic downloaded static route 
 + 
 +Gateway of last resort is not set 
 + 
 +     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks 
 +D       10.0.0.0/8 is a summary, 00:02:49, Null0 
 +C       10.0.0.0/30 is directly connected, Serial0/1/
 +D       10.0.1.0/30 [90/21024000] via 10.0.0.1, 00:02:49, Serial0/1/
 +                    [90/21024000] via 10.0.2.2, 00:01:31, Serial0/0/
 +C       10.0.2.0/30 is directly connected, Serial0/0/
 +D    192.168.1.0/24 [90/20514560] via 10.0.0.1, 00:02:49, Serial0/1/
 +C    192.168.2.0/24 is directly connected, FastEthernet0/
 +D    192.168.3.0/24 [90/20514560] via 10.0.2.2, 00:01:31, Serial0/0/0
 </code> </code>
 +* **Route tables R3**
 +<code js>
 +R3#show ip route 
 +Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
 +       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 +       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 +       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
 +       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
 +       * - candidate default, U - per-user static route, o - ODR
 +       P - periodic downloaded static route
  
-===== Testing =====+Gateway of last resort is not set 
 + 
 +     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks 
 +D       10.0.0.0/8 is a summary, 00:01:52, Null0 
 +D       10.0.0.0/30 [90/21024000] via 10.0.1.1, 00:01:52, Serial0/1/
 +                    [90/21024000] via 10.0.2.1, 00:01:47, Serial0/0/
 +C       10.0.1.0/30 is directly connected, Serial0/1/
 +C       10.0.2.0/30 is directly connected, Serial0/0/
 +D    192.168.1.0/24 [90/20514560] via 10.0.1.1, 00:01:52, Serial0/1/
 +D    192.168.2.0/24 [90/20514560] via 10.0.2.1, 00:01:47, Serial0/0/
 +C    192.168.3.0/24 is directly connected, FastEthernet0/
 +</code> 
 +* **Test Ping PC to PC** 
 + 
 +<code js> 
 +C:\>ping 192.168.2.2 
 + 
 +Pinging 192.168.2.2 with 32 bytes of data: 
 + 
 +Reply from 192.168.2.2: bytes=32 time=12ms TTL=126 
 +Reply from 192.168.2.2: bytes=32 time=14ms TTL=126 
 +Reply from 192.168.2.2: bytes=32 time=27ms TTL=126 
 +Reply from 192.168.2.2: bytes=32 time=15ms TTL=126 
 + 
 +Ping statistics for 192.168.2.2: 
 +    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), 
 +Approximate round trip times in milli-seconds: 
 +    Minimum = 12ms, Maximum = 27ms, Average = 17ms 
 + 
 +C:\>ping 192.168.3.2 
 + 
 +Pinging 192.168.3.2 with 32 bytes of data: 
 + 
 +Reply from 192.168.3.2: bytes=32 time=17ms TTL=126 
 +Reply from 192.168.3.2: bytes=32 time=20ms TTL=126 
 +Reply from 192.168.3.2: bytes=32 time=14ms TTL=126 
 +Reply from 192.168.3.2: bytes=32 time=23ms TTL=126 
 + 
 +Ping statistics for 192.168.3.2: 
 +    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), 
 +Approximate round trip times in milli-seconds: 
 +    Minimum = 14ms, Maximum = 23ms, Average = 18ms 
 +</code>
  • networking/cisco/eigrp.1770186170.txt.gz
  • Last modified: 2026/02/04 13:22
  • by ilyasa