Skip to main content

OSPF Standar Area

 

OSPF Standar Area




R1

R1(config)#int lo0

R1(config-if)#ip add 1.1.1.1 255.255.255.255

!

R1(config-if)#int lo1

R1(config-if)#ip add 100.100.100.1 255.255.255.255

!

R1(config-if)#int lo2

R1(config-if)#ip add 100.100.100.2 255.255.255.255

!

R1(config-if)#int lo3

R1(config-if)#ip add 100.100.100.3 255.255.255.255

!

R1(config-if)#int lo4

CCNP ENTERPRISE | SMK IDN BOARDING SCHOOL 90

R1(config-if)#ip add 100.100.100.4 255.255.255.255

!

R1(config-if)#int lo5

R1(config-if)#ip add 100.100.100.5 255.255.255.255

!

R1(config-if)#int lo6

R1(config-if)#ip add 100.100.100.6 255.255.255.255

!

R1(config-if)#int lo7

R1(config-if)#ip add 100.100.100.7 255.255.255.255

!

R1(config)#int fa0/0

R1(config-if)#ip add 12.12.12.1 255.255.255.0

R1(config-if)#no sh

!

R1(config)#router ospf 1

R1(config-router)#router-id 1.1.1.1

R1(config-router)#network 1.1.1.1 0.0.0.0 area 0

R1(config-router)#network 100.100.100.1 0.0.0.0 area 100

R1(config-router)#network 100.100.100.2 0.0.0.0 area 100

R1(config-router)#network 100.100.100.3 0.0.0.0 area 100

R1(config-router)#network 12.12.12.1 0.0.0.0 area 0

R1(config-router)#redistribute eigrp 10 subnets

R1(config-router)#exit

!

R1(config)#router eigrp 10

R1(config-router)#network 100.100.100.4 0.0.0.0

R1(config-router)#network 100.100.100.5 0.0.0.0

R1(config-router)#network 100.100.100.6 0.0.0.0

R1(config-router)#network 100.100.100.7 0.0.0.0

R1(config-router)#no auto-summary


R2

R2(config)#int lo0

R2(config-if)#ip add 2.2.2.2 255.255.255.255


R2(config)#int fa0/0

R2(config-if)#ip add 12.12.12.2 255.255.255.0

R2(config-if)#no sh


R2(config)#int g1/0

R2(config-if)#ip add 23.23.23.2 255.255.255.0

R2(config-if)#no sh


R2(config)#router ospf 2

R2(config-router)#router-id 2.2.2.2

R2(config-router)#network 2.2.2.2 0.0.0.0 area 1

R2(config-router)#network 12.12.12.2 0.0.0.0 area 0

R2(config-router)#network 23.23.23.2 0.0.0.0 area 1

R3

R3(config)#int lo0

R3(config-if)#ip add 3.3.3.3 255.255.255.255


R3(config-if)#int g1/0

R3(config-if)#ip add 23.23.23.3 255.255.255.0

R3(config-if)#no sh


R3(config)#router ospf 3

R3(config-router)#router-id 3.3.3.3

R3(config-router)#network 3.3.3.3 0.0.0.0 area 1

R3(config-router)#network 23.23.23.3 0.0.0.0 area 1

CEK DENGAN DO SH IP ROUTE OSPF

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:16:30, GigabitEthernet1/0

 2.0.0.0/32 is subnetted, 1 subnets

O 2.2.2.2 [110/2] via 23.23.23.2, 00:27:45, 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:27:45, 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:16:30, GigabitEthernet1/0

O IA 100.100.100.2 [110/3] via 23.23.23.2, 00:16:30, GigabitEthernet1/0

O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:16:30, GigabitEthernet1/0

O E2 100.100.100.4 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0

O E2 100.100.100.5 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0

O E2 100.100.100.6 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0

O E2 100.100.100.7 [110/20] via 23.23.23.2, 00:16:25, GigabitEthernet1/0

* Perhatikan perbedaan Route Kode dilihat R3 di atas.

• Route 2.2.2.2 , itu muncul sebagai Tipe Route ‘O’ (Normal OSPF Route)

• Route 100.100.100.1 , ia muncul sebagai Tipe Route ‘OIA’ (OSPF Inter-Area

Route)

• Route 100.100.100.4, ia muncul sebagai Tipe Route ‘0E2’ (OSPF External

Route Type 2


CEK DENGAN  do sh ip ospf database

R3

R3(config)#do sh ip ospf database

 OSPF Router with ID (3.3.3.3) (Process ID 3)

 Router Link States (Area 1) → LSA Type 1

Link ID ADV Router Age Seq# Checksum Link count

2.2.2.2 2.2.2.2 1889 0x80000004 0x005E19 2

3.3.3.3 3.3.3.3 1877 0x80000003 0x004D1F 2

 Net Link States (Area 1) → LSA Type 2

Link ID ADV Router Age Seq# Checksum

23.23.23.2 2.2.2.2 1889 0x80000001 0x00EAEB

 Summary Net Link States (Area 1) → LSA Type 3

Link ID ADV Router Age Seq# Checksum

1.1.1.1 2.2.2.2 1211 0x80000001 0x0033FB

12.12.12.0 2.2.2.2 1006 0x80000002 0x00A36B

100.100.100.1 2.2.2.2 1211 0x80000001 0x0039CB

100.100.100.2 2.2.2.2 1211 0x80000001 0x002FD4

100.100.100.3 2.2.2.2 1211 0x80000001 0x0025DD

 Summary ASB Link States (Area 1) --- > LSA Type 4

Link ID ADV Router Age Seq# Checksum


1.1.1.1 2.2.2.2 1211 0x80000001 0x001B14

 Type-5 AS External Link States --- > LSA Type 5

Link ID ADV Router Age Seq# Checksum Tag

100.100.100.4 1.1.1.1 1347 0x80000002 0x0081E8 0

100.100.100.5 1.1.1.1 1347 0x80000002 0x0077F1 0

100.100.100.6 1.1.1.1 1347 0x80000002 0x006DFA 0

100.100.100.7 1.1.1.1 1347 0x80000002 0x006304 0

SELESAI

Comments

Popular posts from this blog

Phase 1 Dynamic Mapping With EIGRP

  Phase 1 Dynamic  Mapping With EIGRP Tentu kalian sudah tau, apa yang akan kita bahas pada blogg ini yaitu    Phase 1 Dynamic Mapping With EIGRP . ..  Nah Pada lab Sekarang buat routing eigrp pada setiap router baik hub  atau spoke untuk menghubungkan jaringan local masing-masing spoke  atau hub, dalam hal ini ip loopback akan kita anggap sebagai ip jaringan  local kita gaessss. Dan disini seperti di judul, kita menggunakan routing EIGRP lagi yaa... Oiya, karena ini adalah lab lanjutan dari lab VPN sebelumnya... soo saya hanya melakukan konfigurasi yang hanya pada lab ini saja, dan jika temen - temen ingin melihat konfigurasi dasarnya dari lab ini... temen - temen bisa lihat di lab - lab sebelumnya... silahkan copy dan paste link dibawah ini.. 👉https://insinyurbocah2109.blogspot.com/2020/11/belajar-vpn-gre-tunnel.html BELAJAR VPN ( GRE TUNNEL ) - Lab 1 VPN 👉 https://insinyurbocah2109.blogspot.com/2020/11/belajar-vpn-ipsec-tunnel-mode.html BELAJ...

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 

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