OSPF Lab 10 : OSPF Sumarization – External Route
LAB 10
OSPF External Route Summarization, pada konfig sebelumnya pada R3 ada beberapa network yang sudah diadvertise ke RIP dan kemudian di redistribute. Dan ini berarti R3 sudah menjadi ASBR karena menjembatani area 0 dengan routing protocol lain.
R3
R3(config)#do sh run | section ripredistribute rip metric-type 1 subnets
router rip
version 2
network 33.0.0.0
no auto-summary
router ospf 3
router-id 3.3.3.3
redistribute rip metric-type 1 subnets
network 3.3.3.3 0.0.0.0 area 1
network 23.23.23.3 0.0.0.0 area 1
R1(config)#do sh ip route ospf Cek routing tabel R1
R1
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 00:53:12, 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:53:12, 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:53:12, 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:53:12, FastEthernet0/0
O E1 33.33.33.2 [110/22] via 12.12.12.2, 00:53:12, FastEthernet0/0
O E1 33.33.33.3 [110/22] via 12.12.12.2, 00:53:12, FastEthernet0/0
R3(config)#router ospf 3 Konfigurasikan External Route Summarization di R3
R3
R3(config-router)#summary-address 33.33.33.0 255.255.255.240
R3(config-router)#exit
R1(config)#do sh ip route ospf Cek kembali di R1
R1
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 00:56:57, 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:56:57, 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:56:57, FastEthernet0/0
33.0.0.0/28 is subnetted, 1 subnets
O E1 33.33.33.0 [110/22] via 12.12.12.2, 00:01:13, FastEthernet0/0
R3(config)#do sh ip route Sekarang kita cek di R3.
R3
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 23.23.23.2, 06:58:11, GigabitEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 06:58:11, GigabitEthernet1/0
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 06:58:11, GigabitEthernet1/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, GigabitEthernet1/0
L 23.23.23.3/32 is directly connected, GigabitEthernet1/0
33.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 33.33.33.0/28 is a summary, 00:03:11, Null0
C 33.33.33.1/32 is directly connected, Loopback1
C 33.33.33.2/32 is directly connected, Loopback2
C 33.33.33.3/32 is directly connected, Loopback3
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, 02:20:00, GigabitEthernet1/0
O E2 100.100.100.4/32 [110/20] via 23.23.23.2, 06:58:01, GigabitEthernet1/0
O E2 100.100.100.5/32 [110/20] via 23.23.23.2, 06:58:01, GigabitEthernet1/0
O E2 100.100.100.6/32 [110/20] via 23.23.23.2, 06:58:01, GigabitEthernet1/0
O E2 100.100.100.7/32
[110/20] via 23.23.23.2, 06:58:01, GigabitEthernet1/0
R3(config)#router ospf 3 Nah disitukan ada null0 lagi seperti sebelum nya, untuk menghapusnnya konfigurasi seperti ini :
R3
R3(config-router)#no discard-route
R3(config-router)#exit
R3(config)#do sh ip ro Cek kembali untuk R3
R3
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, GigabitEthernet1/0
L 23.23.23.3/32 is directly connected, GigabitEthernet1/0
33.0.0.0/32 is subnetted, 3 subnets
C 33.33.33.1 is directly connected, Loopback1
C 33.33.33.2 is directly connected, Loopback2
C 33.33.33.3 is directly connected, Loopback3
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:01:03, GigabitEthernet1/0
O E2 100.100.100.4/32
[110/20] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
O E2 100.100.100.5/32
[110/20] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
O E2 100.100.100.6/32 [110/20] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
O E2 100.100.100.6/32 [110/20] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
O E2 100.100.100.7/32
[110/20] via 23.23.23.2, 00:01:03, GigabitEthernet1/0
R1(config)#do ping 33.33.33.1 Lalu test ping untuk memastikan jalurnya tetap terhubung
R1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/57/96 ms
Comments
Post a Comment