Ospf Authentication and Cost

|
























The Rules
:
" Packet dari PC-A ke PC-C tidak lewat RB, sdgkan Packet dari PC-C ke PC-A harus lewat RB"
" Packet dari PC-A ke PC-B tidak lewat HQ, sdgkan Packet dari PC-B ke PC-A harus lewat HQ"
" Packet dari PC-B ke PC-C tidak lewat RA, sdgkan Packet dari PC-C ke PC-A harus lewat RA"

Configuration
#RA
hostname RA
!
ip ssh version 1
!
interface FastEthernet0/0
ip address 172.20.32.1 255.255.240.0
duplex auto
speed auto
!
interface Serial1/0
bandwidth 64
ip address 172.20.56.5 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
ip ospf cost 50
clock rate 64000
!
interface Serial1/1
bandwidth 1544
ip address 172.20.56.1 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
ip ospf cost 150
clock rate 64000
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 172.20.32.0 0.0.15.255 area 0
network 172.20.56.0 0.0.0.3 area 0
network 172.20.56.4 0.0.0.3 area 0
!
ip classless
!
line con 0
line vty 0 4
login
!
end


#RB
hostname RB
!
ip ssh version 1
!
interface FastEthernet0/0
ip address 172.20.48.1 255.255.248.0
duplex auto
speed auto
!
interface Serial1/0
bandwidth 64
ip address 172.20.56.6 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
ip ospf cost 150
!
interface Serial1/2
bandwidth 256
ip address 172.20.56.9 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
ip ospf cost 50
!
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 172.20.56.4 0.0.0.3 area 0
network 172.20.56.8 0.0.0.3 area 0
network 172.20.48.0 0.0.7.255 area 0
!
ip classless
!
line con 0
line vty 0 4
login
!
end


#HQ
hostname HQ
!
ip ssh version 1
!
interface Loopback0
ip address 10.10.10.1 255.255.255.252
!
interface FastEthernet0/0
ip address 172.20.0.1 255.255.240.0
duplex auto
speed auto
!
interface Serial1/1
ip address 172.20.56.2 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
ip ospf cost 50
!
interface Serial1/2
bandwidth 256
ip address 172.20.56.10 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
ip ospf cost 150
clock rate 64000
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 172.20.56.0 0.0.0.3 area 0
network 172.20.56.8 0.0.0.3 area 0
network 172.20.0.0 0.0.31.255 area 0
!
ip classless
ip route 0.0.0.0 0.0.0.0 Loopback0
!
line con 0
line vty 0 4
login
!
end

NB: untuk mengetahui packet2 tersebut terkirim sesuai jalurnya (The rules), silakan dipraktekkan sendiri, good luck !!

-next article about Flu Cumi2
-prev article about Ruang Jiwa

0 comments:

Post a Comment

leave comment here, thanks for visiting
[Friends Link] [Facebook] [Twitter]