Home > CCNA Access List Sim 2

CCNA Access List Sim 2

February 15th, 2014 Go to comments

Question

A network associate is adding security to the configuration of the Corp1 router. The user on host C should be able to use a web browser to access financial information from the Finance Web Server. No other hosts from the LAN nor the Core should be able to use a web browser to access this server. Since there are multiple resources for the corporation at this location including other resources on the Finance Web Server, all other traffic should be allowed.

The task is to create and apply a numbered access-list with no more than three statements that will allow ONLY host C web access to the Finance Web Server. No other hosts will have web access to the Finance Web Server. All other traffic is permitted.
Access to the router CLI can be gained by clicking on the appropriate host.

All passwords have been temporarily set to “cisco”.
The Core connection uses an IP address of 198.18.196.65
The computers in the Hosts LAN have been assigned addresses of 192.168.33.1 – 192.168.33.254
Host A 192.168.33.1
Host B 192.168.33.2
Host C 192.168.33.3
Host D 192.168.33.4
The servers in the Server LAN have been assigned addresses of 172.22.242.17 – 172.22.242.30
The Finance Web Server is assigned an IP address of 172.22.242.23.
The Public Web Server is assigned an IP address of 172.22.242.17

access_list_sim2.jpg

Answer and Explanation

(Note: If you are not sure how to use access-list, please check out my access-list tutorial at: http://www.9tut.com/access-list-tutorial, also some modifications about the access-list have been reported so you should read the “Some modifications” section at the end of this question to understand more. You can also download this sim to practice (open with Packet Tracer) here: http://www.9tut.com/download/9tut.com_Access-list_sim2.pkt

Corp1>enable (you may enter “cisco” as it passwords here)

We should create an access-list and apply it to the interface which is connected to the Server LAN because it can filter out traffic from both Sw-2 and Core networks. The Server LAN network has been assigned addresses of 172.22.242.17 – 172.22.242.30 so we can guess the interface connected to them has an IP address of 172.22.242.30 (.30 is the number shown in the figure). Use the “show running-config” command to check which interface has the IP address of 172.22.242.30.

Corp1#show running-config

access_list_sim_show_running.jpg

We learn that interface FastEthernet0/1 is the interface connected to Server LAN network. It is the interface we will apply our access-list (for outbound direction).

Corp1#configure terminal

Our access-list needs to allow host C – 192.168.33.3 to the Finance Web Server 172.22.242.23 via web (port 80)

Corp1(config)#access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80

Deny other hosts access to the Finance Web Server via web

Corp1(config)#access-list 100 deny tcp any host 172.22.242.23 eq 80

All other traffic is permitted

Corp1(config)#access-list 100 permit ip any any

Apply this access-list to Fa0/1 interface (outbound direction)

Corp1(config)#interface fa0/1
Corp1(config-if)#ip access-group 100 out

Notice: We have to apply the access-list to Fa0/1 interface (not Fa0/0 interface) so that the access-list can filter traffic coming from both the LAN and the Core networks. If we apply access list to the inbound interface we can only filter traffic from the LAN network.

In the real exam, just 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.

Finally, save the configuration

Corp1(config-if)#end
Corp1#copy running-config startup-config

(This configuration only prevents hosts from accessing Finance Web Server via web but if this server supports other traffic – like FTP, SMTP… then other hosts can access it, too.)

Notice: In the real exam, you might be asked to allow other host (A, B or D) to access the Finance Web Server so please read the requirement carefully.

Some modifications:

Modification 1:

permit host B from accessing finance server access-list 100 permit ip host 192.168.33.2 host 172.22.242.23
deny host B from accessing other servers (not the whole network) access-list 100 deny ip host 192.168.33.2 172.22.242.16 0.0.0.15
permit everything else access-list 100 permit ip any any

Modification 2:

Only allow Host C to to access the financial server access-list 100 permit ip host 192.168.33.3 host 172.22.242.23
Not allow anyone else in any way communicate with the financial server access-list 100 deny ip any host 172.22.242.23
Allow all other traffic access-list 100 permit ip any any

Modification 3:

- Host C should be able to use a web browser(HTTP)to access the Finance Web Server access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80
- Other types of access from host C to the Finance Web Server should be blocked
- All access from hosts in the Core or local LAN to the Finance Web Server should be blocked
access-list 100 deny ip any host 172.22.242.23
(because the requirement says we can not use more than 3 statements so we have to use “any” here for the hosts in the Core and hosts in local LAN)
- All hosts in the Core and local LAN should be able to access the Public Web Server * access-list 100 permit ip any host
(If the question asks this, surely it has to give you the IP of Public Web Server) but in the exam you should use “access-list 100 permit ip any any”

Modification 4:

Host C should be able to use a web browser to access the financial web server access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80
Other types of access from host C to the finance web server should be blocked access-list 100 deny ip host 192.168.33.3 host 172.22.242.23
All hosts in the core and on the local LAN should be able to access the Public web server * access-list 100 permit ip any host
(The IP of Public Web Server will surely be given in this question) but in the exam you should use “access-list 100 permit ip any any”

* There are some reports about the command of “All hosts in the core and on the local LAN should be able to access the Public web server” saying that the correct command should be “access-list 100 permit ip any any”, not “access-list 100 permit ip any host (IP of Public Web Server)”. Although I believe the second command is better but maybe you should use the first command “access-list 100 permit ip any any” instead as some reports said they got 100% when using this command (even if the question gives you the IP address of Public Web Server). It is a bug in this sim.

(Note: Don’t forget to apply this access list to the suitable interface or you will lose points
interface fa0/1
ip access-group 100 out

And in the exam, they may slightly change the requirements, for example host A, host B instead of host C… so make sure you read the requirement carefully and use the access-list correctly)

I created this sim in Packet Tracer v5.2.1 so you can practice with it. You will need new version of Packet Tracer to open it (v5.1+).

accesslist_sim2_packet_tracer.jpg

Download this sim here

Notice: After typing the commands above, if you make a “ping” from other hosts (PC0, PC1, PC3) then PC4 (Finance Web Server) can still reply because we just filter HTTP traffic, not ICMP traffic. To generate HTTP traffic, select “Web Browser” in the “Desktop” tab of these PCs. When a web browser opens, type the IP address of Finance Web Server and you can see how traffic flows in Simulation Mode.

accesslist2_test_http.jpg

And notice that in the initial configuration of this sim the Core network can ping Finance Web Server. We have to create an access-list that can filter this traffic too.

Other lab-sims on this site:

CCNA NAT SIM Question 1

CCNA NAT SIM Question 2

CCNA Frame Relay Sim

CCNA Configuration SIM Question (RIPv2 SIM)

CCNA VTP SIM

CCNA EIGRP LAB

CCNA Drag and Drop SIM

CCNA Implementation SIM

Comments
Comment pages
1 53 54 55 56 57 63 41
  1. Anonymous
    January 14th, 2015

    In reply to

    “So I had a variance. Basically the exact same set up minus the DNS server. So in this sim I only had 2 servers.
    1.Allow host X web access to the Finance server.
    2.No other access to the Finance should be allowed.
    3.All hosts in the core and on the local LAN should be able to access the Public web server.
    So my question is what is the difference between the following.
    Access-list 100 Permit tcp host host eq 80
    Access-list 100 Permit ip any host
    Access-list 100 Deny ip any any
    V.S
    Access-list 100 Permit tcp host host eq 80
    Access-list 100 Deny ip any host
    Access-list 100 Permit ip any any

    I completed this and I was able to do it with less than 3 commands. So my question is why would someone mark this as wrong if I was not able to access the Finance server from 3 hosts and able to access web and everything from Host x.”

    The problem with yours is that it states that “all other traffic is permitted.” It only puts restrictions on web access. If you use the “deny ip any” then you will be blocking all other protocols from accessing the server and not just the web access.

  2. Anonymous
    January 14th, 2015

    In reply to

    “The problem with yours is that it states that “all other traffic is permitted.” It only puts restrictions on web access. If you use the “deny ip any” then you will be blocking all other protocols from accessing the server and not just the web access.”

    “all other traffic is permitted” would mean allowing all traffic but mine stated specifically to the web server

    2.No other access to the Finance should be allowed. It did not state block web traffic, it specifically said block all traffic other than host x
    3.All hosts in the core and on the local LAN should be able to access the Public web server.

    Access-list 100 Permit tcp host x host finance eq 80
    Access-list 100 Permit ip any host to public web server allowing all traffic through to pwbser
    Access-list 100 Deny ip any any blocking all traffic other than host x to finance

    If I am correct on this with 2 servers, this would allow only host x access to web or port 80 in finance. It would allow all traffic to the public web server and block all other traffic to finance. Now while I understand if there was a third server there, that would not be the case then I would use 3 acl’s statements. However isn’t the whole point of being Cisco certified to use the least amount of commands possible while doing the job?

    so for 2 servers

    Access-list 100 Permit tcp host x host finance eq 80
    Access-list 100 Permit ip any host public web server allowing all traffic to the web server
    Access-list 100 Deny ip any any blocking all traffic to finance

    V.S

    and 3 servers

    Access-list 100 Permit tcp host x host finance eq 80
    Access-list 100 Deny ip any host to finance blocking all traffic to finance
    Access-list 100 Permit ip any any allowing all traffic to everything else

    So with there being 2 possible answers to my specific question I am unsure why the test would have marked me wrong even though I did what it asked and the statement said use no more than 3 statements it never said use 3. So I am a little confused on why that specific lab would be like that.

    Unless I am comprehending this wrong, every other variance from this site states 3 servers mine had 2. Can someone explain this one to me please?

  3. naseer
    January 15th, 2015

    kindly mail me latest dums of ccna
    and labs please
    m.naseer.aslam@gmail.com

  4. ercoleercoli1973
    January 16th, 2015

    why in modification 1 wildmask is 0.0.0.15? shouldn’t be 0.0.15.255 since the subnet of the servers in the PT is 255.255.240.0?

  5. Dienadel
    January 17th, 2015

    Hey Anonymous, in response to your question:

    So I had a variance. Basically the exact same set up minus the DNS server. So in this sim I only had 2 servers.
    1.Allow host X web access to the Finance server.
    2.No other access to the Finance should be allowed.
    3.All hosts in the core and on the local LAN should be able to access the Public web server

    It really does not matter if u had 3 or 2 servers, the answer is still the same.
    Answer:
    1. access-list 100 permit tcp host X host Finance server
    2. access-list 100 deny ip any host Finance server
    3. access-list 100 permit ip any any

    Note: using the implicit deny at the end of your statement is irrelevant as there is an implicit deny all statement at the end of access-lists and with ur statement, you end up denying everything countering the instruction to allow other traffic to the public server

  6. Dienadel
    January 17th, 2015

    There is an eq 80 statement added to answer 1….forgot abt that.
    CHEERS!!!

  7. SURAJ
    January 19th, 2015

    Guys I cleared exam with score 986/1000 on 17th Jan 2015. All questions & labs from 9tut only.
    I had ACL 2 sim with modification 3.
    For that modification u ve to use “access-list 100 permit ip any any” for “All hosts in the Core and local LAN should be able to access the Public Web Server “.
    If u dont use it u ll not gate 100% mark for that sim. Since i didnt use this i got 986 else it would be 1000.

  8. Waseem
    January 19th, 2015

    Passed Exam with 1000/1000 marks.
    Watson314q dumps are valid..
    9tut Labs .. ACL1, ACL 2 (Mod 3) EIGRP 212 ( AS=221 in Exam)
    Thanks 9tut …..

  9. Sujath
    January 20th, 2015

    Hi Guys, i m sujath nd taking exam in the first week of Feb 2015. i didnt understand by ACL 2 (mod3) is that means ACL Simulator 2

  10. Sujath
    January 20th, 2015

    and also didnt understand EIGRP 212 & EIGRP 22?

  11. Sujath
    January 20th, 2015

    Please send me the latest Dumps for CCNA 200-120 Mohsin on this email:sujath987ali@gmail.com

  12. AZ
    January 20th, 2015

    Latest CCNA 200-120 dumps 316 Questions & Answers including all labs available.
    316 question dumps are 100% valid. I already purchased that, If you need, email me
    azeemsarwar1@hotmail.com

  13. Ziko kh
    January 21st, 2015

    passsed CCNA exam on 19 Jan 2015 51 q in EGYPT
    thanx 4 9tut
    valid dumps watson314q ,mattew319q
    labs acl1,acl2(mod3),Eigrp(212) with different ip

  14. jason
    January 21st, 2015

    Please Please requesting the latest 200-120 dumps really need it folks please I am pleading please
    jasoncarrorig@gmail.com

  15. TJ
    January 21st, 2015

    need the latest test dumps please. about to take the test. thanks guys

    theodoremarules@gmail.com

  16. ZIKO KH
    January 23rd, 2015

    الحمد لله
    I have passed CCNA exam on 19 JAN 2015 51q in EGYPT
    Dumps: Watson, Matthew
    Labs: acl1 ac2 (mod 3) eigrp (12)

  17. 230115
    January 23rd, 2015

    score 972/1000 today
    ACL 1, ACL 2, EIGRP AS 212

  18. rmarc
    January 24th, 2015

    Yesturday, I passed thk very much 9tut

  19. MarkUP
    January 26th, 2015

    on MODIFICATIONS 1 and 2. SHouldn’t be there any “eq 80″ or none because there is no WEB keyword on the questions? TIA
    I will take my 803 exam on Saturday.

  20. Francois
    January 26th, 2015

    Hi please mail me the latest dumps, I’m currently using Cisco.Actualtests.200-120.v2013-12-09.by.Watson.314q. Thanks in advance. riaanleibbrandt@gmail.com

  21. Shamim
    January 28th, 2015

    any one have vce 1.2 crack than send me limon.tee61@gmail.com

  22. Shannon
    January 28th, 2015

    Can someone send me the latest dumps to
    napstershannon@live.com
    Thanks :)

  23. gMW
    January 28th, 2015

    Passed with 931
    focus on 9tut
    EIGRP the best

  24. gMW
    January 28th, 2015

    Eigrp a must

  25. Gunter735
    January 28th, 2015

    Please send me the latest dumps guntercito@hotmail.com I thank you very much.

  26. Anonymous-Egypt
    January 29th, 2015

    29th, Alhamdullah. Score passed 94%

    This one came on exam today :)

  27. Kal EI
    January 29th, 2015

    acl, acl-2, eigrp 212, dumps: http://ccnalearn.cf/downloads.html

  28. Emma
    January 29th, 2015

    please can someone send me the latest dumps to haryormhide@gmail.com

  29. Francois
    January 30th, 2015

    Hi all.
    Passed today with 972/1000. Watson dump valid! Thanks alot 9tut!! Couldn’t have done it without you! ACL1, ACL2 (mod 3) and eigrp 122. Good luck to all planning on taking the test :)

  30. MM
    January 30th, 2015

    Hi, please mail me the latest dumps. Thank you very much. marco.melo@sapo.pt

  31. anonymous
    January 30th, 2015

    I was wandering about the stated configuration. The description of the task says “…and apply a numbered access-list …”. We don’t have numbered access lists with the config above.

  32. Anonymous
    January 30th, 2015

    guys pls i need SAT dumps, writting my exams in 2 months time passmyexams@outlook.com

  33. Zain
    January 30th, 2015

    Pass4sure Latest 316 Q&A CCNA 200-120 dumps in PDF available. I already purchased that, if you need email me. zain.cisco@hotmail.com

  34. Ozee Khan
    January 31st, 2015

    Alhumdullah. i cleared exam today 945/1000 ACL1, ACL2, (mod3) EIGRP 122 in exam AS 22 Dumps Watson, Matthew, examtut thanks to 9tut….

  35. Dawn
    January 31st, 2015

    Im on studying my learning materials and I’m planing to take exam on week 2 of this coming February 2015.
    Advice Please….

  36. Hassan
    January 31st, 2015

    Please can someone send me Watson dumps and VCE I’m having the exam on friday
    evil_lord_@hotmail.com

    much appreciated <3

  37. leivy turbi
    February 2nd, 2015

    please i want the certification guide of ccna 200.120

  38. leivy turbi
    February 2nd, 2015
  39. Zakir ullah shah
    February 2nd, 2015

    Please can someone send me Watson dumps i have exam next weak

  40. Senthil
    February 2nd, 2015

    I planing write CCNA 5th Feb ,please share the latest

  41. Senthil
    February 2nd, 2015

    please share latest dumps to mail id :senthilt25@gmail.com

  42. wael
    February 2nd, 2015

    hi everybody,
    I planning to take exam in 5 feb and I study in Rolland .313q is that the latest please any reply

  43. Sakthi
    February 3rd, 2015

    In ACL 2 sim, they removed the DNS server as per my exam on Feb 2nd. So no confusion!

  44. andrew
    February 5th, 2015

    @wael
    what are the labs in the in exam?

  45. Jim Santos
    February 5th, 2015

    passed the exam today. ACl1, ACL2 mod 3 and eigrp with different ip and AS 122. thanks 9tut and watson dumps. 958/1000.

  46. luki28
    February 5th, 2015

    passed my exam just now and I got 1000/1000. Thank you my lord and 9tut.
    9tut is enough to pass the exam. one new question regarding OSPF.

    OSPFV3 QUESTION – What are 2 differences when comparing OSPFV3 and OSPFV2 ?
    1. OSPFv3 is advertised on per-interface basis rather than networks.
    2. OSPFv3 facilitates ipv6.

    ACL1, ACL2 (Mod. 3, HOST B ) and EIGRP with AS 2.

  47. Rashed
    February 5th, 2015

    Iuki28,

    Please send the Dumbs to sarathrcssym@gmail.com

    Monday is my exam please help me

  48. Rashed
    February 5th, 2015

    Iuki28,

    Please send latest dumps to rashedgmail.com@gmail.com

  49. luki28
    February 5th, 2015

    no need for the dumps.. just stick to 9tut and you will pass the exam with flying colors

  50. san
    February 6th, 2015

    why in Modification 1:
    deny host B from accessing other servers (not the whole network)

    use this ip 172.22.242.16 and wiild card 0.0.0.15

Comment pages
1 53 54 55 56 57 63 41
  1. No trackbacks yet.
Add a Comment