Lab 9. OSPF Sumarization – Internal Router
Ada dua cara untuk melakukan summarization :
• Dikonfigurasi pada Router ABR (LSA Type 3) → Internal Route menggunakan perintah “area xx range”
• Dikonfigurasi pada Router ASBR (LSA Type 5) → External Route menggunakan perintah “summary-address”
OSPF Internal Route Summarization pada konfig sebelumnya pada R1 ada beberapa network yang sudah diadvertise ke area 100 dan ini berarti R1 sudah menjadi ABR karena menjembatani area 0 dengan area 100.
R1:
R1(config)#do sh run | section ospf
R1(config)#router ospf 1
R1(config)# router-id 1.1.1.1
R1(config)# redistribute eigrp 10 subnets
R1(config)# network 1.1.1.1 0.0.0.0 area 0
R1(config)#network 12.12.12.1 0.0.0.0 area 0
R1(config)#network 100.100.100.1 0.0.0.0 area 100
R1(config)#network 100.100.100.2 0.0.0.0 area 100
R1(config)#network 100.100.100.3 0.0.0.0 area 100
Karena kita masih menlanjutkan lab ini dari lab sebelumnya jadi kita hapus terlebih dahulu untuk konfigurasi access-list distribute list pada R2
R2:
R2(config)#no access-list 1 permit 0.0.0.0 255.255.255.254
R2(config)#router ospf 2
R2(config-router)#no distribute-list 1 in
R2(config-router)#ex
Lalu cek routing tabel pada R3.
R3:
R3(config)#do sh ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 23.23.23.2, 04:10:36, GigabitEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 04:10:36, GigabitEthernet1/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 04:10:36, GigabitEthernet1/0
100.0.0.0/32 is subnetted, 7 subnets
O IA 100.100.100.1 [110/3] via 23.23.23.2, 00:04:13, GigabitEthernet1/0
O IA 100.100.100.2 [110/3] via 23.23.23.2, 04:10:36, GigabitEthernet1/0
O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:04:13, GigabitEthernet1/0
O E2 100.100.100.4 [110/20] via 23.23.23.2, 04:10:26, GigabitEthernet1/0
O E2 100.100.100.5 [110/20] via 23.23.23.2, 04:10:26, GigabitEthernet1/0
O E2 100.100.100.6 [110/20] via 23.23.23.2, 04:10:26, GigabitEthernet1/0
O E2 100.100.100.7 [110/20] via 23.23.23.2, 04:10:26, GigabitEthernet1/0
Konfigurasikan summarization di R1.
R1:
R1(config)#router ospf 1
R1(config-router)#area 100 range 100.100.100.0 255.255.255.248
R1(config-router)#ex
Cek lagi R3.
R3:
R3(config)#do sh ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 23.23.23.2, 05:05:46, GigabitEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 05:05:46, GigabitEthernet1/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 05:05:46, GigabitEthernet1/0
100.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O IA 100.100.100.0/29 [110/3] via 23.23.23.2, 00:27:35, GigabitEthernet1/0
O E2 100.100.100.4/32
[110/20] via 23.23.23.2, 05:05:36, GigabitEthernet1/0
O E2 100.100.100.5/32
[110/20] via 23.23.23.2, 05:05:36, GigabitEthernet1/0
O E2 100.100.100.6/32
[110/20] via 23.23.23.2, 05:05:36, GigabitEthernet1/0
O E2 100.100.100.7/32
[110/20] via 23.23.23.2, 05:05:36, GigabitEthernet1/0
Nah sudah ter summary kan network 100.100.100.0 nya. Cek di R1.
R1:
R1(config)#do sh ip ro
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 00:29:19, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/3] via 12.12.12.2, 00:29:19, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, FastEthernet0/0
L 12.12.12.1/32 is directly connected, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/2] via 12.12.12.2, 00:29:19, FastEthernet0/0
33.0.0.0/32 is subnetted, 3 subnets
O E1 33.33.33.1 [110/22] via 12.12.12.2, 00:29:19, FastEthernet0/0
O E1 33.33.33.2 [110/22] via 12.12.12.2, 00:29:19, FastEthernet0/0
O E1 33.33.33.3 [110/22] via 12.12.12.2, 00:29:19, FastEthernet0/0
100.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
O 100.100.100.0/29 is a summary, 00:29:19, Null0
C 100.100.100.1/32 is directly connected, Loopback1
C 100.100.100.2/32 is directly connected, Loopback2
C 100.100.100.3/32 is directly connected, Loopback3
C 100.100.100.4/32 is directly connected, Loopback4
C 100.100.100.5/32 is directly connected, Loopback5
C 100.100.100.6/32 is directly connected, Loopback6
C 100.100.100.7/32 is directly connected, Loopback7
Pada OSPF, discard route akan otomatis muncul bila summary route dikonfigurasikan. Hal tersebut untuk menghindari terjadinya adanya forwarding loop, bila ingin dihapuskan, maka konfigurasikan berikut.
R1:
R1(config)#router ospf 1
R1(config-router)#no discard-route
R1(config-router)#ex
R1:
R1(config)#do sh ip route
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 00:17:40, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/3] via 12.12.12.2, 00:17:40, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, FastEthernet0/0
L 12.12.12.1/32 is directly connected, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/2] via 12.12.12.2, 00:17:40, FastEthernet0/0
33.0.0.0/32 is subnetted, 3 subnets
O E1 33.33.33.1 [110/22] via 12.12.12.2, 00:17:40, FastEthernet0/0
O E1 33.33.33.2 [110/22] via 12.12.12.2, 00:17:40, FastEthernet0/0
O E1 33.33.33.3 [110/22] via 12.12.12.2, 00:17:40, FastEthernet0/0
100.0.0.0/32 is subnetted, 7 subnets
C 100.100.100.1 is directly connected, Loopback1
C 100.100.100.2 is directly connected, Loopback2
C 100.100.100.3 is directly connected, Loopback3
C 100.100.100.4 is directly connected, Loopback4
C 100.100.100.5 is directly connected, Loopback5
C 100.100.100.6 is directly connected, Loopback6
C 100.100.100.7 is directly connected, Loopback7
Dan discard route null0 pun sudah di tiadakan.
Komentar
Posting Komentar