Lab Simulation Queries
Lab Simulation Queries
Lab Simulation Queries
A network associate is configuring a router for the weaver company to provide internet
access. The ISP has provided the company six public IP addresses of 198.18.184.105
198.18.184.110. The company has 14 hosts that need to access the internet
simultaneously. The hosts in the company LAN have been assigned private space
addresses in the range of 192.168.100.17 – 192.168.100.30.
- The appropriate interfaces have been configured for NAT inside and NAT outside
- The appropriate static routes have also been configured (since the company will be a stub network, no routing protocol
will be required.)
The company has 14 hosts that need to access the internet simultaneously but we just
have 6 public IP addresses from 198.18.184.105 to 198.18.184.110/29. Therefore we
have to use NAT overload (or PAT)
Router>enable
Router#configure terminal
Router(config)#hostname Weaver
Create a standard access control list that permits the addresses that are to be translated
Establish dynamic source translation, specifying the access list that was defined in the
prior step
This command translates all source addresses that pass access list 1, which means a
source address from 192.168.100.17 to 192.168.100.30, into an address from the pool
named mypool (the pool contains addresses from 198.18.184.105 to 198.18.184.110)
The question said that appropriate interfaces have been configured for NAT inside and
NAT outside statements.
This is how to configure the NAT inside and NAT outside, just for your understanding:
Weaver(config)#interface fa0/0
Weaver(config-if)#ip nat inside
Weaver(config-if)#exit
Weaver(config)#interface s0/0
Weaver(config-if)#ip nat outside
Weaver(config-if)#end
Finally, we should save all your work with the following command:
C:\>ping 192.0.2.114
The ping should work well and you will be replied from 192.0.2.114
Question: 2
To configure the router (R2-RC) click on the console host icon that is connected to a
router by a serial console cable (shown in the diagram as a dashed black line)
Central Florida Widgets recently installed a new router in their office. Complete the
network installation by performing the initial router configurations and configuring
RIPV2 routing using the router command line interface (CLI) on the R2-RC.
Attention :
In practical examinations, please note the following, the actual information will prevail.
1. Name of the router is xxx
2. Enable-secret password is xxx
3. Password to access user EXEC mode using the console is xxx
4. The password to allow telnet access to the router is xxx
5. IP information
Solution:
Router>enable
Router#configure terminal
Router(config)#hostname R2-RC
R2-RC(config)#line console 0
R2-RC(config-line)#password cisco2
R2-RC(config-line)#login
R2-RC(config-line)#exit
R2-RC(config)#line vty 0 4
R2-RC(config-line)#password cisco3
R2-RC(config-line)#login
R2-RC(config-line)#exit
Therefore the last assignable host address in this subnet is 209.165.202.158 and we will
assign it to Fa0/0 interface with these commands:
R2-RC(config)# interface fa0/0
R2-RC(config-if)#ip address 209.165.202.158 255.255.255.224
R2-RC(config-if)#no shutdown
R2-RC(config-if)#exit
So the last assignable host address in this subnet is 192.0.2.30. Finally we assign it to
s0/0/0 interface:
R2-RC(config)#router rip
R2-RC(config-router)#version 2
R2-RC(config-router)#network 209.165.202.128
R2-RC(config-router)#network 192.0.2.16
R2-RC(config-router)#end
R2-RC#copy running-config startup-config
Question: 3
After adding R3 router, no routing updates are being exchanged between R3 and the new
location. All other inter connectivity and Internet access for the existing locations of the
company are working properly.
The task is to identify the fault(s) and correct the router configuration to provide full
connectivity between the routers.
Access to the router CLI can be gained by clicking on the appropriate host. All passwords
on all routers are cisco.
We should check the configuration of the new added router first because it does not
function properly while others work well. From the command line interface of R3 router,
enter the show running-config command
From the output above, we know that this router was wrongly configured with an
autonomous number (AS) of 22. When the AS numbers among routers are mismatched,
no adjacency is formed.
(You should check the AS numbers on other routers for sure)
To solve this problem, we simply re-configure router R3 with the following commands:
Now the whole network will work well. You should check again with ping command
from router R3 to other routers!
Question: 4
You have been hired by Specialty Hardware Incorporated to document the layout of the
network. Complete the following tasks: Complete the network topology shown in the
graphic by dragging the labels below with the appropriate router types, interface types,
and IP addresses to the graphic . Find the information you need by using the router
console attached to the R-CENTER router.
Answer and explanation:
This is the simplest lab question in four labs you see in the real CCNA exam. First we
should identify the types of these routers by using the show cdp neighbors command:
+ Local Interface: the interface on the device you are using "show cdp neighbors"
command. In this case it is the interface of R-CENTER router
+ Platform: the platform of neighbor device
+ Port ID: the neighbor device's port or interface on which the CDP packets are
multicast
From the exhibit, the "Local Interface", "Platform" and "Port ID" columns, we can
identify where these four routers should be placed and their corresponding associated
ports
Finally, use the show running-config command to find out the ip addresses of four
interfaces on R-CENTER
And we can easily assign corresponding ip addresses to four neighbor routers, which are
on the same network with R-CENTER router's interfaces
Please remember in the real CCNA Exam the routers' types, ip addresses and interfaces
may be different! So make sure you understand how it works
Question: 5
(Hint: use the given host addresses and Main router information)
To remove a device or connection, drag it away from the topology.
Use information gathered from the Main router to complete the configuration of
any additional routers. No passwords are required to access the Main router. The config
terminal command has been disabled for the HQ router. The router does not require any
configuration.
Configure the interfaces with the correct IP address and enable the interfaces.
Set the password to allow console access to consolepw
Set the password to allow telnet access to telnetpw
Set the password to allow privilege mode access to privpw
Note: Because routes are not being added to the configurations, you will not be able
to ping through the internetwork.
All devices have cable autosensing capabilities disabled.
All hosts are PC’s
For the device at the bottom-right box, we notice that it has 2 interfaces Fa0/2 and Fa0/4;
moreover the link connects the PC on the right with the device on the bottom-right is a
straight-through link -> it is a switch
The question stated that this topology contains 3 routers and 1 switch -> two other
devices are routers
+ The router on the left is connected with the Main router through FastEthernet
interfaces: use a crossover cable
+ The router on the right is connected with the Main router through Serial interfaces: use
a serial cable
+ The router on the right and the Switch: use a straight-through cable
+ The router on the left and the computer: use a crossover cable
(To remember which type of cable you should use, follow these tips:
For example: we use straight-through cable to connect switch to router, switch to host,
hub to host, hub to server... and we use crossover cable to connect switch to switch,
switch to hub, router to router, host to host... )
Assign appropriate IP addresses for interfaces:
(Notice that you may see different IP addresses in the real CCNA exam, the ones shown
above are just used for demonstration)
From the output we learned that the ip address of Fa0/0 interface of the Main router is
192.168.152.177/28. This address belongs to a subnetwork which has:
And we can pick up an ip address from the list that belongs to this subnetwork:
192.168.152.190 and assign it to the Fa0/0 interface the router on the left
Use the same method for interface Serial0/0 with an ip address of 192.168.152.161
Increment: 16
Network address: 192.168.152.160 (because 160 = 16 * 10 and 160 < 161)
Broadcast address: 192.168.152.175 (because 176 = 160 + 16 - 1)
-> and we choose 192.168.152.174 for Serial0/0 interface of the router on the right
Increment: 16
Network address: 192.168.152.128 (because 128 = 16 * 8 and 128 < 129)
Broadcast address: 192.168.152.143 (because 143 = 128 + 16 - 1)
Increment: 16
Network address: 192.168.152.224 (because 224 = 16 * 14 and 224 < 225)
Broadcast address: 192.168.152.239 (because 239 = 224 + 16 - 1) -> we choose
192.168.152.238 from the list .Let's have a look at the picture below to summarize
Configure two routers on the left and right with these commands:
Router1>enable
Router1#configure terminal
Router1(config)#interface fa0/0
Router1(config-if)#ip address 192.168.152.190 255.255.255.240
Router1(config-if)#no shutdown
Router1(config-if)#interface fa0/1
Router1(config-if)#ip address 192.168.152.142 255.255.255.240
Router1(config-if)#no shutdown
+ Console password:
Router1(config-if)#exit
Router1(config)#line console 0
Router1(config-line)#password consolepw
Router1(config-line)#login
Router1(config-line)#exit
+ Telnet password:
Router1(config)#line vty 0 4
Router1(config-line)#password telnetpw
Router1(config-line)#login
Router1(config-line)#exit
Router1(config)#exit
Router1#copy running-config startup-config
Router2>enable
Router2#configure terminal
Router2(config)#interface fa0/0
Router2(config-if)#ip address 192.168.152.238 255.255.255.240
Router2(config-if)#no shutdown
Router2(config-if)#interface serial0/0
Router2(config-if)#ip address 192.168.152.174 255.255.255.240
Router2(config-if)#no shutdown
and set console, telnet and privilege mode passwords for Router2 as we did for Router1,
remember to save the configuration when you finished.
Question: 6
Question 1:
All hosts in the networks have been operational for several hours when the DHCP server
goes down. What happens to the hosts that have obtained service from the DHCP server?
A - The hosts will not be able to communicate with any other hosts.
B - The hosts will continue to communicate normally for a period of time.
C - The hosts will be able to communicate with hosts outsides their own network
D - The hosts will only be able to communicate with other hosts by IP address not by
hostname
Answer: B
Explanation:
DHCP often uses dynamic allocation mechanism to save IP addresses, which assigns an
IP address to a client for a limited period of time. So when the DHCP server goes down,
that client can still use the allocated IP address for a period of time
Question 2:
Answer: D
Explanation:
The main purpose of the DHCP server is to provide IP configuration parameters to hosts
such as the default gateway, domain name, Domain Name System (DNS) server...
Question 3:
How is the message sent from a PC2 when is first powers on and attempts to contact the
DHCP Server?
A - Layer 3 unicast
B - Layer 3 broadcast
C - Layer 3 multicast
D - Without any Layer 3 encapsulation
Answer: B
Explanation:
When a client boots up for the first time, it transmits a DHCPDISCOVER message on its
local physical subnet. Because the client has no way of knowing the subnet to which it
belongs, the DHCPDISCOVER is an all-subnets broadcast (destination IP address of
255.255.255.255, which is a layer 3 broadcast address). The client does not have a
configured IP address, so the source IP address of 0.0.0.0 is used.
Question 4: What is the default behavior of R1 when PC1 requests service from DHCP
server?
Answer: A
Explanation:
When PC1 requests service from DHCP server (for example, it requests an IP address), it
sends a broadcast packet. But R1 router, by default, will not forward broadcast packet
and drop it.
For your information, if you want to use the DHCP server from another network (like in
this case) you can use the ip helper-address command which will make the router
forward UDP broadcasts.
In the real exam you will be taken to a LAB simulation environment but it is, in fact, just
a group of 4 multi-choice questions!