Sei sulla pagina 1di 21

[CCNA R&S EXAM]

ACL

A corporation wants to add security to the network. The requirements are:

1. Host B should be able to a we browser (HTTP) to access the Finance Web Server.

2. Other types of access from host B to the Finance Web Server should be blocked.

3. All access from hosts in the Core or Local LAn to the Finance Web Server should be blocked.

4. All hosts in the Core and on local LAN should be able to access the Public Web Server.

Youn have been asked to create and apply a NUMBERED access-list to a single interface. This
access-list can contain no more than THREE statements

that meets these requirements.

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.26.65

* The computers in the Hosts LAN have been assigned addresses of 192.168.251.1 -
192.168.251.254

#host A 192.168.251.1

#host B 192.168.251.2

#host C 192.168.251.3

#host D 192.168.251.4

*The servers in the Server LAN have been assigned addresses of 172.22.122.17 – 172.22.242.30

The Finance Web Server is assigned an IP address of 172.22.122.17

The Public Web Server is assigned an IP address of 172.22.122.18

[LAB] Page 1
[CCNA R&S EXAM]

Answer
Step 1: Configure ACL
--------------------------------
Corp1>enable
password: ---> enter the password "cisco"
Corp1#configre terminal
Corp1(config)#access-list 100 permit tcp host 192.168.251.2 host 172.22.122.17 eq www

# Allows the HTTP communication from host B to Finance Web Server

Corp1(config)#access-list 100 deny ip any host 172.22.122.17

# Denies all other communication from host B, all other hosts on local LAN and Core
to Finance Web Server

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

# Allows hosts in the Core and on local LAN should be able to access the Public Web Serve

Step 2: Applying ACL on appropriate interface


--------------------------------------------------------
We should apply the ACL created in the previous step 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.122.17 – 172.22.122.30 so we can guess the

[LAB] Page 2
[CCNA R&S EXAM]

interface connected to them has an IP address of 172.22.122.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.122.30.

Copr1# 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
Corp1(config)#interface fa0/1
Corp1(config-if)#ip access-group 100 out

In the real exam, just click on host B and open its web browser. In the address box type
http://172.22.122.17 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, C and D) and check to make sure you can’t access Finance Web Server
from these hosts. But you can access Public web server

Finally, save the configuration

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

[LAB] Page 3
[CCNA R&S EXAM]

OSPF LAB

The topology below is running OSPF. You are required to troubleshoot and resolve the OSPF
issues between the various routers. Use the appropriate show commands to troubleshoot the
issues.

Question 1:

Answer: A

[LAB] Page 4
[CCNA R&S EXAM]

[LAB] Page 5
[CCNA R&S EXAM]

Question 2:

An OSPF neighbor adjacency is not formed between R3 in the main office and R5 in the Branch
2 office. What is causing the problem?

A. There is an area ID mismatch.

B. There is a PPP authentication issue; a password mismatch.

C. There is an OSPF hello and dead interval mismatch.

D. There is a missing network command in the OSPF process on R5.

Answer: C

[LAB] Page 6
[CCNA R&S EXAM]

[LAB] Page 7
[CCNA R&S EXAM]

Question 3:

R1 does not form an OSPF neighbor adjacency with R2. Which option would fix the issue?

A. R1 ethernetO/1 is shutdown. Configure no shutdown command.

B. R1 ethernetO/1 configured with a non-default OSPF hello interval of 25: configure no ip ospf
hello-interval 25

C. R2 ethernetO/1 and R3 ethernetO/O are configured with a non-default OSPF hello interval of
25; configure no ip ospf hello-interval 25

D. Enable OSPF for R1 ethernetO/1; configure ip ospf 1 area 0 command under ethernetO/1

Answer: B

[LAB] Page 8
[CCNA R&S EXAM]

Question 4:

An OSPF neighbor adjacency is not formed between R3 in the main office and R6 in the Branch
3 office. What is causing the problem?

A. There is an area ID mismatch.

B. There is a PPP authentication issue; the username is not configured on R3 and R6.

C. There is an OSPF hello and dead interval mismatch.

D. The R3 router ID is configured on R6.

Answer: D

[LAB] Page 9
[CCNA R&S EXAM]

EIGRP

Scenario

Refer to the topology. Your company has connected the routers R1. R2. and R3 with serial links.
R2 and R3 are connected to the switches SW1 and SW2, respectively. SW1 and SW2 are also
connected to the routers R4 and R5.

The EIGRP routing protocol is configured.

You are required to troubleshoot and resolve the EIGRP issues between the various routers.

Use the appropriate show commands to troubleshoot the issues.

[LAB] Page 10
[CCNA R&S EXAM]

Question 1:

Answer: B

Explanation

R4 & R5 are in same AS but Loopback Networks are not advertized at R5 . Please don’t
forget to use show running-config in R4 and R5

[LAB] Page 11
[CCNA R&S EXAM]

