Lab 10. OSPF Sumarization – External Route

 



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 rip
redistribute rip metric-type 1 subnets
router rip
version 2
network 33.0.0.0
no auto-summary

R3(config)#do sh run | section ospf
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:
R1(config)#do sh ip route ospf
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

Konfigurasikan External Route Summarization di R3.

R3:
R3(config)#router ospf 3
R3(config-router)#summary-address 33.33.33.0 255.255.255.240
R3(config-router)#ex

Cek kembali di R1.
R1:
R1(config)#do sh ip route ospf
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

Sekarang kita cek di R3.
R3:
R3(config)#do sh ip route
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

Nah disitukan ada null0 lagi seperti sebelum nya, untuk menghapusnnya konfigurasi seperti ini :

R3:
R3(config)#router ospf 3
R3(config-router)#no discard-route
R3(config-router)#exit

Cek kembali untuk R3.
R3:
R3(config)#do sh 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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
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.7/32
[110/20] via 23.23.23.2, 00:01:03, GigabitEthernet1/0

Sekarang sudah tidak ada discardnya dan coba cek ping kembali yaa apakah masih bisa.

R1:
R1(config)#do ping 33.33.33.1
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
R1(config)#do ping 33.33.33.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/22/24 ms
R1(config)#do ping 33.33.33.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/28/32 ms

Komentar

Postingan populer dari blog ini

Automation, Backup Config With Paramiko