OSPF Authentication
Dalam OSPF ada dua pilihan untuk authentication,.
• Plaintext Authentication
• MD5 Authentication
Konfigurasi Plaintext authentication pada R1 dan R2 Terlebih dahulu,.
R1
R1(config)#int f0/0
R1(config-if)#ip ospf authentication
R1(config-if)#ip ospf authentication-key CCNP
R1(config-if)#exit
*Jul 22 00:56:31.959: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on
FastEthernet0/0 from FULL to DOWN, Neighbor Down: Dead timer expired
R2
R2(config)#int f0/0
R2(config-if)#ip ospf authentication
R2(config-if)#ip ospf authentication-key CCNP
R2(config-if)#EX
R2(config)#
*Jul 22 00:57:32.551: %OSPF-5-ADJCHG: Process 2, Nbr 1.1.1.1 on
FastEthernet0/0 from LOADING to FULL, Loading Done
Perintah “IP OSPF AUTHENTICATION” berfungsi untuk mengaktifkan
plaintext authentication pada interface,.
R1
R1#show ip ospf interface f0/0 | include authentication
Simple password authentication enabled
R2
R2#show ip ospf interface f0/0 | include authentication
Simple password authentication enabled
Terlihat bahwa authentication untuk plaintext ini adallah jenis authentication
yang sangat simple.
sekarang kita pasang md5 di R2 ,R3
R2
R2(config)#int g2/0
R2(config-if)#ip ospf authentication message-digest
R2(config-if)#ip ospf message-digest-key 1 md5 CCNP
R3
R3(config)#int g3/0
R3(config-if)#ip ospf authentication message-digest
R3(config-if)#ip ospf message-digest-key 1 md5 CCNP
cek apakh di R2 dan R3 md5 sudah aktif atau blom
R2
R2#show ip ospf int g2/0 | include authentication
Message digest authentication enabled
R3
R3#show ip ospf int g3/0 | include authentication
Message digest authentication enabled
nah md5 nya sudah aktif
selesai
Comments
Post a Comment