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:
pls i’m taking the exam next week n i need vce manager..can some1 share d download link pls..thnks
Passed the exsm last min aug 12. . Eigrp. Vtp and acl same topology wity some modifications. . Thanks so much 9tut. . keep rocking!!!!
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 -> just want to ask about this 172.22.242.16. is this a summary route? just dont understand the question, i guess… please help thanks.
nvm. guess i figured it out. lolz
i think on acl lab we shuld apply ex acl in bound like (ip access-list 100 in ) can someone correct me if i m wrong. thanx
CCNA VTP SIM Question BY Mr.Mast
http://www.youtube.com/watch?v=1oGnkqr5-iE
Thank.
Keep up the good work Mr Mast.
Safdar .. you need to apply the ACL in the OUBOUND interface
safdar you are wrong if you are going to apply it inbound, at least in this example, read carefully
“No other hosts from the LAN NOR THE CORE should be able to use a web browser……”
if you want to block traffic from both, core and sw-2 lan, by using one access list you need to apply it outwards to the interface connecting to the server lan
CCNA VTP SIM Question
http://www.youtube.com/watch?v=1oGnkqr5-iE
It was in the exam, changed as per table 3, where it looks like u need to write 4 lines to make it, as you guys said I used permit ip any any to allow traffic to web public server, i got 100% for acl
Thanks 9 tut
now use VTP EIGRP ACL2
http://thietbivienthongbachkhoa.com/Default.asp?mod=News&action=list&NewsID=144&temp=Vertuvn_vn&Object=1&ItemID=83&Language=vn
Thanks 9tut passed wit 986 the site is real
@ Cuong
The site is not in English
I passed my exam 986/1000
Almost everything is the same but they change AS number in Eigrp and port numbers in VTP
and aslo ACL:
* 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 access from hosts in the Core or local LAN 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
SO Config should look like this:
access-list 100 permit tcp host 192.168.33.3 host 172.22.242.23 eq 80
access-list 100 deny ip any host 172.22.242.23
access-list 100 permit ip any any
int fa0/1
ip access-group 100 out
Hi its me again This time i got 973 / 1000 though its my 2nd attempt…
Thanks to Spike and 9tut valid reviewer , got same SIM question there’s just a bit modification
which part of the exam does the lab occur? is it in the last part, first or in the middle of the exam. thanks..
passed the exam on my 3rd try..
ACL, VTP and EIGRP labs..
Doing the labs on 9tut is not ENOUGH.. I recommend you get packet tracer and download the sims from this site and do them over and over again.. Break stuff, change stuff apply the ACLs inbound and outbound learn to trouble shoot.. I have variations of the ACL, EIGRP and VTP labs on each test.
You need to master subnetting (I use the magic number method)..
Good luck..
will be taking my exam on sept 27 but just incase modifications will appear on the exam, i just wanna understand this part:
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 permit ip any any
shouldn’t it be 0.0.0.7 the reverse subnet mask if we include 0 on 00010 on calculating the summary route for 172.22.242.16 and 172.22.242.23?
pls help thanks.
Please can someone sent me a crack for vice file please i don`t have much time elishamanka@rocketmail.com
in the exam does the percentage indicate as in packet tracer please and i learn that you have an added advantage of time if you can speed English and want to write in English What if i tell them that i can`t speak this language of which i can ?
which part of the exam does the lab occur? is it in the last part, first or in the middle of the exam. thanks..
I passed my CCNA on the 6th of August scoring 907/1000. the simulation questions were Access Lists, EIGRP and VTP. In VTP commands, they disabled mac-address-table so you can use mac address-table incase the first one didn’t work. all the best guys. you can call me for more clarification on +2348030957364.
i passed my CCNA examination on the 12th of August, with a score of 933/ 1000 thanks 9tut.
the simukation questions were acl2 vtp eigrp
why isnt wildcard written in above given access lists?
can we write access list without wildcard???
and secondly simulations occur when in exam?start ,middle or end?
can we use TAB or question mark “?” in the exam ? ? ?
passed today with 854/1000. labs were acl2,eigrp and vtp exactly as from this site. the show mac-address-table command on the sw on vtp lab was rejected and i failed to examine the mac address table of the switch 3.i dont know if there is any other command which will give us the mac address table. if so then study it. there were 47q and three labs only.9tut,spike662q and shekah are the sources.
many thanks to 9tut,spike662q and shekah697q
study the materials guys,you will pass also
Passed today. 973.
Eigrp, access-list 2, vtp sims.
Tanx 9tut, examcollection(spike dump)
any one have new ccna 200-120 exam guide or material
To DJCracky, on the test when you had router 1 that did not have a route for router 3, how did you resolve? I took the test and failed, but studying again.. Maybe I’m wrong but seemed like they blocked the ip route command to make a static route and also advertising the route via EIGRP?
cisco exam is very easy ,,come to bangalore pearson centre ,,,admin of pearson centre will help for some rupees..
Dear 9tut and users
What will happen if you forget to copy run start in the simulations?
Just passed the CCNA exam. Got 933. Got this SIM, but little bit different. Thanks 9tut
Passed yesterday with a perfect score of 1000/1000.
50 questions all in all with VTP, EIGRP, and ACL2 from it.
Thanks 9tut, sekhar, spike, and brar.
great site …….
i have uploaded acl 2 lab
link
http://rapidshare.com/files/1799807722/acl2.rar
Why im getting server connection reset when trying access server from PC web browser? Please help.
please help me ., satur day i have a exam ., could please tell me what and all technical question will come …@ which vce? spike 670 or 662 or sekar or 9tut?
thanks pat
Any tech in Japan here? I have a job in Japan, Duration 6 months, tokyo or nagowa. CCNA, CCDA, CCNP, CCNP with voice. Really urgent!!! Thank you. Ralphinci@yahoo.com
Can anybody help me about this?
http://www.9tut.com/78-ccna-access-list-sim-2/
Corp1(config)#interface fa0/1
Corp1(config-if)#ip access-group 100 out
it says that i should apply it on interface fa0/1 and out
why is that?
i thought it was on f0/0 and in
or is it because it’s extended access list and should be put nearest to source (the LAN side)
and why is it out?, not inbound, is it because that this ACL applied to the interface that face out (facing the out of the destination)?
Can someone kindly enough tell me the rule about where to apply and the in/out ?
I’ve read some articles and books and watch some videos (CBT Nuggets, Lammle) and tried to browse some explanation but still very confuse
Please please help me i’ll have the exam very soon :)
thank you
Please specify on which interface does we have to put access-group command. Is it [ IN] OR [OUT] interface.
@Anonymous August 29th, 2013
Extended ACLs:
An extended ACL gives you much more power than just a standard ACL. Extended IP ACLs check both the source and destination packet addresses. They can also check for specific protocols, port numbers, and other parameters, which allow administrators more flexibility and control. But Standard ACL Only check both the source and destination packet addresses not Protocols (in our case TCP to deny www). For more you can read from:- http://computernetworkingnotes.com/network-security-access-lists-standards-and-extended/access-control-list.html
And if you notice the instruction “All other traffic is permitted” that is from the Core and from Hosts LAN. if it is fa0/0 and in, you allow only Hosts LAN not the Core traffic so to support both traffic it should be fa0/1 and out.
CCNA Access List Sim 2 BY Mr.Mast
http://www.youtube.com/watch?v=TLlflHHDimY
CCNA VTP SIM Question BY Mr.Mast
http://www.youtube.com/watch?v=1oGnkqr5-iE
CCNA EIGRP LAB Question BY Mr.Mast
http://www.youtube.com/watch?v=-NmNOedFchA
Explanation to the *. Why use the command “access-list 100 permit ip any any” and not “access-list 100 permit ip any host (IP of Public Web Server)”. Simple, if you read the scenario in the line 3 and 4 says: “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 Finance Web Server has resources for the Corporation others than WEB (WWW, eq 80). If you apply the second command you will no be able to ping the Finance Web Server from host A, B or D because you are applaying the acces list to the specific IP of the Public Web Server.
Applaying the first command you are allowing all other resources to be reach not just to the Public Web Server but also to the Finance Web Server too.
The line number 6 of the scenario confirm my point:”No other hosts will have web access to the Finance Web Server. All other traffic is permitted”.
hi all
i can’t apply ” access-list 100 permit ip host (ip) host (ip) eq 80 ” command in packet tracer. Does it something wrong with command or something else?
Thank you
note :
i use packet tracer v 5.3.3.0019
Hi All/9tut,
can someone help understand re this scenario
“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″
where did this ip 172.22.242.16 come from?
thanks in advance!
@Boy to find the network number. use #show running- config to view interface fa0/1 and subnet mask. from the interface ip add we can calculate network no. and use subnt mask to get wild-card. mask
@EIVAN:
“i can’t apply ” access-list 100 permit ip host (ip) host (ip) eq 80 ” command in packet tracer. Does it something wrong with command or something else?”
When permitting “IP” there is no need to add “EQ 80″. This applies to TCP.