ACL Lab 1
ACL Lab 1
sp g. A
ea h
no m
ri@ ad
ya Na
ho be
o.c el
om Al-
Question 1: Access Control List (ACL) Lab 1
Om
ar
i
Answer
Password: cisco
i
ar
Corp1>enable
Password: cisco
Om
Corp1#configure terminal
Comment: To permit only Host C (192.168.33.3) {source address} to access finance server
address (172.22.242.23) {destination address } on port number 80 (web):
om Al-
Corp1(config)#access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80
o.c el
ho be
Comment: To deny any source to access finance server address (172.22.242.23)
{destination address} on port number 80 (web):
ya Na
Comment: To permit ip protocol from any source to access any destination because of
the implicit deny any any statement at the end of ACL:
no m
ea h
Comment: Place the ACL to check for packets going outside the interface towards the
finance web server:
Step1: show ip interface brief command identifies the interface on which to apply access
list.
Step2: Click on each host A,B,C & D . Host opens a web browser page.
- Click on host C and open its web browser. In the address box type http://172.22.242.23
to check if you are allowed to access Finance Web Server or not. If your configuration is
correct then you can access it.
- Click on other hosts (A, B and D) and check to make sure you can’t access Finance
Web Server from these hosts.
i
ar
Om
om Al-
o.c el
ho be
Step 3: Only Host C (192.168.33.3) has access to the server . If the other host can also
ya Na
access then maybe something went wrong in your configuration . check whether you
configured correctly and in order.
ri@ ad
no m
ea h
sp g. A
En