You are on page 1of 9

SANT LONGOWAL INSTITUTE OF ENGINEERING

AND TECHNOLOGY

PRACTICAL NUMBER 5,6


OF
COMPUTER NETWORKS

Submitted By: - Submitted To: -


Pranay inder handa Ms. Ravinder Kaur
GCS-1930055
Practical No. 5

Aim: Create a simple network with two PCs using a hub &Identify the
proper cable to connect the PCs to the hub.
Requirements:
• A spare Ethernet port on our computer.
• A spare Ethernet port on our BT Hub.
• An Ethernet cable
An Ethernet cable is generally yellow or white with yellow ends. The
connector looks like this:

The Ethernet port is normally marked LAN and will connect with the ports
on the back of our Hub.
But if we have full fiber, we will need a Cat5e Ethernet. HUB will supply
this, and it's the cable with red ends. We can buy Cat5e cables elsewhere,
but they might have different colors. If we use a regular, yellow-ended
Ethernet cable that HUB supplied with Full Fiber, it will still work but will be
slower.
Steps:
1. Plug one end of the Ethernet cable into the computer, and the other
into the Hub or router. Make sure the connections are fully pushed in - and
hear a click as they lock into place.
2. Wait for a moment until see an Ethernet icon on the computer. This
will mean device is connected.
3. If we can't see the icon, check that there are flashing green lights
where the cable goes into the computer.
4. If after then having trouble connecting to the internet, make sure the
Hub's main light is blue. If you're seeing any other lights or colors, find out
what they mean and what to do.
5. If we've manually changed our network settings (like your IP address
or DNS server) in the past then we might need to change these settings
back to automatic for your Hub to connect successfully.
Steps to configure IP:
Step 1: Click the Start menu. Next, click on the Control Panel option.

Step 2: Click on the Network and Sharing Center option.

Step 3: Click on Change adapter settings from the left side menu.
Step 4: Right-click on the Local Area Connection icon, then select
Properties.

Step 5: In the window that opens, click on the Internet Protocol Version 4
(TCP/IPv4) (you may need to scroll down to find it). Next, click on the
Properties button.
Step 6: In the window that opens, click the Use the following IP address:
radio button. In the IP address:, Subnet mask:, and Default gateway:
number fields, insert the numbers that were assigned to you by OIT.

Step 7: Next, click the Use the following DNS server addresses: radio
button. Next, in the Preferred DNS server:, and Alternate DNS server:
number fields, input the numbers that were assigned by OIT. Then click the
OK button.

Step 8: Click OK in the other window. You can now start using your new
internet connection. If for some reason the internet connection doesn't start
working right away, restart the computer and try again.
Practical No.-6
Aim: Installation and working of Telnet.
Theory:
Telnet is a client-server protocol based on character-oriented data
exchange over TCP connections. Telnet enables remote control of
computers via text-based inputs and outputs. For this reason, a client-
server connection is established as a default via the TCP protocol and port
23, where the remote-controlled device acts as a server and waits for
commands. The Telnet client, the controlling instance in this process (also
referred to as remote access or login), can be installed on a particular
device, as well as on an ordinary computer. Telnet enables computers to
connect to one another over a local or wide area network. The PC
connecting to the remote computer is called the “client,” and the remote
computer being connected to be called the “server.” Administrators can use
telnet to configure network appliances or test transmission control protocol
connections on individual workstations, while employees can use telnet to
connect to an organization’s or institution’s mainframe.

Telnet is accessible via Command Prompt.


Step 1: Open Control Panel by searching for control panel in the Start
menu. Or, open the Run dialog box via WIN+R and then enter control.
Step 2: Select Programs. If you don't see that because you're viewing the
Control Panel applet icons, choose Programs and Features instead, and
then skip to Step 4.

Step 3: Select Programs and Features.

Step 4: Select Turn Windows features on or off from the left pane.
Step 5: Select the check box next to Telnet Client.

Step 6: Select OK to enable Telnet.


Step 7: When you see the Windows completed the requested changes
message, you can close any open dialog boxes.
Execute Telnet Commands in Windows:
Telnet commands are easy to execute. After opening Command Prompt,
enter the word telnet. The result is a line that says Microsoft Telnet>, which
is where Telnet commands are entered.
If we don't plan to follow the first telnet command with additional
commands, type telnet followed by any telnet command, such as the ones
shown in the examples below.
To connect to a Telnet server, enter a command that follows this syntax: -
tel
For example- entering telnet textmmode.com 23 connects to
textmmode.com on port 23 using Telnet.

You might also like