Lab 6. OSPF Not So Stubby Area

 



• Seperti stub area tapi masih bisa nego-nego sedikit alias bisa digoyang.

• Kalau pada stub dan totally stub area, maka External route benar-benar tidak diterima ataupun                  dikirimkan, nah bila diinginkan pada area stub masih bisa mengirim external route maka solusinya     menggunakan NSSA.

• Namun External Route ini tidak sebagai LSA Type 5, melainkan dalam bentuk LSA Type 7, karena     memang LSA Type 3,4,5 benar – benar dibatasi pada stub area jadi alternatifnya diakali menggunakan     LSA Type 7.

• Dan bila diinginkan Internal Route OSPF dari area lain masih bisa diterima, maka solusinya juga     menggunakan NSSA.

• Dikonfigurasikan pada semua router pada area stub.

Tambahkan dulu routing external RIP yang diredistribute ke OSPF di router R3 area stub.

R3:
R3(config)#int lo1
R3(config-if)#ip add 33.33.33.1 255.255.255.255
R3(config-if)#exit
R3(config)#
R3(config-if)#int lo2
R3(config-if)#ip add 33.33.33.2 255.255.255.255
R3(config-if)#ex
R3(config)#
R3(config-if)#int lo3
R3(config-if)#ip add 33.33.33.3 255.255.255.255
R3(config-if)#ex
R3(config)#
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#network 33.33.33.0
R3(config-router)#no auto-summary
R3(config-router)#exit
R3(config)#
R3(config)#router ospf 3
R3(config-router)#redistribute rip subnets

Selanjutnya Konfigurasikan NSSA, dengan menghapus area 1 stub pada sebelum nya.
R2:
R2(config)#router ospf 2
R2(config-router)#no area 1 stub
R2(config-router)#area 1 nssa
R2(config-router)#exit

R3:
R3(config-router)#no area 1 stub
R3(config-router)#area 1 nssa
R3(config-router)#exit

Cek kembali routing table nya,.

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, 00:00:28, GigabitEthernet1/0
        2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 00:00:28, GigabitEthernet1/0
        12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:00:28, GigabitEthernet1/0
        100.0.0.0/32 is subnetted, 3 subnets
O IA 100.100.100.1 [110/3] via 23.23.23.2, 00:00:28, GigabitEthernet1/0
O IA 100.100.100.2 [110/3] via 23.23.23.2, 00:00:28, GigabitEthernet1/0
O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:00:28, GigabitEthernet1/0

Internal Area dari OSPF Area 100 bisa diterima dengan baik di stub router R3.

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, 06:10:11, 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:02:48, 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:02:48, FastEthernet0/0
    33.0.0.0/32 is subnetted, 3 subnets
O E2 33.33.33.1 [110/20] via 12.12.12.2, 00:02:47, FastEthernet0/0
O E2 33.33.33.2 [110/20] via 12.12.12.2, 00:02:47, FastEthernet0/0
O E2 33.33.33.3 [110/20] via 12.12.12.2, 00:02:47, FastEthernet0/0

External Route RIP dari R3 sudah bisa diterima di router R1.

Meski demikian, kita harus memperhatikan jika belum ada default routenya, sehingga R3 belum bisa ping ke IP 100.100.100.4 – 100.100.100.7 yang merupakan network EIGRP di R1 yang di redistribute ke OSPF.

R3:
R3(config)#do ping 100.100.100.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.4, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R3(config)#

Maka kita perlu menambahkan konfigurasi berikut cukup pada router ABR nya saja yakni dalam hal ini router R2.

R2:
R2(config)#router ospf 2
R2(config-router)#area 1 nssa default-information-originate
R2(config-router)#exit

Selanjutnya cek kembali pada routing tabel nya pada R3.

R3:
R3(config)#do sh ip route ospf 
O*N2 0.0.0.0/0 [110/1] via 23.23.23.2, 00:09:06, GigabitEthernet1/0
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/3] via 23.23.23.2, 00:23:13, GigabitEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 00:23:13, GigabitEthernet1/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:23:13, GigabitEthernet1/0
100.0.0.0/32 is subnetted, 3 subnets
O IA 100.100.100.1 [110/3] via 23.23.23.2, 00:23:13, GigabitEthernet1/0
O IA 100.100.100.2 [110/3] via 23.23.23.2, 00:23:13, GigabitEthernet1/0
O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:23:13, GigabitEthernet1/0

Nah sekarang sudah muncul kan untuk default route (0.0.0.0/0) , sekarang kita akan coba tes ping kembali.

R3#ping 100.100.100.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/29/52 ms
R3#
R3#ping 100.100.100.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/28 ms
R3#
R3#ping 100.100.100.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/27/36 ms
R3#
R3#ping 100.100.100.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/29/36 ms
R3#

kalau kemudian diinginkan internal route OSPF area lain tidak ditampilkan dalam database, namun masih bisa tetap mengirimkan External Route RIP nya, maka tambahkan nosummary pada router ABR R2.

R2:
R2(config)#router ospf 2
R2(config-router)#area 1 nssa no-summary
R2(config-router)#exit
R2(config)#

maka pada R3 sudah tidak lagi terdapat routing inter area dan digantikan dengan default route saja.

R3:
R3(config)#do sh ip route ospf
Gateway of last resort is 23.23.23.2 to network 0.0.0.0
O*IA 0.0.0.0/0 [110/2] via 23.23.23.2, 00:01:54, GigabitEthernet1/0
    2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 23.23.23.2, 00:40:26, GigabitEthernet1/0

Coba kita ping lagi

R3:
R3(config)#do ping 100.100.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/32 ms
R3(config)#do ping 100.100.100.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/32/36 ms
R3(config)#do ping 100.100.100.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/40 ms
R3(config)#do ping 100.100.100.4
CCNP ENTERPRISE | SMK IDN BOARDING SCHOOL 104
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/32/36 ms
R3(config)#do ping 100.100.100.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/30/36 ms
R3(config)#do ping 100.100.100.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/37/56 ms
R3(config)#do ping 100.100.100.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/36 ms

Dan pastikan juga route external RIP dari R3 masih bisa di terima R1
R1:
R1(config)#do sh ip route ospf
Gateway of last resort is not set
    2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 07:15:08, FastEthernet0/0
    3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/3] via 12.12.12.2, 01:07:45, FastEthernet0/0
    23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/2] via 12.12.12.2, 01:07:45, FastEthernet0/0
    33.0.0.0/32 is subnetted, 3 subnets
O E2 33.33.33.1 [110/20] via 12.12.12.2, 01:07:44, FastEthernet0/0
O E2 33.33.33.2 [110/20] via 12.12.12.2, 01:07:44, FastEthernet0/0
O E2 33.33.33.3 [110/20] via 12.12.12.2, 01:07:44, FastEthernet0/0

Tes ping ke semua network 33.33.33.1-3/32

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:
CCNP ENTERPRISE | SMK IDN BOARDING SCHOOL 105
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/35/56 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/35/44 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/40/56 ms

Komentar

Postingan populer dari blog ini

Automation, Backup Config With Paramiko