Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| networking:cisco:ripv2 [2026/02/04 15:24] – [Topologi] ilyasa | networking:cisco:ripv2 [2026/02/04 15:28] (current) – [Testing] ilyasa | ||
|---|---|---|---|
| Line 85: | Line 85: | ||
| Hubungkan semua segment jaringan dengan rip | Hubungkan semua segment jaringan dengan rip | ||
| ===== Konfigurasi ===== | ===== Konfigurasi ===== | ||
| - | * **Step 1 : Pembuatan VLANs** | + | * **R1 : Konfigurasi Routing RIP** |
| - | < | + | < |
| - | Switch(config)#vlan 10 | + | R1(config)#router rip |
| - | Switch(config-vlan)#name BIRU | + | R1(config-router)# |
| - | Switch(config-vlan)#exit | + | R1(config-router)# |
| - | + | R1(config-router)# | |
| - | Switch(config)#vlan 20 | + | R1(config-router)# |
| - | Switch(config-vlan)#name MAGENTA | + | R1(config-router)#network 10.0.1.0 |
| - | Switch(config-vlan)#exit | + | R1(config-router)#passive-interface f0/0 |
| + | </ | ||
| + | * **R2 : Konfigurasi Routing RIP** | ||
| + | <code js> | ||
| + | R2(config)#router rip | ||
| + | R2(config-router)#version 2 | ||
| + | R2(config-router)#no auto-summary | ||
| + | R2(config-router)# | ||
| + | R2(config-router)# | ||
| + | R2(config-router)# | ||
| + | R2(config-router)# | ||
| </ | </ | ||
| - | * **Step 2 : Assign VLANs ke Ports** | ||
| - | < | ||
| - | Switch(config)# | ||
| - | Switch(config-if)# | ||
| - | Switch(config-if)# | ||
| - | Switch(config-if)# | ||
| - | Switch(config)#interface f0/2 | + | * **R3 : Konfigurasi Routing RIP** |
| - | Switch(config-if)#switchport mode access | + | <code js> |
| - | Switch(config-if)#switchport access vlan 10 | + | R3(config)#router rip |
| - | Switch(config-if)#exit | + | R3(config-router)# |
| + | R3(config-router)#no auto-summary | ||
| + | R3(config-router)#network 192.168.3.0 | ||
| + | R3(config-router)# | ||
| + | R3(config-router)#network 10.0.1.0 | ||
| + | R3(config-router)# | ||
| </ | </ | ||
| ===== Testing ===== | ===== Testing ===== | ||
| + | * **Table Routing 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 | ||
| + | |||
| + | | ||
| + | C | ||
| + | C | ||
| + | R | ||
| + | | ||
| + | C 192.168.1.0/ | ||
| + | R 192.168.2.0/ | ||
| + | R 192.168.3.0/ | ||
| + | </ | ||
| + | |||
| + | * **Table Routing R2** | ||
| + | <code js> | ||
| + | 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 | ||
| + | |||
| + | | ||
| + | C | ||
| + | R | ||
| + | | ||
| + | C | ||
| + | R 192.168.1.0/ | ||
| + | C 192.168.2.0/ | ||
| + | R 192.168.3.0/ | ||
| + | </ | ||
| + | * **Table Routing 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 | ||
| + | |||
| + | Gateway of last resort is not set | ||
| + | |||
| + | | ||
| + | R | ||
| + | | ||
| + | C | ||
| + | C | ||
| + | R 192.168.1.0/ | ||
| + | R 192.168.2.0/ | ||
| + | C 192.168.3.0/ | ||
| + | </ | ||
| + | * **Test Ping** | ||
| + | <code js> | ||
| + | C:\>ping 192.168.2.2 | ||
| + | |||
| + | Pinging 192.168.2.2 with 32 bytes of data: | ||
| + | |||
| + | Request timed out. | ||
| + | Reply from 192.168.2.2: | ||
| + | Reply from 192.168.2.2: | ||
| + | Reply from 192.168.2.2: | ||
| + | |||
| + | Ping statistics for 192.168.2.2: | ||
| + | Packets: Sent = 4, Received = 3, Lost = 1 (25% loss), | ||
| + | Approximate round trip times in milli-seconds: | ||
| + | Minimum = 11ms, Maximum = 23ms, Average = 16ms | ||
| + | |||
| + | C:\>ping 192.168.3.2 | ||
| + | |||
| + | Pinging 192.168.3.2 with 32 bytes of data: | ||
| + | |||
| + | Request timed out. | ||
| + | Reply from 192.168.3.2: | ||
| + | Reply from 192.168.3.2: | ||
| + | Reply from 192.168.3.2: | ||
| + | |||
| + | Ping statistics for 192.168.3.2: | ||
| + | Packets: Sent = 4, Received = 3, Lost = 1 (25% loss), | ||
| + | Approximate round trip times in milli-seconds: | ||
| + | Minimum = 15ms, Maximum = 22ms, Average = 19ms | ||
| + | </ | ||