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 31 32 33 34 35 63 41
  1. Abdul Azeez
    January 16th, 2014

    I tried these three statements and it worked
    access-list 101 permit tcp host 192.168.33.3 host 172.22.242.23 eq www
    access-list 101 deny ip any host 172.22.242.23
    access-list 101 permit any host 172.22.242.17

  2. mido
    January 16th, 2014

    Just passed jan14 >>word for word,this sim, eigrp, acl, read all new questions its worth it.. perfect site

  3. Anonymous
    January 18th, 2014

    does the ? help exist in the SIM part of the real exam???

  4. anonymous
    January 19th, 2014

    Guys dont worry, just stick to this question and sim on 9tut and you ‘ll pass for sure, i had 1000. this sim was in exam, but with slightly different changes.

    1. PC3 could connect to webserver on http, but not on anything else on it.
    2. anybody couldn’t connect to webserver at all, but can do anything else on that lan

    so this one you should have:

    access-list 101 permit tcp host 192.168.33.3 host 172.22.242.23 eq www
    access-list 101 deny ip any host 172.22.242.23
    access-list 101 permit any host 172.22.242.17

  5. Esso
    January 20th, 2014

    Anonymous from January 19th

    Guys dont worry, just stick to this question and sim on 9tut and you ‘ll pass for sure, i had 1000. this sim was in exam, but with slightly different changes.

    1. PC3 could connect to webserver on http, but not on anything else on it.
    2. anybody couldn’t connect to webserver at all, but can do anything else on that lan

    so this one you should have:

    access-list 101 permit tcp host 192.168.33.3 host 172.22.242.23 eq www
    access-list 101 deny ip any host 172.22.242.23
    access-list 101 permit any host 172.22.242.17

    Can you tell me why www and why change to 101?

    Thanks

  6. Ali
    January 20th, 2014

    Dear (Esso And Anonymous)pls help me/ 2 and 3 lines
    access-list 101 deny ip any host 172.22.242.23 eq www
    access-list 101 permit ip any host 172.22.242.17

    these statement is true or wrong.if worng so pls send me reason And complete solution/

  7. Esso
    January 20th, 2014

    Dear Ali,

    I was wondering that myself, that is why I asked Anonymous.
    I think they are right, but I was just wondering why he used acl 101 rather than 100.

  8. Ali
    January 21st, 2014

    wht is ACL 1

  9. Ali
    January 21st, 2014

    wht is difference ACL 1

    And ACL 2

  10. riz
    January 21st, 2014

    access-list 101 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80
    access-list 101 deny tcp any host 172.22.242.23 eq 80
    access-list 101 permit ip any host 172.22.242.17

  11. Anonymous
    January 21st, 2014

    I wrote the exam today 1000/1000. My scenario was ;

    access-list 101 permit tcp host 192.168.33.2 host 172.22.242.23 eq 80
    access-list 101 deny ip any host 172.22.242.23
    access-list 101 permit ip any host 172.22.242.17

    Which is one of the additional ones explained here.

  12. Anonymous
    January 22nd, 2014

    get latest dumps from
    9
    t
    u
    t
    .
    w
    e
    b
    s
    .
    c
    o
    m

  13. paka
    January 22nd, 2014

    pls what is the different between:
    access-list 100
    access-list 101
    thanks.

  14. CCNA_Candidate
    January 22nd, 2014

    Paka, access-list 100 and 101 is just the same thing, the numbers are just the same thats all.

  15. denver
    January 23rd, 2014

    Hi All, can you help me how to follow up my certificate. I already passed the ccna 640-802 last september 10,2013 but until now i havent recieved my certificate. any suggestion will be highly appreciated. thanks

  16. denver
    January 23rd, 2014

    Hi All, can you help me how to follow up my certificate. I already passed the ccna 640-802 last september 10,2013 but until now i havent recieved my certificate. any suggestion will be highly appreciated. thanks. kindly send me here healthy_1853@yahoo.com

  17. passa
    January 24th, 2014

    Hi 9tut,
    I have a concern for the modification section. “All hosts in the core and on the local LAN should be able to access the Public web server”
    We do the command “access-list 100 permit ip any any” and not “access-list 100 permit ip any host (IP of Public Web Server)”.
    I want to be 100% sure as I have an exam in 2 days.
    Thanks.

  18. Anonymous
    January 24th, 2014

    Hi guys! Just took my exam today. For multiple choice questions, just review the dumps by ACME and EXAMTUT. These dumps are still valid. Also please review the 30 new questions in examtut.com. For the labs: Acl1, acl2 (this sim), and the eigrp sim. Please read the questions in the sim carefully, especially in this sim. There were some modifications in this sim when I took the exam:
    - Only host C can web (http) access the financial web server.
    - All other traffic from host C to financial web server should be blocked.
    - Hosts from Core and Local Lan should be denied access to financial web server.
    - Hosts from Core and Local Lan should be allowed access to Public Web Server.

    Also I encountered 3 new questions today:

    1. What are the benefits of single area ospf? (Choose two)
    I answered: reduces types of lsa generated and removes the need for virtual interface

    2. Etherchannel question: You are given sw1 and sw2. The output of show etherchannel summary snd show interface fa0/1. What is the cause of the problem?
    I answered: speed mismatch between fa0/1 on sw1 and sw2

    3. What is the authentication type of SNMPv2?
    Not sure if cimmunity strings

  19. Anonymous
    January 24th, 2014

    * 3. Not sure if community strings or hmac md5.

  20. 9tut
    January 25th, 2014

    @passa: Yes, you should use the command “permit ip any any” instead.

  21. tman
    January 26th, 2014

    Does one loose marks for using the tab key or the ? mark ?

  22. zenn
    January 27th, 2014

    hi. I think SNMP and SNMPv2 are using community strings while SNMPv3 is using HMAC-MD5 or HMAC-SHA

  23. zenn
    January 27th, 2014

    Hi! I just have a concern about the statement:

    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”

    In first statement, we permit host C to user HTTP on Financial web server. I’ve noticed that it will be useless because the overall statement didn’t deny all other host from accessing HTTP on Finance web server.

    my question is, is it okay to don’t care about it?

  24. Culebro
    January 28th, 2014

    Hi guys,

    I know the answers here are mostly about 200-120 but I would like to know what sims are more likely to see at the 100-101 exam?

    Thanks,

  25. ccnamastah
    January 28th, 2014

    Guys i have a question
    What is the authentication type of SNMPv2?
    and in this sim, which one is correct? access-list 100 permit ip any any or access-list 100 permit ip any host 172.22.242.17.

    it seems it hasnt been confirmed which is which here

  26. ebemusty
    January 28th, 2014

    After any deny statement ,,, it shd b IP access-list 100 permit IP any any ,,, I choose d second option in ma exam yesterday and it was wrong …..

    D aunthenticatn for SNMPv2 is community string (also av dis in ma exam) and SNMPv3 is HMAC-MD5 and HMAC-SHA

  27. ccnamastah
    January 29th, 2014

    @ebemusty
    After any deny statement ,,, it shd b IP access-list 100 permit IP any any ,,, I choose d second option in ma exam yesterday and it was wrong …..
    D aunthenticatn for SNMPv2 is community string (also av dis in ma exam) and SNMPv3 is HMAC-MD5 and HMAC-SHA

    thanks for the input ebemusty, about your exam have you passed? are the dumps and labs still valid?

  28. Akmal seddiqi
    January 29th, 2014

    Dear all Yesturday I passed the CCNA 200-120 Exam and exact this simulation come and i scored 960 marks.
    if anyone need update dumps i can give him/her free just email me and i will reply the dumps to all of you: siddiquiakmal@live.com

  29. Anonymous
    January 29th, 2014

    download dumps from
    9
    t
    u
    t
    .
    w
    e
    b
    s
    .
    c
    o
    m

  30. Deepa
    January 29th, 2014

    Passed ccna composite exam! Almost all the questions were from this site. Study materials used were: 1) Wendell Odom’s icnd 1 and 2 books and practice exams from cd. 2) labs and composite quizzes from 9tut. Thanks 9tut.

  31. STONEMAN
    January 29th, 2014

    Hi guys!!! I passed today 958. Labs was eigrp, acl and acl 2. Just to allow host b Web access to Web server, deny host B other access to Web server. Deny others access to the server Lan. Allow other traffic to the server Lan. Just with three statements. Thank God. Thanks to 9tut, acme, and examtut. Good luck guys…. from Dubai……

  32. umair
    January 30th, 2014

    passed ccna 200-120 today with 986. Labs were acl,acl1 and eigrp.
    not much changes, ust ips and AS was changed.

  33. Habib
    January 30th, 2014

    umair congratulation.did u wrote acl lines and its configration please i have exam in 1 day

  34. umair
    January 31st, 2014

    yes, my task was to allow only host c through web browser to finance server so i wrote access-list 100 permit tcp host (host c ip) host (finance server ip)
    then it says to block all hosts to finance server so i wrote:
    access-list 100 deny ip any host (finance server ip)
    then it says to alow all hosts all other traffic so i wrote:
    access-list 100 permit ip any any

  35. Jeff
    February 3rd, 2014

    Hey Anoymous,
    You said there is some slight changes on ACL 2.

    - Only host C can web (http) access the financial web server.
    - All other traffic from host C to financial web server should be blocked.
    - Hosts from Core and Local Lan should be denied access to financial web server.
    - Hosts from Core and Local Lan should be allowed access to Public Web Server.

    I have figured the first two out. I haven’t figured out the second two. I have this
    access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80
    access-list 100 deny tcp host 172.22.242.23 eq 80
    access-list 100 deny tcp host 198.18.196.65 host 172.22.242.23
    access-list 100 permit tcp host 198.18.196.65 host 172.22.242.23

    I have my exam on tuesday afternoon.. Could someone please help me…i have the commands memorized… I am still trying to figure out all the different ways the question could be asked…

    Thanks

  36. umair
    February 3rd, 2014

    @jeff
    you are restricted to use only 3 commands.
    your first command is correct.
    for the task: Hosts from Core and Local Lan should be denied access to financial web server you should not use eq 80 because eq 80 is used for http (web browser) and the task says you should block complete traffic from host A,B & D, so for this your command will be: access-list 100 deny ip any host 172.22.242.23
    The third command you should use is: access-list 100 permit ip any any

  37. Jeff
    February 3rd, 2014

    @umair

    thanks

  38. Jeff
    February 3rd, 2014

    @umair

    Do you know any of the new question about SNMP, Netflow, GLBP, Syslogs, HSRP, & Etc. Do you know if them ask some more frequently than others?

    I am taking the test tomorrow afternoon.

    Any help would be appreciated

  39. sansanookdee
    February 4th, 2014

    To day I Passed ccna composite exam! Almost all the questions were from this site question about GLBP, Syslogs, HSRP, SNMP, Netflow,IPV6
    For Lab was Alc1,Alc2, EIGRP
    detail for EIGRP
    - Only host A can web (http) access the financial web server.
    - All other traffic from host A to financial web server should be blocked.
    - Hosts from Core and Local Lan should be denied access to financial web server.
    - Hosts from Core and Local Lan should be allowed access to Public Web Server.

    Thanks

  40. RED
    February 4th, 2014

    Do you mean the ACL 1 from this site and ACL 2 from this site are on the exam?

  41. RED
    February 4th, 2014

    Can sombody give me the links to ACME new CCNA dumps? I would appreciate any help!

  42. Jeff
    February 5th, 2014

    took test today… failed with 821. These questions were asked on the ACL 2

    - Host C should be able to use a web browser(HTTP)to access the Finance Web Server
    Other types of access from host C to the Finance Web Server should be blocked
    - All hosts in the Core and local LAN should be able to access the Public Web Server *

  43. Jeff
    February 5th, 2014

    @sansanookdee

    Did you have any problems with EIGRP? I took the test today and failed. I had problems with EIGRP Lab being really buggy. I couldn’t get the routers to communicate. I noticed there was a passive interface. I tried removing it but it wouldn’t let. How did you solve it if you don’t mind me asking?

    Thanks

  44. Bar
    February 5th, 2014

    jeff, i believe the answer to your ACL 2 sim is:

    access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80

    access-list 100 deny ip host 192.168.33.3 host 172.22.242.23

    access-list 100 permit ip any any

    people, correct me if i’m wrong

  45. cold
    February 5th, 2014

    Second line should be:

    access-list 100 deny ip any host 172.22.242.23

  46. Bar
    February 5th, 2014

    why deny ip any host, when they only require to block access from HOST C not the the entire network?

  47. cold
    February 5th, 2014

    I stand corrected. Bar’s answer is correct. I just read the requirements again.

  48. cold
    February 5th, 2014

    Can someone confirm that we can’t use the SHOW RUN command during the exam and we need to look for another way?

  49. ebemusty
    February 5th, 2014

    U av to enta d command in full ,,, short command is nt working ,,, u av to enta full show running-config ,,,

  50. Jeff
    February 5th, 2014

    During the ACL2 part of the lab questions. I was trying to figure it out. I tried to remove the 3 ACL’S I created to start again. It wouldn’t let me. Is there normal or is there a command to do that?

Comment pages
1 31 32 33 34 35 63 41
  1. No trackbacks yet.
Add a Comment