Skip to main content

OSPF Not So Stubby Area

 

OSPF Not So Stubby Area




 • 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 ( CUSTOM )

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

• Dikonfigurasikan pada semua router pada area stub 



KONFIG

R3

R3(config)#int lo1

R3(config-if)#ip add 33.33.33.1 255.255.255.255


R3(config-if)#int lo2

R3(config-if)#ip add 33.33.33.2 255.255.255.255


R3(config-if)#int lo3

R3(config-if)#ip add 33.33.33.3 255.255.255.255


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 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 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 diterimaDI STUB ROUTER 3


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, 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


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)


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


sekarang kita akan coba tes ping 


R3

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#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#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#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:

CCNP ENTERPRISE | SMK IDN BOARDING SCHOOL 103

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/29/36 ms




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


TEST PING

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 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/32,.


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 = 20/35/56 ms

SELESAI


Comments

Popular posts from this blog

Konfigurasi Event OSPF Adjacency (Email)

  Konfigurasi Event OSPF Adjacency (Email) LAB INI LANJUTAN SAMA SEPERTI LAB SEBELUM SEBELUMNYA Selain event syslog tadi kita juga bisa memanfaatkan EEM ini untuk mengirimkan informasi ke email kita, misalnya OSPF kita down maka, router kita otomatis akan mengirimkan debug ospf ke email kita. Untuk topology masih sama. KONFIG R1 R1(config)#event manager applet OSPF_DOWN R1(config-applet)#event syslog pattern "Nbr 2.2.2.2 on FastEthernet0/0 from FULL to DOWN" R1(config-applet)#action 1.0 cli command "enable" R1(config-applet)#action 2.0 cli command "debug ip ospf adj" R1(config-applet)#action 3.0 mail server "smtp.gmail.com" to "uuqeili@gmail.com" from "R1@idn.id" subject "OSPF IS DOWN" body "Please fix OSPF" R1(config-applet)#exit Untuk Pengecekkan, kita bisa coba debug aja,  dan hapus EEM interface down,  Dan kita bisa lihat di email kita apa hasilnyaa... selesai

Remote SPAN ( RSPAN )

  Remote SPAN  ( RSPAN ) Assalamualaikum temen - temen... kembali lagi di blogg saya, dan terimakasih telah berkunjung ke blogg saya, di blogg kali ini saya akan memberikan materi lab mengenai Remote Span  ( RSPAN ). Karena ini adalah blog lanjutan, jadi saya akan mengkonfigurasi yang hanya ada pada blog ini saja, bagi temen - temen ingin melihat konfigurasi sebelumnya ataupun blog sebelumnya mengenai BELAJAR CCNP, bisa cek link dibawah ini : https://bit.ly/37DxJrX TOPOLOGI =  SW-1 SW-1(config)#vlan 100 SW-1(config-vlan)#name RSPAN SW-1(config-vlan)#exit SW-1(config)# SW-1(config)#int e0/1 SW-1(config-if)#sw trunk encap dot1q SW-1(config-if)#sw mode tru SW-1(config-if)#exit SW-1(config)# SW-1(config)#monitor session 1 source vlan 10 SW-1(config)#monitor session 1 destination remote vlan 100 SW-2 SW-2(config)#vlan 10 SW-2(config-vlan)#name PC SW-2(config-vlan)#int e0/1 SW-2(config-if)#sw mod acc SW-2(config-if)#sw acc vlan 10 SW-2(config-if)#exit SW-2(config)# SW-2(co...

Konfigurasi Event CLI

Konfigurasi Event CLI =LAB INI LANJUTAN DARI LAB SEBELUMNYA TOPOLOGI 1 R1(config)#event manager applet SHOW_INTERFACE_UP R1(config-applet)#event cli pattern "show ip interface brief" sync yes R1(config-applet)#action 1.0 cli command "enable" R1(config-applet)#action 2.0 cli command "show ip interface brief | include up" R1(config-applet)#action 3.0 puts "$_cli_result" R1(config-applet)#action 4.0 set $_exit_status "0" SETELAH ITU BISA KALIAN CEK DENGAN DO SH IP INT BR