0% found this document useful (0 votes)
7 views7 pages

Router Config

This lab guides users through the installation and configuration of routers for a branch office and HQ using Packet Tracer. Key tasks include building the network topology, configuring IP addresses, enabling RIP for routing, and setting up remote access via Telnet. The lab emphasizes basic router setup steps and provides commands for successful configuration and testing of connectivity.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views7 pages

Router Config

This lab guides users through the installation and configuration of routers for a branch office and HQ using Packet Tracer. Key tasks include building the network topology, configuring IP addresses, enabling RIP for routing, and setting up remote access via Telnet. The lab emphasizes basic router setup steps and provides commands for successful configuration and testing of connectivity.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Lab 29.

Installing and Configuring


a Router

Lab Objective:
Learn how to install a branch office and HQ router.

Lab Purpose:
Routers can take several hours to install and configure. This lab will cover
just a few of the basic steps you need to follow to connect your router in a
branch office (R1) and your HQ (R0). I’ve scaled everything down for
simplicity.

Lab Tool:
Packet Tracer

Lab Topology:
Please use the following topology to complete this lab exercise:
Lab Walkthrough:

Task 1:
Build the network shown in the topology above (I used 1941 models for this
lab). Power down the routers and add (drag) a WAN card to each router,
connect the routers with a serial cable, and then power up the routers.
Task 2:
Change the hostname on the router and then check the interfaces for the
correct name/number/slot so you configure the correct one. You will use a
serial cable to connect the two routers.
Router#conf t
Router(config)#hostname R0
Router(config)#exit
R0#show ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/1/0 unassigned YES unset administratively down down
Serial0/1/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
R0#

Task 2:
One of the routers will have a DCE cable end. This provides the clocking for
the connection, so you need to add a speed command. The ‘show controllers
interface X’ command will tell you which cable type you have. Packet Tracer
appears to automatically add a clock rate, so we need not worry about that
step, but bear it in mind for live routers or remote racks.
R0#show controllers s0/1/0
Interface Serial0/1/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 2000000

Task 3:
Configure the IP address on either router and then ping across the link.
R0#config t
R0(config)#int s0/1/0
R0(config-if)#ip add 10.0.0.1 255.0.0.0
R0(config-if)#no shut

For Router1:
Router#config t
Router(config)#hostname R1
R1(config)#
R1(config)#int s0/1/0
R1(config-if)#ip add 10.0.0.2 255.0.0.0
R1(config-if)#no shut
R1(config-if)#end
R1#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms

Task 4:
Configure the Ethernet interfaces on the routers and add the IP addresses and
default gateways on the hosts. Here is the config for R0. On R1 remember
that it’s using the 192.168.1.0 network on the LAN side.
R0(config-if)#int g0/1
R0(config-if)#ip add 172.16.0.1 255.255.0.0
R0(config-if)#no shut
R0#ping 172.16.0.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/2 ms

Task 5:
Configure RIP version 2 on the network so that each router has a map of the
entire topology.
R0(config)#router rip
R0(config-router)#version 2
R0(config-router)#network 10.0.0.0
R0(config-router)#network 172.16.0.0

R1(config)#router rip
R1(config-router)#ver 2
R1(config-router)#network 10.0.0.0
R1(config-router)#net 192.168.1.0
R1(config-router)#end

Task 6:
Check your routing tables.
R0#show ip route
Codes: L—local, C—connected, S—static, 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, ia—IS-IS inter area
*—candidate default, U—per-user static route, o—ODR
P—periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks


C 10.0.0.0/8 is directly connected, Serial0/1/0
L 10.0.0.1/32 is directly connected, Serial0/1/0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.16.0.0/16 is directly connected, GigabitEthernet0/1
L 172.16.0.1/32 is directly connected, GigabitEthernet0/1
R 192.168.1.0/24 [120/1] via 10.0.0.2, 00:00:15, Serial0/1/0

R1#show ip route
Codes: L—local, C—connected, S—static, 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, ia—IS-IS inter area
*—candidate default, U—per-user static route, o—ODR
P—periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks


C 10.0.0.0/8 is directly connected, Serial0/1/0
L 10.0.0.2/32 is directly connected, Serial0/1/0
R 172.16.0.0/16 [120/1] via 10.0.0.1, 00:00:28, Serial0/1/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0
L 192.168.1.1/32 is directly connected, GigabitEthernet0/0

Task 7:
Ping the remote PC from one end to the other: PC0’s to PC1’s IP address.
Task 8:
Configure R0 to allow remote access via Telnet. Add a username and
password so the administrator can telnet to the router. Add an enable
password so that the admin can get into enable mode to do any
configurations. The command ‘login local’ tells the router to check the user
against the local database of usernames and passwords. Then test your
connection from the PC.
R0#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R0(config)#enable secret hello
R0(config)#username 101labs password cisco
R0(config)#line vty 0 15
R0(config-line)#transport input telnet
R0(config-line)#login local

Notes:
This is a very basic setup. There is far more detail if you plan to take Cisco
CCNA and other advanced exams. Feel free to redo this lab but skip the
‘enable secret’ password. Now you can still telnet but can’t configure the
router.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy