The task is to create and apply an access-list with no more than three statements that will allow Only host C…

The task is to create and apply an access-list with no more than three statements that will allow Only host C Web access to the Finance Web Server.

The task is to create and apply an access-list with no more than three statements that will allow Only host C Web access to the Finance Web Server.

Answer: See the explanation

Explanation:
Corp1#conf t
Corp1(config)# access-list 128 permit tcp host 192.168.240.1 host 172.22.141.26 eq www
Corp1(config)# access-list 128 deny tcp any host 172.22.141.26 eq www
Corp1(config)# access-list 128 permit ip any any
Corp1(config)#int fa0/1
Corp1(config-if)#ip access-group 128 out
Corp1(config-if)#end
Corp1#copy run startup-config



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Henry P

Henry P

The source IP in the explanation is incorrect. Here the source IP for Host A was given instead of Host C. Everything else is correct.

Atif Rabbani

Atif Rabbani

I agree with Henry. The correct Explanation is given below:

Explanation:
Corp1#conf t
Corp1(config)# access-list 128 permit tcp host 192.168.240.3 host 172.22.141.26 eq www
Corp1(config)# access-list 128 deny tcp any host 172.22.141.26 eq www
Corp1(config)# access-list 128 permit ip any any
Corp1(config)#int fa0/1
Corp1(config-if)#ip access-group 128 out
Corp1(config-if)#end
Corp1#copy run startup-config