0% found this document useful (0 votes)
32 views6 pages

Net Exp4

This document discusses IP addressing classes and configuring the Telnet protocol on a router remotely. It describes the five classes of IPv4 addresses - A, B, C, D, and E - and their properties. It then provides steps to set up a network topology in Cisco Packet Tracer, configure IP addresses, set the FastEthernet interface, ping between devices, connect to the router via console cable, open virtual terminal lines on the router, set passwords, and finally connect to the router remotely using Telnet instead of the console cable. The objective is to become familiar with configuring the Telnet protocol for remote access to a router over the network.

Uploaded by

maram.sobhy.2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views6 pages

Net Exp4

This document discusses IP addressing classes and configuring the Telnet protocol on a router remotely. It describes the five classes of IPv4 addresses - A, B, C, D, and E - and their properties. It then provides steps to set up a network topology in Cisco Packet Tracer, configure IP addresses, set the FastEthernet interface, ping between devices, connect to the router via console cable, open virtual terminal lines on the router, set passwords, and finally connect to the router remotely using Telnet instead of the console cable. The objective is to become familiar with configuring the Telnet protocol for remote access to a router over the network.

Uploaded by

maram.sobhy.2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Networks Lab

Experiment Name:
Connection to the LAN &
Telnet Configuration

Experiment No.: 4
Introduction:

A local area network (LAN) is a group of computers and associated devices that share a common
communications line or wireless link to a server. Typically, a LAN encompasses computers and peripherals
connected to a server within a small geographic area such as an office building or home. Computers and other
mobile devices can share resources such as a printer or network storage.

IP
Internet Protocol hierarchy contains several classes of IP Addresses to be used efficiently in various
situations as per the requirement of hosts per network. Broadly, the IPv4 Addressing system is divided into
five classes of IP Addresses. All the five classes are identified by the first octet of IP Address.
Internet Corporation for Assigned Names and Numbers is responsible for assigning IP addresses.
The first octet referred here is the left most of all. The octets numbered as follows depicting dotted
decimal notation of IP Address:

The number of networks and the number of hosts per class can be derived by this formula:

When calculating hosts' IP addresses, 2 IP addresses are decreased because they cannot be assigned to
hosts, i.e. the first IP of a network is network number and the last IP is reserved for Broadcast IP.

Class A Address
The first bit of the first octet is always set to 0 (zero). Thus the first octet ranges from 1 – 127, i.e.

Class A addresses only include IP starting from 1.x.x.x to 126.x.x.x only. The IP range 127.x.x.x is
reserved for loopback IP addresses.
The default subnet mask for Class A IP address is 255.0.0.0 which implies that Class A addressing can
have 126 networks (27-2) and 16777214 hosts (224-2).
Class A IP address format is thus:
0NNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH

Class B Address
An IP address which belongs to class B has the first two bits in the first octet set to 10, i.e.

Class B IP Addresses range from 128.0.x.x to 191.255.x.x. The default subnet mask for Class B is
255.255.x.x.
Class B has 16384 (214) Network addresses and 65534 (216-2) Host
addresses. Class B IP address format is:
10NNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH
Class C Address
The first octet of Class C IP address has its first 3 bits set to 110, that is:

Class C IP addresses range from 192.0.0.x to 223.255.255.x. The default subnet mask for Class C is
255.255.255.x.
Class C gives 2097152 (221) Network addresses and 254 (28-2) Host
addresses. Class C IP address format is:
110NNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH

Telnet Protocol is a protocol that is configure (Network-device) remotely over network connection.

Objective:
• To become familiar with the Telnet Protocol configuration.

Equipment used:
Cisco Packet Tracer program.
Experiment procedure:

Step1: Take the topology as in the above diagram. Set IPs on the PCs.

Step2: Set the FastEthernet interface 0/0 IP (which is the default gateway here).
Step3: now we can ping any PC in the same LAN (here from 10.0.0.2 to 10.0.0.1).

Step4: connect a console cable between a PC and the router.

Step5: click on PC3 > Desktop > terminal , open 5 ports on the router, that means 5 PCs can enter this
router. Using line vty 0 4 command.
Step6: set a password for this router.

Step7: set a password for the privileged mode.

Step8: cut the console cable, click on PC3 > Desktop > command prompt, connect to the router using
telnet –default gateway- command.

Conclusion:

instead of connecting to the router using a console cable, we can connect wirelessly using Telnet
Protocol.

You might also like