CCNA SCENARIO for BTEGITIM REMOTE LAB v2.0

 

 

1. SCENARIO: ACME COMPANY

 

Purpose: This lab is designed to help you to deal with simulation question you will face if you take the CCNA Exam (640-607). It will also improve your practical skills on the following Cisco Networking Academy Program topics:

 

  • Basic Router configuration
  • RIP

 

Description: Acme Inc. is a multinational company, whose headquarters are located in Istanbul. The company demands end-to-end  connectivity between headquarters and the two branch offices, Berlin and Paris.

 

Objective: Fulfill the basic configuration tasks on Istanbul, Berlin and Paris Routers. Provide end-to-end connectivity inside the company’s network using RIP as routing protocol.

 

Tasks:

1. Erase initial router configurations

2. Configure Hostname; enable, vty and console passwords.

3. a. Configure interfaces by assigning them the appropriate IP Addresses given in the topology

    b. Check whether the serial interfaces are DCE or DTE. Set clock rate if required.

4. (Optional) Use the ping command to check the connectivity with neighboring router’s serial interface.

5. a. Configure RIP to provide end-to-end connectivity

    b. Check end-to-end connectivity

6. Save your configurations into router’s NVRAM

 

 

2. TOPOLOGY

 

 

 

 

3. CONFIGURATION

 

!!! Important Note for the CCNA Exam: In this lab you are going to configure three Routers. Typically in the exam you are responsible for configuring only one router. 

 

Note: Before you start the lab, make sure that you are familiar with the commands listed below.

 

Basic Commands

Line Commands

Interface Commands

Routing protocol configuration commands

Show Commands

Debug Commands

erase start

line vty

interface

router rip

show controllers

Debug ip igrp events

copy run start

line console

ip address

network

show ip route

Debug ip igrp status

reload

login

shutdown

 

 

 

enable

password

clock rate

 

 

 

conf t

 

 

 

 

 

hostname

 

 

 

 

 

end

 

 

 

 

 

ping

 

 

 

 

 

telnet

 

 

 

 

 

 

 

Step 1

 

Task: Erase initial router configurations.

 

Click to view the Solution

 

 

Step 2

 

Task: Configure Hostname; enable, vty and console passwords. All passwords will be set to ‘btegitim’

 

 

Task a: Configure interfaces by assigning them the appropriate IP Addresses given in the topology. In order to save time you can use the table below as a shortcut:

 

BERLIN

 

 

ISTANBUL

 

 

PARIS

 

Serial 0

192.168.1.2/24

 

Serial 0/0

192.168.1.1/24

 

Serial 0

172.16.1.2/16

Ehernet 0

201.1.1.1/24

 

Serial 0/1

172.16.1.1/16

 

Ehernet 0

203.1.1.1/24

 

 

 

Ethernet 0/0

202.1.1.1/24

 

 

 

 

Task b: Check whether the serial interfaces are DCE or DTE. It is required to set the clock rate on DCE interfaces.

 

Click to view the Solution

 

 

 

Note: Before making any further configurations, it’s a good idea to check connectivity between routers by sending icmp echo request (ping) packets to serial interfaces. However, before any tests can be made you should configure the first three steps on ISTANBUL and PARIS. You may wish to skip this step and configure each router individually.

 

Task: Use the ping command to check the connectivity with neighboring router’s serial interface.

 

 

Task a: Configure RIP to provide end-to-end connectivity

 

Task b: Check end-to-end connectivity. At BERLIN, display the routing table using the appropriate command. Then  ping to PARIS’s ethernet 0 interface (203.1.1.1).

 

Click to view the Solution

 

 

Step 6

 

Task: Save your configurations into router’s NVRAM (Repeat this step on each Router)

 

Click to view the Solution

 

 

 

4. SOLUTIONS

 

 

Router#

Router#erase start

Erasing the nvram filesystem will remove all files! Continue? [confirm]

[OK]

Erase of nvram: complete

Router#reload

 

System configuration has been modified. Save? [yes/no]: n

Proceed with reload? [confirm]

 

01:12:03: %SYS-5-RELOAD: Reload requested

System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE

Copyright (c) 1986-1995 by cisco Systems

 

Back to Top

 

 

Router>enable

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname BERLIN

BERLIN(config)#enable secret btegitim

BERLIN(config)#line vty 0 4

BERLIN(config-line)#password btegitim

BERLIN(config-line)#line console 0

BERLIN(config-line)#login

BERLIN(config-line)#password btegitim

BERLIN(config-line)#end

 

Back to Top

 

 

Solution for Step 3

 

BERLIN(config)#int serial 0

BERLIN(config-if)#ip address 192.168.1.2 255.255.255.0

BERLIN(config-if)#no shut

00:32:24: %LINK-3-UPDOWN: Interface Serial0, changed state to down

BERLIN(config-if)#int ethernet 0

BERLIN(config-if)#ip address 201.1.1.1 255.255.255.0

