R&S-1 Lab Manual
R&S-1 Lab Manual
NHOP09 / ECE651
LAB MANUAL
Hands on Session-1
INITIAL SWITCH CONFIGURATIONS
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
• The same steps can be repeated for assigning IP addresses for PC1 and PC2.
When we open CLI, by default we are in User mode (can be identified by > symbol.)
We need to user different commands for accessing different modes of operations of Switch.
Sw0(config)# enable password class // For setting up a password at privilege mode as class
Sw0(config)# service password-encryption // For encrypting all passwords
Sw0(config) # banner motd Unauthorized Access // For setting up a banner
Sw1(config)# enable password class // For setting up a password at privilege mode as class
Sw1(config)# service password-encryption // For encrypting all passwords
Sw1(config) # banner motd Unauthorized Access // For setting up a banner
For assigning an IP address for Switch 1:
Hands on Session-2
CONFIGURING TELNET AND SSH
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Fa0/5 Fa0/10
Objectives:
Sw0(config)# enable password class // For setting up a password at privilege mode as class
Sw0(config)# service password-encryption // For encrypting all passwords
For configuring any switch with telnet, it must be assigned with an IP address and the virtual
terminal should be password protected.
telnet 192.168.1.150 and enter password as 1234 //192.168.1.150 is the IP address for Switch 0.
Sw1(config)# enable password class // For setting up a password at privilege mode as class
Sw1(config)# service password-encryption // For encrypting all passwords
Hands on Session-3
INITIAL ROUTER CONFIGURATION
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
(For connecting a PC to Switch, use fast ethernet ports. For connecting a switch to a
router use gigabit ethernet ports.)
Objectives:
For assigning IPv4 addresses for PC’s and Switches, refer Hands-on session 1.
Use the following set of commands at CLI of Router0.
R0 (config)# enable password class // For setting up a password at privilege mode as class
R0(config)# service password-encryption // For encrypting all passwords
R0 (config) # banner motd Unauthorized Access // For setting up a banner
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.
Hands on Session-4
CONFIGURING STATIC ROUTES
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
• Two routers must be connected through Serial High-Speed WAN Interface Cards. These
interface cards are inactive by default. Activate them using following steps.
Click on Router 0 – Physical – HWIC 2T – Power off the router – Drag and drop serial
interfaces in empty spaces – Power on the router
The above steps can be repeated for activating Serial High-Speed WAN Interface Cards on
Router 0 and Router 1.
• For connecting routers together, use Serial DCE type of connection. Connect the
routers through any of four serial ports. (s0/0/0, s0/0/1, s0/1/0 and s0/1/1)
Note: Refer hands on Session 1 for assigning IP addresses for PCs and Switches.
Router>
Router> enable
Router # configure terminal
Router (config) # hostname R0
For any data packets at Router1, there is a possibility that those packets can reach one of
the three networks, 192.168.1.0 (through exit interface s0/0/0) or 192.168.2.0 (through exit
interface s0/0/0) or 10.10.200.0/24 (through exit interface s0/0/1). Therefore, we need to
assign three static routes at Router1.
For any data packets at Router2, there is a possibility that those packets can reach one of
the three networks, 192.168.1.0 (through exit interface s0/0/1) or 192.168.2.0 (through exit
interface s0/0/1) or 172.16.1.0/24 (through exit interface s0/0/1). Therefore, we need to
assign three static routes at Router2.
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.
Hands on Session-5
CONFIGURING STATIC SUMMARY and DEFAULT ROUTES
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
The first 22 bits of both Network IDs are same. Hence, we can summarize
these two Network IDs as 192.168.0.0/22.
Use following commands at CLI of Router1 for assigning static summary routes:
R1 (config) # ip route 192.168.1.0 255.255.255.240 s0/0/0 // Assigning static summary routes at Router1
R1(config) # ip route 10.100.200.0 255.255.255.0 s0/0/1
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.
Hands on Session-6
CONFIGURING RIPv2
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
Refer hands on session 5 for assigning IPv4 addresses for all router interfaces.
For assigning RIPv2 for routers, we must identify the networks that are directly connected to
routers.
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.
Hands on Session-7
CONFIGURING ROUTER WITH STATIC IPv6 ADDRESSES
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
Click on PC0 – Desktop – IP Configuration – Assign the IPv6 address as shown below.
The same steps can be repeated for assigning IPv6 address for PC1.
Router>
Router > enable
Router # configure terminal
Router (config) # hostname R0
R0 (config) # ipv6 unicast-routing // For making R0 as a dual stack device.
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.
Hands on Session-8
CONFIGURING ROUTER WITH IPv6 ADDRESSES
(Using Auto configuration mode)
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
For assigning IPv6 addresses to Router0 using auto config mode, use following commands at
CLI of Router0.
Router>
Router > enable
Router # configure terminal
Router (config) # hostname R0
R0 (config) # ipv6 unicast-routing // For making R0 as a dual stack device.
The same steps can be repeated for obtaining IPv6 address for PC1.
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.
Hands on Session-9
CONFIGURING STATIC AND DEFAULT ROUTES WITH IPv6 ADDRESSES
1. Consider the following topology and write the commands with proper prompt to
achieve given objectives.
Objectives:
• Assign static IPv6 addresses to PC0, PC1 and Router0, Router1 and Router2.
• Configure IPv6 static routes at Router0, Router1 and default route at
Router2.
• Verify end to end connectivity.
R0 (config) # ipv6 route 2001:2: :/64 s0/0/0 //For assigning static routes
R0 (config) # ipv6 route 2001:3: :/64 s0/0/0
R1 (config) # ipv6 route 2001:1: :/64 s0/0/0 //For assigning static routes
R1 (config) # ipv6 route 2001:3: :/64 s0/0/1
Verify end to end connectivity using PING or Real time/Simulation mode in Packet Tracer.