Question 2:

Answer: C

First using “show ip route” in R1; to check if ur answer is correct or not; maybe the answer will
be C or A. The below figure about the old answer “A”;

[LAB] Page 12
[CCNA R&S EXAM]

Question 3:

Router R6 does not form an EIGRP neighbor relationship correctly with router R1. What is the
cause for this misconfiguration?

A. The K values mismatch.

B. The AS does not match.

C. The network command is missing.

D. The passive-interface command is enabled.

Answer: A

Using show ip route on R6

Question 4:

Why are the pings failing?

A. The network statement is missing on R5.

B. The loopback interface is shut down on R5.

C. The network statement is missing on R1.

D. The IP address that is configured on the Lo1 interface on R5 is incorrect.

Answer: A

Using Show running-config on R5 & R1

[LAB] Page 13
[CCNA R&S EXAM]

ACL

Question

An administrator is trying to ping and telnet from Switch to Router with the results shown below:

Switch>
Switch> ping 10.4.4.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.4.3,timeout is 2 seconds:
.U.U.U
Success rate is 0 percent (0/5)
Switch>
Switch> telnet 10.4.4.3
Trying 10.4.4.3 …
% Destination unreachable; gateway or host down
Switch>

Click the console connected to Router and issue the appropriate commands to answer the
questions.

[LAB] Page 14
[CCNA R&S EXAM]

Answer and Explanation

Note: If you are not sure about Access-list, please read my Access-list tutorial. You can also
download this sim to practice (open with Packet Tracer) here:
http://www.9tut.com/download/9tut.com_CCNA_Access_List_Sim.pkt

For this question we only need to use the show running-config command to answer all the
questions below

Router>enable
Router#show running-config

[LAB] Page 15
[CCNA R&S EXAM]

[LAB] Page 16
[CCNA R&S EXAM]

[LAB] Page 17
[CCNA R&S EXAM]

Question 1:

Which will fix the issue and allow ONLY ping to work while keeping telnet disabled?

A – Correctly assign an IP address to interface fa0/1


B – Change the ip access-group command on fa0/0 from “in” to “out”
C – Remove access-group 106 in from interface fa0/0 and add access-group 115 in.
D – Remove access-group 102 out from interface s0/0/0 and add access-group 114 in
E – Remove access-group 106 in from interface fa0/0 and add access-group 104 in

[LAB] Page 18
[CCNA R&S EXAM]

Answer: E

Explanation:

Let’s have a look at the access list 104:

The question does not ask about ftp traffic so we don’t care about the two first lines. The 3rd line
denies all telnet traffic and the 4th line allows icmp traffic to be sent (ping). Remember that the
access list 104 is applied on the inbound direction so the 5th line “access-list 104 deny icmp any
any echo-reply” will not affect our icmp traffic because the “echo-reply” message will be sent
over the outbound direction.

Question 2:

What would be the effect of issuing the command ip access-group 114 in to the fa0/0 interface?

A – Attempts to telnet to the router would fail

B – All traffic from the 10.4.4.0 network would be allow to go through

C – TCP and UDP traffic are not allowed to pass

D – Routing protocol updates for the 10.4.4.0 network would not be accepted from the fa0/0
interface

Answer: B

[LAB] Page 19
[CCNA R&S EXAM]

Explanation:

From the output of access-list 114: access-list 114 permit ip 10.4.4.0 0.0.0.255 any we can
easily understand that this access list allows all traffic (ip) from 10.4.4.0/24 network

Question 3:

A – Hosts cannot connect to Router through s0/0/1


B – Telnet and ping would work but routing updates would fail.
C – FTP, FTP-DATA, echo, and HTTP traffic would work but telnet would fail
D – Only traffic from the 10.4.4.0 network would pass through the interface

Answer: A

Explanation:

First let’s see what was configured on interface S0/0/1:

Recall that each interface only accepts one access-list, so when using the command “ip access-
group 115 in” on the s0/0/1 interface it will overwrite the initial access-list 102. Therefore any
telnet connection will be accepted (so we can eliminate answer C).
B is not correct because if telnet and ping can work then routing updates can, too.
D is not correct because access-list 115 does not mention about 10.4.4.0 network. So the most
reasonable answer is A.

But here raise a question…

The wildcard mask of access-list 115, which is 255.255.255.0, means that only host with ip
addresses in the form of x.x.x.0 will be accepted. But we all know that x.x.x.0 is likely to be a
network address so the answer A: “no host could connect to Router through s0/0/1” seems
right…

[LAB] Page 20
[CCNA R&S EXAM]

But what will happen if we don’t use a subnet mask of 255.255.255.0? For example we can use
an ip address of 10.45.45.0 255.255.0.0, such a host with that ip address exists and we can
connect to the router through that host. Now answer A seems incorrect!

Please comment if you have any idea for this sim!

Other lab-sims on this site:

[LAB] Page 21

Potrebbero piacerti anche