Lab 7. OSPF - Authentication

Mei 29, 2017
Konfigurasi R1
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#int f0/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no sh

R1(config-if)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#log-adjacency-changes
R1(config-router)#network 0.0.0.0 255.255.255.255 area 0

R1(config-router)#int f0/0
R1(config-if)#ip ospf authentication
R1(config-if)#ip ospf authentication-key IDN
Konfigurasi R2
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int f0/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no sh

R2(config-if)#router ospf 2
R2(config-router)#rou
R2(config-router)#router-id 2.2.2.2
R2(config-router)#lo
R2(config-router)#log-adjacency-changes 

R2(config-router)#net 0.0.0.0 255.255.255.255 area 0

R2(config-if)#int f0/0
R2(config-if)#ip ospf authentication
R2(config-if)#ip ospf authentication-key IDN
Periksa show ip pada interface yang di set authetication
R1(config-if)#do sh ip ospf int f0/0
FastEthernet0/0 is up, line protocol is up
Internet Address 12.12.12.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:09
Supports Link-local Signaling (LLS)
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
Simple password authentication enabled
sekarang kita konfigurasi dengan md5 authentication
R1(config-if)#int f0/0
R1(config-if)#ip ospf authentication message-digest
R1(config-if)#ip ospf message-digest-key 1 md5 IDN

R2(config-if)#int f0/0
R2(config-if)#ip ospf authentication message-diges
R2(config-if)#ip ospf message-digest-key 1 md5 IDN
Periksa show ip pada interface yang di set authetication
R1(config-if)#do sh ip ospf int f0/0
FastEthernet0/0 is up, line protocol is up
Internet Address 12.12.12.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:02
Supports Link-local Signaling (LLS)
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
Message digest authentication enabled
Youngest key id is 1
oke bisa kita lihat authentication sidah aktif.

Share this :

Previous
Next Post »
0 Komentar

Penulisan markup di komentar
  • Silakan tinggalkan komentar sesuai topik. Komentar yang menyertakan link aktif, iklan, atau sejenisnya akan dihapus.
  • Untuk menyisipkan kode gunakan <i rel="code"> kode yang akan disisipkan </i>
  • Untuk menyisipkan kode panjang gunakan <i rel="pre"> kode yang akan disisipkan </i>
  • Untuk menyisipkan quote gunakan <i rel="quote"> catatan anda </i>
  • Untuk menyisipkan gambar gunakan <i rel="image"> URL gambar </i>
  • Untuk menyisipkan video gunakan [iframe] URL embed video [/iframe]
  • Kemudian parse kode tersebut pada kotak di bawah ini
  • © 2015 Simple SEO ✔