BERLIN(config-if)#no shut

 

 

BERLIN#sh controllers serial 0

HD unit 0, idb = 0x9F514, driver structure at 0xA31C0

buffer size 1524  HD unit 0, V.35 DCE cable

cpb = 0x21, eda = 0x4940, cda = 0x4800

RX ring with 16 entries at 0x214800

00 bd_ptr=0x4800 pak=0x106648 ds=0x21EC68 status=80 pak_size=0

!Output Omitted for simplicity

 

BERLIN#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

BERLIN(config)#int serial 0

BERLIN(config-if)#clock rate 64000

BERLIN(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

BERLIN#sh controllers s 0 

HD unit 0, idb = 0x9F514, driver structure at 0xA31C0

buffer size 1524  HD unit 0, V.35 DCE cable, clockrate 64000

cpb = 0x21, eda = 0x4940, cda = 0x4800

RX ring with 16 entries at 0x214800

00 bd_ptr=0x4800 pak=0x106648 ds=0x21EC68 status=80 pak_size=0

!Output Omitted for simplicity

 

Note: Do not set clock rate on DTE interfaces.

 

Back to Top

 

 

Solution for Step 4 (Optional)

 

On Berlin:

 

BERLIN#ping 192.168.1.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms

 

On Istanbul

 

ISTANBUL#ping 192.168.1.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

ISTANBUL#ping 172.16.1.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

 

On Paris

 

PARIS#ping 172.16.1.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

 

Note: Considering our lab environment, failure of a ping request indicates most probably a faulty cable or an unset clock rate value. In real production networks however, there may be other reasons which influence connectivity like misconfigured access-lists, etc.

 

Back to Top

 

 

Solution for Step 5

 

On Berlin:

 

BERLIN(config)#router rip

BERLIN(config-router)#network 192.168.1.0

BERLIN(config-router)#network 201.1.1.0

 

On Router 2:

 

ISTANBUL(config)#router rip

ISTANBUL(config-router)#network 192.168.1.0

ISTANBUL(config-router)#network 202.1.1.0

ISTANBUL(config-router)#network 172.16.0.0 !See the note below

 

On Router 3:

 

PARIS(config)#router rip

PARIS(config-router)#network 172.16.0.0 !See the note below

PARIS(config-router)#network 203.1.1.0

 

 

BERLIN#sh ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

       U - per-user static route, o - ODR

 

Gateway of last resort is not set

 

C    201.1.1.0/24 is directly connected, Ethernet0

R    203.1.1.0/24 [120/2] via 192.168.1.1, 00:00:09, Serial0

R    172.16.0.0/16 [120/1] via 192.168.1.1, 00:00:09, Serial0

R    202.1.1.0/24 [120/1] via 192.168.1.1, 00:00:09, Serial0

C    192.168.1.0/24 is directly connected, Serial0

BERLIN#ping 203.1.1.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 203.1.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/57/60 ms

 

 

 

 

!!! Important Note for the CCNA Exam: It’s a common mistake to write this command as:

 

ISTANBUL(config-router)#network 172.16.1.0

 

Your router will accept this command and indicate no error message. Furthermore, you won’t encounter any problems in connectivity. However look at the output of show run:

 

!

router rip

 network 172.16.0.0

 network 192.168.1.0

 network 202.1.1.0

!

 

172.16 is a B class IP address and the network command is classless, so the last two octets of the IP address 172.16 will be neglected.

 

Although this may cause not much trouble in the real world, it will definitely reduce your score in the CCNA exam.

 

Back to Top

 

 

Solution for Step 6

 

BERLIN#copy running-config startup-config

Destination filename [startup-config]?

Building configuration...

[OK]

 

Back to Top

 

 

 

5. COMPLETE CONFIGURATIONS

 

 

Note: If you can’t fulfill the required tasks by following the step-by-step instructions, you can upload the configurations listed below to the appropriate routers and provide connectivity. To do this:

 

1.       Copy the configurations to the clipboard.

2.       Paste the configuration while the Router is in global config mode.

 

BERLIN

 

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname BERLIN

!

enable secret 5 $1$56AM$rhB5dH1DVpK7/UnDPiyTj1

!

ip subnet-zero

!

!

!

interface Ethernet0

 ip address 201.1.1.1 255.255.255.0

 no ip directed-broadcast

 no shutdown

!

interface Serial0

 ip address 192.168.1.2 255.255.255.0

 no ip directed-broadcast

 clockrate 64000

 no shutdown

!        

interface Serial1

 no ip address

 no ip directed-broadcast

 shutdown

!

interface Ethernet0/0

 ip address 201.1.1.1 255.255.255.0

 no ip directed-broadcast

 no shutdown

!

interface Serial0/0

 ip address 192.168.1.2 255.255.255.0

 no ip directed-broadcast

 no ip mroute-cache

 no fair-queue

 clockrate 64000