0% found this document useful (0 votes)
19 views

Task 05

This lab document outlines objectives for IP addressing and configuring a router and switch. It describes connecting a router to two switches using Ethernet cables. Fifteen PCs are connected to one switch and 18 PCs to the other. The router is configured with passwords to allow telnet connections from PCs for testing connectivity between switches. Tasks include designing the topology, assigning IP addresses, and establishing telnet sessions to verify the connection.

Uploaded by

Usman Arif
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Task 05

This lab document outlines objectives for IP addressing and configuring a router and switch. It describes connecting a router to two switches using Ethernet cables. Fifteen PCs are connected to one switch and 18 PCs to the other. The router is configured with passwords to allow telnet connections from PCs for testing connectivity between switches. Tasks include designing the topology, assigning IP addresses, and establishing telnet sessions to verify the connection.

Uploaded by

Usman Arif
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Superior University Lahore

(Computer Science Department)

Course Code: CNC601130


Computer Networks
(Lab)

Lab 5
IP Addressing of Router
Connection or Router with Switch

1|Page
Lab Manual 05

Objectives:
 Overview of IP addressing
 Assigning IP Address to the Different Intermediary Devices
 Functionality of Router
 Introduction of Default Gateway

Router
A router is a device that connects two or more packet-switched networks or subnetworks. It
serves two primary functions: managing traffic between these networks by forwarding data
packets to their intended IP addresses, and allowing multiple devices to use the same Internet
connection.

Fig. 1. Types of Routers

Drag and drop 2911 router on cisco screen.

Fig. 2. Interface of 2911 router

2|Page
Connection Of Router with Switch
First, plug an Ethernet cable into an outgoing port on the router. Next, connect the other end of
the Ethernet cable to any port on the switch. Finally, plug another Ethernet cable into a second
port on the switch and the device you want to connect.

Fig. 3. Properties of Switch and their ports

The router attaches with the Gigabit port of switch. Every switch has two Gigabit ports.

Fig. 4. Switch connection with router

3|Page
TELNET
Telnet is an application protocol used on the Internet or local area network to provide a bidirectional
interactive text-oriented communication facility using a virtual terminal connection.

Fig. 5. Telnet connection server to client system

4|Page
Lab 05 Tasks

Task –1
Drag A Router & a switch concerning the Topology diagram

Task –2
Connect 15 PCs with one switch and connect 18 PCs with another switch. After connection gives
all systems IP addresses and shows a green signal.

Task –3
Connect the router with both switches, add setting and show green signal. After that ping one
system of switch with another system of other switch.

Task –4
Establish a connection with same topology.

Figure 2

Note: When establishing a TELNET session Between Intermediary device and End Devices
from Command prompt three Password are required

1)Enable password
2)Line console password
3)Line VTY password

Task –4(1)
Design the Topology with respect to the diagram

Task –4(2)
Assign the password to the router so that PC can establish the TELNET session from command
prompt.

5|Page
Router>enable
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Enable Password
Router(config)#enable password cisco

Line Console Password


Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login

Line VTY password


Router(config-line)#exit
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#end

Task –4(3)
Assign the IP Address to the PC

Figure 3

Task –4(4)
Finally Open the Command Prompt from the PC.

PC>telnet 11.0.0.1
Trying 11.0.0.1 ...Open

6|Page
User Access Verification
Password: cisco (password will not be shown in the Command prompt)
Router>
This would be your final result and, in the end, it should be 100%

7|Page

You might also like