CCNA Access List Sim 2
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
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
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+).
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.
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:
My Eigrp had no passive interface on any fastEthernet’s. just the AS was off on the new router and then needed to add a “network a.b.c.d.” parameter on the MAIN/MASTER router.
Although i noticed there were a few questions on my exam i hadn’t recognized nor studied for that were tricky and probably cost me the exam… i unfortunately JUST MISSED a passing grade. :( maybe since it was so close to the cut-off date they decided to change in my location…?
@ Chewie ouch so sorry. Now you have to wait to take the new exam which will be harder.
Is it enough to study only from 9tut and Spike? I will be taking this 30th of September.
Does anybody have the latest dumps?
please can any one help me
I am confused in acl while we configure at port
why we need to configure OUT (outbound- allowing to go out) instead IN (inbound enter into) entering into port in assinging the acl to port.
@mohan
“Out” because you allow traffic to reach the finance server which is connected to the Fa0/1 interface.
You allow traffic to go out of the router’s Fa0/1 interface.
I hope this helps.
@mohan
Why ” OUT ” , because you have to filter traffic coming from both the Lan AND the Core NetworkS
If you apply to the ” IN ” you can ONLY filter the traffic from the Lan
I hope this will help you
Thanks! 9tut , sekhar , acme , spike and to those who share their experiences and questions that they encounter in the exam i passed yesterday 947/1000 thanks to all of you.
Hi! I passed the CCNA 640-802 yesterday with 960/1000. So happy and relieved now!
My Sims were classics: EIGRP, ACL2 and STP just as they appear here on 9tut! Many thanks to 9tut, Acme, Spike and all of you that have commented here and helped me to prepare! All the luck to those yet to get certified!
hi guys ! taking my exam tomorrow which one is correct ?
access-list 100 permit tcp host 192.168.33.3 host 172.22.224 23. eq80
access-list 100 deny tcp any host 172.22.224 23. eq80
or
access-list 100 permit ip host 192.168.33.3 host 172.22.224 23. eq80
access-list 100 deny ip any host 172.22.224 23. eq80
@JJ
access-list 100 permit tcp host 192.168.33.3 host 172.22.224 23. eq80
access-list 100 deny tcp any host 172.22.224 23. eq80
@JJ
correction on “23.”
access-list 100 permit tcp host 192.168.33.3 host 172.22.224.23 eq80
access-list 100 deny tcp any host 172.22.224.23 eq80
@JJ correct is:
access-list 100 permit tcp host 192.168.33.3 host 172.22.224.23 eq 80
access-list 100 deny tcp any host 172.22.224.23 eq 80
just try use “?” after command “access-list 100 deny ip any host 172.22.224.23″ and you will see that there is no “eq” option :)
Hi,passed my exam 2day,tanks to God almighy,my family,ma bf and 9 tut.rili appreciate. It’s jes as 9tut has given
Just passed my exam … labs were ACL 2 , VTP & EIGRP … thy were somehow exactly like the labs here …. even much easier … the EIGRP was a little bit confusing but keep calm and do what you used to do here …. thank you 9tut and spike for your dumps … :) good luck for all who will take the exam in the next couple days :)
df
just passed my exam .. 973/1000 .. changed up this question a little bit but basically the same.
passed 960/1000 today. Sims are ACL2, VTP and EIGRP. They changed little different on VTP&ACL2 and differet IP address on EIGRP. Thanks to Spike ACME and 9 tut.com
ACL
Access-list 100 permit tcp host B host webserver eq 80
access-list 100 deny ip any host webserver\
access-list 100 permit ip any any
which dumps are the best from exam collection.com for CCNA 200-120?
@ kang i had the same quest. after i got that one right i knew i was gonna pass.
What is the most updated ACME dump anyone? Or any other great dumps.
Cisco.Acme.640-802.v2013-08-06.by.Acme.649q.vce ?? This one seems to have a bunch of mistakes.
Alhamdulillah. Passed with 1000. Had eigrp, acl2 and vtp sims. In eigrp after fixing the network, the ISP’s IP wasn’t responding to pings so I left it. I pinged all other interfaces. In acl2 public server’s ip was given but still I used access-list 101 permit ip any any at the end. In vtp sim I also had a question like Q8 on http://www.9tut.com/80-ccna-vtp-sim-question. The list of choices included 3 trunk ports plus two ports of vlan 33 and some other ports, but the question asked to select only three. What I did was I selected the 3 trunk ports, ignored the vlan 33 port from which the frame originated and selected the remaining port of vlan 33, meaning I selected 4 choices. Also in vtp sim I had to use the #show vtp status command two times to get the IP address.
Q3 of http://www.9tut.com/ccna-dhcp-questions was also in the exam. I selected C & F. F seems confusing because of the ‘default’ word in the answer but it is still the correct choice.
Q7 of http://www.9tut.com/ccna-stp-questions was also in the exam. Note that the answer given on 9tut is correct but the explanation is wrong. Correct explanation is that due to speed mismatch the port speeds & path costs will change. Switches use auto negotiation to find speed and duplex mismatches and adjust accordingly. The gigabit ports Gi0/2 on switches B & D will operate at 100Mb/s due to autonegotiation and STP cost will also be 19 instead of 4. Due to speed autonegotiations, the speed on gigabit ports will reduce to fast ethernet speeds and path costs of spanning tree will also change.
?, Tab and short commands were working for me in all 3 sims.
I would like to thank all those who’ve helped others in one way or another in preparing for the CCNA exam. I’ve shared the above information because it might be helpful to someone who has not taken the exam yet. Good Luck!
DEAR guyz passed the exam….got 881/1000….
i faced a problem during the exam…..the tab option was not working in the access-list simulation…..it really took me lot of time to input all the commands completely….so guyz be careful…..the exam attendant told me that sometimes the tab doesn’t work at the access-list simulation…….
Kraven dump for 19-09-2013 from examcollection is 100% valid.
for sims, 9tut.com of this site has the valid sims.
Be blessed
Hey frndzzz passed my xam 986/1000 .Thanks for 9tut.com and spike.
Helpppp Plzzzz this link http://www.9tut.com/download/9tut.com_Access-list_sim2.pkt to download the simulation i not working with meeee
I have exam tomorrow 30 Sep the last… for 640-802.. hope i clear it!!! which labs..???
hi my exam after 3 hours
My exam after 8 hours
Passed on 24-9 with score 10000, lab is the same by the 3rd modification
Mariam @ download latest packet tracer ….
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#access-list 100 permit ip host 192.168.33.2 host 172.22.242.23
Router(config)#access-list 100 deny ip host 192.168.33.2 172.22.242.16 0.0.0.15
Router(config)#access-list 100 permit ip any any
Router(config)#interface fastethernet0/1
Router(config-if)#ip access-group 100 out
Router(config-if)#end
Hi Everyone needs your prompt help!
THis access-list is stated: Permit Host B from accessing finance server(not the whole network).
deny host B from accessing the OTHER server(not the whole network)
permit everything else
So, the issue is when im checking to see who has the right to access Finance server, the host B is allowed and hosts A, C, D are also allowed but according to the commands i did above and the requirement. Can somebody has a quick answer please help!!
Router#
%SYS-5-CONFIG_I: Configured from console by console
Hi guys! is any one able to access finance web server from host C after configurations on ACL2 please help.
@ Fox Host B is allowed to WEB BROWSE Fin Svr. Other Host NOT allowed to WEB BROWSE the Fin Svr. Those are the only test you need to do. 4 quick test. Open Web Browser in each host. type in 172.22.242.23 Only B should have success based on your criteria above.
@ marklil yes, if you are using 9tut example
Hi Guys, need your help. I’m taking the exam tomorrow and I’m reading the ACL Sim2 and couldn’t understand this command:
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 “
hi guys i did my exam on saturday but could not manage the time well, i spent so much time on access list that i did not cover upto 30 questions before i was timed out. so i scored 565. So guys you need to be at alert.
Thanks for your answer, but i did open each web Browser of each host, all of them have success to the Financial Web Browser. I was wondering how to troubleshoot this case, Im using the packet tracer build that i did download from 9tut.com. Any ideas or steps i should do? Thanks for help,
Hi guys, is this part of ICND2 or just CCNA? Thanks
hey guys, i take may exam tomorrow!!! commands type — conf t — copy run start — int f0/0 — ETC… work??? thankxx
copy running-config startup-config or copy run start ??? Abbreviations work? thanks guys
Hi,
Good day!
Took the exam last 09/28/2013 and passed the exam 984/1000.
The LAB was there only diffrnt IP addresses. and ports.
Thanks 9tut!
Ace M.
CCNA
@ darlan use the full command if you know. Try not to shorten. Also use the interface fa0/1 not fa0/0
Anyone take the exam today (9/30)? Can you verify?
All hosts in the core and on the local LAN should be able to access the Public web server *
WHICH SHOULD I USE? [permit ip any any] OR [permit ip any host 172.22.242.17]
HEEELP !!!
Hi Robert,
You should use : Permit ip any any. Good luck!!
Hi all. Do we not need to put “access-list 100″ before “permit ip any any” when doing access control list?
Taking the exam in a couple of hours so a quick response massively appreciated!
Thanks
Passed the test today! Labs were ACL2 with the host B modification, VTP and EIGRP
@ Simon of you put access-list 100 in all 3 ACL.
Thanks