PORT SECURITY
Ketemu lagi dengan saya.
kali ini kita akan belajar tentang port security,
yaitu emmmmmm port pada switch dilindungi karena hanya untuk akses PC yang sudah terdaftar.
oke ,mari kita mulai latihan kita,
kita buat dulu topologi jaringanya seperti berikut,
kita beri ip address di masing2 device
sekarang kita kasih ip address sekalian konfigurasi router menggunakan ospf
chek this out...!!!!
Router 0
Router>enRouter#conf tRouter(config)#int gig0/0Router(config-if)#ip address 192.168.10.2 255.255.255.0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)#int gig0/1Router(config-if)#ip address 100.100.0.1 255.255.0.0Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#int gig0/2
Router(config-if)#ip address 12.12.12.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
konfigurari OSPF
Router(config)#router ospf 3
Router(config-router)#net 12.12.12.0 0.0.0.255 area 0
Router(config-router)#net 192.168.10.0 0.0.0.255 area 0
Router(config-router)#net100.100.0.0 0.0.255.255 area 0
Router(config-router)#end
ROUTER 1
Router>enRouter#conf tRouter(config)#int gig0/0Router(config-if)#ip address 200.0.0.1 255.0.0.0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)#int gig0/1Router(config-if)#ip address 192.168.10.1 255.255.0.0Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#int gig0/2
Router(config-if)#ip address 11.11.11.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
konfigurari OSPF
Router(config)#router ospf 3
Router(config-router)#net 11.11.11.0 0.0.0.255 area 0
Router(config-router)#net 192.168.10.0 0.0.0.255 area 0
Router(config-router)#net 200.0.0.0 0.255.255.255 area 0
Router(config-router)#end
ROUTER 2
Router>enRouter#conf tRouter(config)#int gig0/0Router(config-if)#ip address 200.0.0.2 255.0.0.0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)#int gig0/1Router(config-if)#ip address 100.100.0.2 255.255.0.0Router(config-if)#no shutdownRouter(config-if)#exit
Router(config)#int gig0/2
Router(config-if)#ip address 10.10.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
konfigurari OSPF
Router(config)#router ospf 3
Router(config-router)#net 10.10.10.0 0.0.0.255 area 0
Router(config-router)#net 200.0.0.0 0.255.255.255 area 0
Router(config-router)#net 100.100.0.0 0.0.255.255 area 0
Router(config-router)#end
PORT SECURITY RESTRICT
Sekarang kita konfigurasi switch 1,
hubungkan PC0 ke switch 1 menggunakan kabel konsol,
selanjutnya
switch>en
switch#conf t
switch(config)#int fa0/2
switch(config-if)#sw mode access
switch(config-if)#sw port-security
switch(config-if)#sw port-security mac-address sticky
switch(config-if)#sw port-security violation restrict
switch(config-if)#end
switch#
switch#conf t
switch(config)#int fa0/3
switch(config-if)#sw mode access
switch(config-if)#sw port-security
switch(config-if)#sw port-security mac-address sticky
switch(config-if)#sw port-security violation restrict
switch(config-if)#end
PORT SECURITY SHUTDOWN
Selanjutnya kita konfigurasi switch 2,
hubungkan PC3 ke switch 2 menggunakan kabel konsol,
selanjutnya
switch>en
switch#conf t
switch(config)#int fa0/2
switch(config-if)#sw mode access
switch(config-if)#sw port-security
switch(config-if)#sw port-security mac-address sticky
switch(config-if)#sw port-security violation shutdown
switch(config-if)#end
switch#
SEKARANG BOLEH DICOBA,
cabut kabel yang ke PC1 pasang ke PC2,
lalu coba ping,
HASILNYA ????????????
....................FAILLED.............................................
berarti SECURITY PORT kita BERHASIL!!!!!!!!!!!!!!!!!
SELAMAT BELAJAR,GUYS!
jumpa lagi di lain kesempatan.
Komentar
Posting Komentar