Selasa, 28 September 2010

SETTING ROUTER DINAMIS DAN ACL DENGAN PACKET TRACER

1.Sediakan 3 router atau lebih dengan 3 port serial/sesuka hati anda.
2.Sediakan juga 2 port fast ethernet
3.Atur ip masing – masing router

Router 1
Serial 0/0 ip : 192.168.1.254
Netmask : 255.255.255.0
Router 2
Serial 0/0 ip : 192.168.1.1
Netmask : 255.255.255.0
Serial 1/0 ip : 192.168.2.1
Netmask : 255.255.255.0
Router 3
Serial 0/0 Ip : 192.168.2.2
Netmask : 255.255.255.0
Serial 1/0 ip :192.168.3.1
Netmask : 255.255.255.0



4.Setelah disambungkan, ping antar router


5.Beri client pada router 1

Atur ip FastEthernet Router 1
FastEthernet 3/0 ip : 192.168.2.254
Netmask : 255.255.255.0
>beri 2 client pada router 1
setting ip pc 1
gateway : 192.168.2.254
ip address : 192.168.2.1
netmask : 255.255.255.0

setting ip pc 2
gateway : 192.168.2.254
ip address : 192.168.2.2
netmask : 255.255.255.0
setelah selesai, sambungkan




6.Sekarang masukkan konfigurasi RIP pada tiap-tiap router dengan mode CLI atau grafik
Router 1 :
Router>ena
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#rou
Router(config)#router rip
Router(config-router)#net
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#

Router 2 :
Router>ena
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#rou
Router(config)#router ri
Router(config)#router rip
Router(config-router)#net
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#


Router 3 :
Router>ena
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#rou
Router(config)#router ri
Router(config)#router rip
Router(config-router)#net
% Incomplete command.
Router(config-router)#net
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.3.0
Router(config-router)#

Setelah selesai, coba ping antar router dan router client

Mengkonfigurasi ACL

1. ACL client pc1 pada router 1
Router>ena
Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int
Router(config)#interface fast
Router(config)#interface fastEthernet 3/0
Router(config-if)#ip ac
Router(config-if)#ip access-group 1 in
Router(config-if)#ex
Router(config)#ac
Router(config)#access-list 1 deny 192.168.2.1 255.255.255.0
Router(config)#ac
Router(config)#access-list 1 permit any
Router(config)#

Setelah di ACL, maka pc tersebut tidak dapat di ping router lain.


Untuk menghilangkan access list pada pc1 ketikkan :
Router(config)#no access-list 1
Router(config)#




0 komentar: