Your employer has installed two new Cisco routers in the network. Figure 3-5 shows the network layout. Your task is to configure the routers such that HostA can telnet into them to configure it further. Ensure correct hostnames and IP addresses are assigned. All passwords should be set to mypass123. When configuration is complete, save the configuration and back it up to the TFTP server running on HostA.

Figure 3-5 Network Diagram for CCNA Lab #1

Solution

  1. Connect to the console port of RouterA and when prompted enter no to exit out of setup mode. Press Enter to go to the User exec mode.
  2. Enter the privileged exec mode using the command enable and then configure the hostname and enable secret as shown below:
 Router#config terminal
Router(config)#hostname RouterA
RouterA(config)#enable secret mypass123 
  1. Configure the IP address on the interface as shown below:
 RouterA(config)#interface fa0/0
RouterA(config-if)#ip address 192.168.1.1 255.255.255.0
RouterA(config-if)#exit
  1. Configure a password and enable login on line vty as shown below:
RouterA(config)#line vty 0 4
RouterA(config-line)#password mypass123
RouterA(config-line)#login
RouterA(config-line)#exit 
  1. Save the config and then copy it to the TFTP server as shown below:
RouterA(config)#exit
RouterA#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
RouterA#copy run tftp:
Address or name of remote host []? 192.168.1.10
Destination filename [routera-confg]? [enter]
!!
763 bytes copied in 0.712 secs (1071 bytes/sec) 
  1. Repeat steps 1-5 on RouterB. The configuration steps are given below:
Router#config terminal
Router(config)#hostname RouterB
RouterB(config)#enable secret mypass123
RouterB(config)#interface fa0/0
RouterB(config-if)#ip address 192.168.1.2 255.255.255.0
RouterB(config-if)#exit
RouterB(config)#line vty 0 4
RouterB(config-line)#password mypass123
RouterB(config-line)#login
RouterB(config-line)#exit
RouterB(config)#exit
RouterB#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
RouterB#copy run tftp:
Address or name of remote host []? 192.168.1.10
Destination filename [routerb-confg]? [enter]
!!
763 bytes copied in 0.712 secs (1071 bytes/sec)