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
3. 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
4. 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
5. 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)
6. 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)
0 comments:
Post a Comment