Networking Lab Manual
Networking Lab Manual
EXPERIMENT 1
Aim: Study of different types of Network cables and practically implements the
cross-wiredcable and straight through cable using clamping tool.
Apparatus (Components): RJ-45 connector, Climping Tool, Twisted pair Cable
Procedure: To do these practical following steps should be done:
1. Start by stripping off about 2 inches of the plastic jacket off the end of the
cable. Be very careful at this point, as to not nick or cut into the wires, which are
inside. Doing so could alter the characteristics of your cable, or even worse render is
useless. Check the wires, one more time for nicks or cuts. If there are any, just whack
the whole end off, and start over.
2. Spread the wires apart, but be sure to hold onto the base of the jacket with your other
hand. You do not want the wires to become untwisted down inside the jacket. Category
5/6 cable must only have 1/2 of an inch of 'untwisted' wire at the end; otherwise it will
be 'out of spec'. At this point, you obviously have ALOT more than 1/2 of an inch of un-
twisted wire.
You have 2 end jacks, which must be installed on your cable. If you are using a pre-made cable,
with one of the ends whacked off, you only have one end to install - the crossed over end. Below
are two diagrams, which show how you need to arrange the cables for each type of cable end.
Decide at this point which end you are making and examine the associated picture below
EXPERIMENT 2
1. Ping
Ping is used to testing a network host capacity to interact with another host. Just enter the
command Ping, followed by the target host’s name or IP address. The ping utilities seem
to be the most common network tool. This is performed by using the Internet Control
Message Protocol, which allows the echo packet to be sent to the destination host and a
listening mechanism. If the destination host reply to the requesting host that means the
host is reachable. This utility usually gives a basic image of where there may be a specific
networking issue,
2. NetStat
Netstat is a Common TCP – IP networking command-line method present in most Windows,
Linux, UNIX, and other operating systems. About the protocol, the netstat provides the
statistics and information in the use of the current TCP-IP Connection network.
Options for NetStat Command are as follows-
4. Nslookup
The Nslookup which stands for name server lookup command is a network utility command
used to obtain information about internet servers. It provides name server information for the
DNS (Domain Name System) i.e. the name and IP Address of the default DNS server.
The syntax for Nslookup is as follows
Nslookup
or
Nslookup [domain_name]
5. Route
In IP networks, routing tables are used to direct packets from one subnet to another. The
Route command provides the device’s routing tables. To get this result, just type route print.
The Route command returns the routing table, as well as the user, can make changes by
Commands such as Route Add, Route Delete, and Route Change which allows modifying the
routing table as a requirement.
6 Ip Config
The command IPconfig will display basic details about the device’s IP address configuration.
Just type IPconfig in the Windows prompt and the IP, subnet mask and default gateway that
the current device will be presented. If you have to see full information then type on
command prompt config-all and then you will see full information. There are also choices to
assist you to resolve DNS and DHCP issues.
7. ARP
ARP stands for Address Resolution Protocol. Although network communications can readily
be thought of it as IP address, the delivery of a packet depends ultimately on the media access
control (MAC). This is where the protocol for address resolution comes into effect. You can
add the remote host IP address which is arp -a command in case you have issues to
communicate with a given host. The ARP command provides information like Address,
Flags, Mask, IFace, Hardware Type, Hardware Address, etc.
EXPERIMENT 3
NIC Configuration in Windows & Linux
Netconfig command
Network address – It identifies a network on internet. Using this, we can find range of
addresses in the network and total possible number of hosts in the network.
Mask – It is a 32-bit binary number that gives the network address in the address block when
AND operation is bitwise applied on the mask and any IP address of the block.
The default mask in different classes are :
Class A – 255.0.0.0
Class B – 255.255.0.0
Class C – 255.255.255.0
Example : Given IP address 132.6.17.85 and default class B mask, find the beginning address
(network address).
Solution : The default mask is 255.255.0.0, which means that the only the first 2 bytes are
preserved and the other 2 bytes are set to 0. Therefore, the network address is 132.6.0.0.