Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| networking:cisco:redistribution-route [2026/02/04 16:44] – [Topologi] ilyasa | networking:cisco:redistribution-route [2026/02/04 16:53] (current) – [Testing] ilyasa | ||
|---|---|---|---|
| Line 146: | Line 146: | ||
| </ | </ | ||
| ===== Konfigurasi ===== | ===== Konfigurasi ===== | ||
| - | | + | * **R0 : Table Routing sebelum di redistribute** |
| - | < | + | < |
| - | Switch(config)#vlan 10 | + | R0#show ip route |
| - | Switch(config-vlan)#name BIRU | + | Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP |
| - | Switch(config-vlan)#exit | + | 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 | ||
| - | Switch(config)# | + | Gateway of last resort is not set |
| - | Switch(config-vlan)# | + | |
| - | Switch(config-vlan)# | + | 192.168.11.0/ |
| + | C | ||
| + | L | ||
| + | S 192.168.12.0/ | ||
| + | | ||
| + | C | ||
| + | L | ||
| + | O 192.168.22.0/ | ||
| + | | ||
| + | C | ||
| + | L | ||
| + | D 192.168.32.0/ | ||
| </ | </ | ||
| - | | + | * **R21 : Table Routing sebelum di redistribute** |
| - | < | + | < |
| - | Switch(config)#interface f0/1 | + | R21#show ip route |
| - | Switch(config-if)# | + | Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP |
| - | Switch(config-if)# | + | D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area |
| - | Switch(config-if)#exit | + | 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 | ||
| - | Switch(config)# | + | Gateway of last resort is not set |
| - | Switch(config-if)# | + | |
| - | Switch(config-if)# | + | |
| - | Switch(config-if)# | + | C |
| + | L | ||
| + | 192.168.22.0/ | ||
| + | C | ||
| + | L | ||
| </ | </ | ||
| + | |||
| + | Table routing pada R0 tersimpan rute kesemua network akan tetapi pada R21 hanya mendapatkan advertaise rute ospf dari R0. Untuk R0 dapat membagikan table routing ke protocol lain (misal eigrp) maka kita perlu mendistribusikan eigrp pada ospf. DST… | ||
| + | |||
| + | ==== Redistrubute Conntected, Static,dan EIGRP ke table routing OSPF. ==== | ||
| + | <code js> | ||
| + | R0(config)# | ||
| + | R0(config-router)# | ||
| + | R0(config-router)# | ||
| + | R0(config-router)# | ||
| + | </ | ||
| + | <WRAP center round info 100%> | ||
| + | tanpa '' | ||
| + | </ | ||
| + | |||
| + | ==== Redistrubute Static, EIGRP ke table routing EIGRP. == | ||
| + | <code js> | ||
| + | R0(config)# | ||
| + | R0(config-router)# | ||
| + | R0(config-router)# | ||
| + | R0(config-router)# | ||
| + | </ | ||
| + | <WRAP center round info 100%> | ||
| + | Untuk redistribute OSPF ke EIGRP pastikan anda menentukan metricnya. Terkadang route tidak terdistribusikan apabila anda tidak menentukanya. | ||
| + | </ | ||
| + | |||
| ===== Testing ===== | ===== Testing ===== | ||
| + | * **R22 : Table Routing setelah kite mendistribute route** | ||
| + | <code js> | ||
| + | R22#show ip route | ||
| + | Codes: L - local, C - connected, S - static, 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 | ||
| + | |||
| + | O E2 192.168.11.0/ | ||
| + | O E2 192.168.12.0/ | ||
| + | O 192.168.21.0/ | ||
| + | | ||
| + | C | ||
| + | L | ||
| + | O E2 192.168.31.0/ | ||
| + | O E2 192.168.32.0/ | ||
| + | </ | ||
| + | |||
| + | * **R32 : Table Routing setelah kite mendistribute route** | ||
| + | <code js> | ||
| + | R32#show ip route | ||
| + | Codes: L - local, C - connected, S - static, 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 | ||
| + | |||
| + | D EX 192.168.11.0/ | ||
| + | D EX 192.168.12.0/ | ||
| + | D EX 192.168.21.0/ | ||
| + | D EX 192.168.22.0/ | ||
| + | D 192.168.31.0/ | ||
| + | | ||
| + | C | ||
| + | L | ||
| + | </ | ||
| + | * **Test Ping** | ||
| + | <code js> | ||
| + | |||
| + | R12#ping 192.168.22.2 | ||
| + | |||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 192.168.22.2, | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms | ||
| + | </ | ||
| + | |||
| + | <code js> | ||
| + | R12#ping 192.168.32.2 | ||
| + | |||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 192.168.32.2, | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms | ||
| + | </ | ||