Practica 2 Configurando El Router
Practica 2 Configurando El Router
Practica 2 Configurando El Router
Topology Diagram
Addressing Table
Learning Objectives
Erase the startup configuration and reload a router to the default state.
Scenario
In this lab activity, you will create a network that is similar to the one shown in
the Topology Diagram. Begin by cabling the network as shown in the Topology
Diagram. You will then perform the initial router configurations required for
connectivity. Use the IP addresses that are provided in the Topology Diagram to
apply an addressing scheme to the network devices. When the network
configuration is complete, examine the routing tables to verify that the network
is operating properly. This lab is a shorter version of Lab 1.5.1: Cabling a Network
and Basic Router Configuration and assumes you are proficient in basic cabling
and configuration file management.
Cable a network that is similar to the one in the Topology Diagram. The output
used in this lab is from 1841 routers. You can use any current router in your lab
as long as it has the required interfaces as shown in the topology. Be sure to use
the appropriate type of Ethernet cable to connect from host to switch, switch to
router, and host to router. Refer to Lab 1.5.1: Cabling a Network and Basic Router
Configuration if you have any trouble connecting the devices. Be sure to connect
the serial DCE cable to router R1 and the serial DTE cable to router R2.
What type of cable is used to connect the Ethernet interface on a host PC to the
Ethernet interface on a switch? _________cable serial_______________
What type of cable is used to connect the Ethernet interface on a switch to the
Ethernet interface on a router? ____cable directo______________________
What type of cable is used to connect the Ethernet interface on a router to the
Ethernet interface on a host PC? ____cable cruzado_____________________
Refer to Lab 1.5.1, Cabling a Network and Basic Router Configuration, for
review of terminal emulation and connecting to a router.
Router>enable
Router#
To clear the configuration, issue the erase startup-config command. Press Enter
when prompted to [confirm] that you really do want to erase the configuration
currently stored in NVRAM.
Router#erase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm] [OK]
Router#
What would happen if you answered yes to the question, System configuration
has been modified. Save?
Router#reload
Press Enter when prompted to [confirm] that you really do want to reload the
router. After the router finishes the boot process, choose not to use the
AutoInstall facility, as shown:
Router>enable
Router#
Router#configure terminal
Router(config)#
Router(config)#hostname R1
R1(config)#
R1(config)#no ip domain-lookup
R1(config)#
Configure the EXEC mode password using the enable secret password command.
Use class for the password.
R1(config)#
character '&'.
********************************
&
R1(config)#
Use cisco as the password. When you are finished, exit from line configuration
mode.
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#
Use cisco as the password. When you are finished, exit from line configuration
mode.
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#
R1(config-if)#no shutdown
R1(config-if)#
Configure the Serial0/0/0 interface with the IP address 192.168.2.1/24. Set the
clock rate to 64000.
Note: The purpose of the clock rate command is explained in Chapter 2: Static
Routes.
R1(config-if)#no shutdown
R1(config-if)#
Note: The interface will be activated until the serial interface on R2 is configured
and activated
R1(config-if)#end
R1#
Building configuration...
[OK]
R1#
R2(config-if)#
R2(config-if)#no shutdown
R2(config-if)#
R2(config-if)#end
R2#
Building configuration...
[OK]
R2#
Step 1: Verify that routing tables have the following routes using the show ip
route command.
The show ip route command and output will be thoroughly explored in upcoming
chapters. For now, you are interested in seeing that both R1 and R2 have two
routes. Both routes are designated with a C. These are the directly connected
networks that were activated when you configured the interfaces on each router.
If you do not see two routes for each router as shown in the following output,
proceed to Step 2.
R1#show ip route
R2#show ip route
------------------------
If both interfaces are up and up, then both routes will be in the routing table.
Verify this again by using the show ip route command.
Test connectivity by pinging from each host to the default gateway that has been
configured for that host.
From the host attached to R1, is it possible to ping the default gateway? Si.
From the host attached to R2, is it possible to ping the default gateway? Si.
If your answer to all three steps is yes, then you should be able to successfully
ping the default gateway.
From the router R1, is it possible to ping R2 using the command ping
192.168.2.2? Si, si es possible.
From the router R2, is it possible to ping R1 using the command ping
192.168.2.1? Si, es possible.
Did you configure the clock rate command on the DCE side of the link? No.
3. Check the router interfaces using the show ip interface brief command.
If your answer to all three steps is yes, then you should be able to successfully
ping from R2 to R1 and from R2 to R3.
Task 7: Reflection
Step 1: Attempt to ping from the host connected to R1 to the host connected to
R2.
Publicidad en red.
Task 8: Documentation
On each router, capture the following command output to a text (.txt) file and
save for future reference.
show running-config
show ip route
If you need to review the procedures for capturing command output, refer to Lab
1.5.1, Cabling a Network and Basic Router Configuration.
Task 9: Clean Up
Erase the configurations and reload the routers. Disconnect and store the
cabling. For PC hosts that are normally connected to other networks (such as the
school LAN or to the Internet), reconnect the appropriate cabling and restore the
TCP/IP settings