COMPUTER NETWORK AND SECURITY

ACCESS CONTROL LIST (ACL)

PC0

GOTO DESKTOP, GOTO IP CONFIGURATION AND SET IP ADD=192.168.10.2, GATEWAY AS =192.168.10.1

PC1

GOTO DESKTOP, GOTO IP CONFIGURATION AND SET IP ADD=10.10.10.2, GATEWAY AS =10.10.10.1

PC2

GOTO DESKTOP, GOTO IP CONFIGURATION AND SET IP ADD=10.10.10.3,  GATEWAY AS =10.10.10.1

ROUTER 0

> en

#configure terminal

#int gig0/0/0 

#ip address 192.168.10.1  255.255.255.0

#no shutdown

#exit

#int gig0/0/1

#ip address 10.10.10.1  255.0.0.0

#no shutdown

#exit

#access-list 1 deny host 10.10.10.2

#access-list 1 permit host 10.10.10.3

#exit

#configure terminal

#int gig0/0/1

#ip access-group 1 in

#exit

#do show runn

GOTO PC1

-goto command prompt

-ping 192.168.10.2

There will be no reply, I.e 10.10.10.2 is denied

GOTO PC2

-goto command prompt

-ping 192.168.10.2

There will be reply