Documente Academic
Documente Profesional
Documente Cultură
NETWORKS
LAB
SUBMITTED TO
SUBMITTED BY
MRS. SAPNA JUNEJA
GAUTAM
KSHITIJ
CSE/14/109
1
14002001026
Table of Contents
Table of Contents................................................................................................2
EXPERIMENT 1 WRITE SPECIFICATIONS OF LATEST LAPTOPS AND DESKTOPS. 4
SPECIFICATIONS OF LATEST DESKTOPS...........................................................5
SPECIFICATIONS OF LATEST LAPTOPS..............................................................7
EXPERIMENT 2 FAMILIARIZATION WITH NETWORKING COMPONENTS AND
DEVICES: LAN ADAPTERS, HUBS, SWITCHES AND ROUTERS..............................9
LAN Adapter..................................................................................................10
Wireless USB LAN adapter.............................................................................10
Network Hub..................................................................................................11
Network switch..............................................................................................11
Router............................................................................................................12
How Routers Works........................................................................................12
Advantages of Router....................................................................................13
EXPERIMENT 3 FAMILIARIZATION WITH TRANSMISSION MEDIA AND TOOLS:
CO-AXIAL CABLE, UTP CABLE, CRIMPING TOOL AND CONNECTORS.................14
What is transmission media?.........................................................................15
Types of Transmission Media.........................................................................15
Guided Transmission Media...........................................................................16
Types of Twisted Pair......................................................................................16
Advantage of STP over UTP...........................................................................17
Coaxial Cable.................................................................................................19
Fiber-Optics Cable..........................................................................................19
Unguided Transmission Media.......................................................................20
Radiowaves Transmission.............................................................................21
Microwave Transmission................................................................................21
InfraRed.........................................................................................................22
Crimping tool.................................................................................................22
RJ-45 Connecter.............................................................................................23
KSHITIJ GAUTAM CSE/14/109
BNC Connecter..............................................................................................24
EXPERIMENT 4 PREPARE STRAIGHT AND CROSS CABLES..............................25
Straight-Through Wired Cables......................................................................26
Crossover Wired Cables.................................................................................27
EXPERIMENT 5 STUDY VARIOUS LAN TOPOLOGIES AND THEIR CREATION
USING NETWORK DEVICES, CABLES AND COMPUTERS....................................28
Bus topology..................................................................................................29
Star topology.................................................................................................30
Ring Topology................................................................................................31
Mesh Topology...............................................................................................32
Tree Topology.................................................................................................33
Hybrid Topology.............................................................................................34
EXPERIMENT 6 CONFIGURATION OF TCP/IP PROTOCOLS IN WINDOWS AND
LINUX................................................................................................................36
Configuration of TCP/IP protocols in Windows XP & Windows 7.....................37
EXPERIMENT 7 IMPLEMENTATION OF FILE AND PRINTER SHARING................44
EXPERIMENT 8 INTRODUCTION AND OVERVIEW OF PACKET TRACER AND ITS
IDE....................................................................................................................49
EXPERIMENT 9 TO CONNECT DIFFERENT DEVICES AS IN A STAR TYPE
NETWORK USING A SWITCH AND HUB..............................................................56
EXPERIMENT 10 TO ESTABLISH A NETWORK CONNECTION BETWEEN TWO OR
MORE ROUTERS AND CONFIGURE THEM..........................................................60
EXPERIMENT 11 TO ESTABLISH A NETWORK CONNECTION BETWEEN TWO OR
MORE ROUTERS AND END DEVICES AND CONFIGURE THEM USING RIP..........63
EXPERIMENT 1
WRITE
SPECIFICATIONS OF
LATEST LAPTOPS
AND DESKTOPS
SPECIFICATIONS OF
LATEST DESKTOPS
Desktop Minimum
Expect to use the computer for basic productivity, running multiple
applications such as e-mail, web browsing, word processing, music and video
players, and photo organization.
Category
Description
Processor
Memory
Hard drive
CD/DVD
drive
Ethernet
10/100/1000 Mbps
(Gigabit) Ethernet
Monitor
Video
card/VRAM
Ports
Operating
system
Windows 7 64-bit
Professional
Warranty
Description
Processor
Memory
6GB RAM
Hard drive
CD/DVD
drive
Ethernet
Monitor
Video
card/VRAM
Ports
Operating
system
Windows 7 64-bit
Professional
Warranty
day warranty
SPECIFICATIONS OF
LATEST LAPTOPS
Laptop Minimum
Expect to use the computer for basic productivity, running multiple
applications such as e-mail, web browsing, word processing, music and video
players, and photo organization.
Category
Description
Processor
Memory
Hard drive
CD/DVD drive
Ethernet
10/100/1000 Mbps
(Gigabit) Ethernet
Wireless
Video
card/VRAM
Ports
Battery
6-cell battery
Integrated
fingerprint
reader
Operating
system
Windows 7 64-bit
Professional
Description
Processor
Memory
Hard drive
CD/DVD drive
Ethernet
10/100/1000 Mbps
(Gigabit) Ethernet
Wireless
Video
card/VRAM
Ports
Battery
9-cell battery
Integrated
fingerprint
reader
Operating
system
Windows 7 64-bit
Professional
Warranty
10
EXPERIMENT 2
FAMILIARIZATION
WITH NETWORKING
COMPONENTS AND
DEVICES: LAN
ADAPTERS, HUBS,
SWITCHES AND
ROUTERS
KSHITIJ GAUTAM CSE/14/109
11
LAN Adapter
An expansion board that is used to connect a computer or computing device to
a network. LAN
adapter is the most common and generic alternate name for a Network
Interface Card (NIC). However, many similar products, such as a Wireless USB
LAN Adapter is also called a LAN adapter.
12
Network Hub
Definition: In computer networking, a hub is a small, simple, inexpensive
device that joins multiple computers together. Many network hubs available
today support the Ethernet standard. Other types including USB hubs also
exist, but Ethernet is the type traditionally used in home networking.
Technically speaking, two different types of hubs exist:
passive active
Passive hubs do not amplify the electrical signal of incoming packets before
broadcasting them out to the network. Active hubs, on the other hand, do
perform this amplification, as does a different type of dedicated network
device called a repeater. Some people use the terms concentrator when
referring to a passive hub and multiport repeater when referring to an active
hub.
Network switch
A network switch (sometimes known as a switching hub) is a computer
networking device that is used to connect devices together on a computer
KSHITIJ GAUTAM CSE/14/109
13
Router
Router: Routers are devices (computers) containing software that help in
determining the best path out of the available paths, for a particular
transmission. They consist of a combination of hardware and software. The
hardware includes the physical interfaces to the various networks in the
internet work. The two main pieces of software in a router are the operating
system and the routing protocol.
Routers use logical and physical addressing to connect two or more logically
separate networks. They accomplish this connection by organizing the large
network into logical network segments or sub-networks. Each of these sub
networks is given a logical address. This allows the networks to be separate
but still access each other and exchange data when necessary. Data is
grouped into packets, or blocks of data. Each packet, in addition to having a
physical device address, has a logical network address.
Routers are frequently used to interconnect identical networks as well as
to interconnect networks with different types of hardware.
14
Advantages of Router
Routers route the data in an organized way. Routers generate a reliable
connection between hosts. Routers is used for alternatively incase the main is
fail to transfer data.
15
16
EXPERIMENT 3
FAMILIARIZATION
WITH
TRANSMISSION
MEDIA AND TOOLS:
CO-AXIAL CABLE,
UTP CABLE,
CRIMPING TOOL
AND CONNECTORS
KSHITIJ GAUTAM CSE/14/109
17
18
What is transmission
media?
Transmission media is a pathway that carries the information from sender to
receiver. We use different types of cables or waves to transmit data. Data
is transmitted normally through electrical or electromagnetic signals.
An electrical signal is in the form of current. An electromagnetic signal is series
of electromagnetic energy pulses at various frequencies. These signals can be
transmitted through copper wires, optical fibers, atmosphere, water and
vacuum Different Medias have different properties like bandwidth, delay, cost
and ease of installation and maintenance. Transmission media is also called
Communication channel.
Types of Transmission
Media
1. Wired or Guided Media or Bound Transmission Media
2. Wireless or Unguided Media or Unbound Transmission Media
Wired or Guided Media or Bound Transmission Media: Bound transmission
media are the cables that are tangible or have physical existence and are
limited by the physical geography. Popular bound transmission media in use
are twisted pair cable, co-axial cable and fiber optical cable. Each of them has
its own characteristics like transmission speed, effect of noise, physical
appearance, cost etc.
Wireless or Unguided Media or Unbound Transmission Media: Unbound
transmission media are the ways of transmitting data without using any
cables. These media are not bounded by physical geography. This type of
transmission is called Wireless communication. Nowadays wireless
communication is becoming popular. Wireless LANs are being installed in office
and college campuses. This transmission uses Microwave, Radio wave, Infra
red are some of popular unbound transmission media.
19
Guided Transmission
Media
Types of Twisted Pair
The two types of twisted pairs are:
1. Unshielded twisted pair (UTP) ,2. Shielded twisted pair (STP)
1. Unshielded Twisted Pair (UTP)
It consists of colour-coded copper wires, but does not include any foil or
braiding as insulator to protect against interference.
Wire pairs within each cable have varied amounts of twists per foot to produce
cancellation. There are different categories of UTP.
The following table shows the UTP categories, the no. of pairs in each, and the
grade of cable each uses and how they are implemented.
20
21
22
Coaxial Cable
Coaxial cable has two wires of copper. The core wire lies in center and is made
of solid conductor. Core is enclosed in an insulating sheath. Over the sheath
the second wire is wrapped around and that too in turn encased by insulator
sheath. This all is covered by plastic cover.
Because of its structure coax cables are capable of carrying high frequency
signals than that of twisted pair cables. The wrapped structure provides it a
good shield against noise and cross talk. Coaxial cables provide high
bandwidth rates of up to 450 mbps.
There are three categories of Coax cables namely, RG-59 (Cable TV), RG-58
(Thin Ethernet)
and RG-11 (Thick Ethernet. RG stands for Radio Government.
Cables are connected using BNC connector and BNC-T. BNC terminator is used
to terminate the wire at the far ends.
Fiber-Optics Cable
KSHITIJ GAUTAM CSE/14/109
23
A cable with central glass tube covered with protective shield which
transmit data using photons is fiber optics cable. These cables transmit data
via concentrated bursts of laser beams which are carried through bundles of
hair thin glass fibers.
They have advantages over electronic cables in transmission speed and
volume. This technology has revolutionized telecommunication applications
which used electronic cables. Fiber optics cables as free from electro-magnetic
interference as well as wire tapping. fiber optics cable considered a broad band
communication channel
Unguided Transmission
Media
Unguided transmission media extend beyond the limiting confines of cabling.
They provide an excellent Communication Networks alternative for WANS. The
lack of physical restrictions provides larger bandwidth as well as wide area
capabilities. Unbound media typically operate at very high frequencies. The
three types of unbound transmission media are:
KSHITIJ GAUTAM CSE/14/109
24
Radio wave.
Micro wave.
Infrared.
25
Radio-waves Transmission
Although Radio waves are prevalent and well understood, we are just
beginning to realize their enormous potential as a networking medium. Radio
waves can operate on a single or multiple frequency bands.
Radiowaves are omni directional i.e. they travel in all the directions from the
source. Because of this property, transmitter and receiver need not to be
aligned. Radiowaves can penetrate buildings easily, so they are widely use
for communication both indoors outdoors.
At high frequencies, radiowaves tends to travel in straight line and
bounce off the obstacles. They are also absorbed by rain. Radiowaves me
widely used for AM and FM radio, television, cordless telephone, cellular
phones, paging and wireless LAN.
Microwave Transmission
KSHITIJ GAUTAM CSE/14/109
26
Infra-Red
Infrared offers a great unbound photonic solution. Like fiber-optic
cabling, infrared communications use light, so they are not bound by the
limitations of electricity.
Crimping tool
KSHITIJ GAUTAM CSE/14/109
27
28
RJ-45 Connecter
The RJ-45 connector is a form of telephone connector. It sees its most
frequent use as a local- area network connector, and is frequently referred
to simply as an Ethernet connector.
29
BNC Connecter
This connector is commonly used on a Token Ring network. BNC is also short
for Bayonet Nut Connector or British Naval/Navy Connector although more
appropriately known as the Bayonet Neill Concelman. In the picture to the
right, is an example of a BNC connector on the end of a coaxial cable.
BNC
BNC-T
30
EXPERIMENT 4
PREPARE STRAIGHT
AND CROSS
CABLES
31
Straight-Through Wired
Cables
Straight-Through refers to cables that have the pin assignments on each end
of the cable. In other words Pin 1 connector A goes to Pin 1 on connector B,
Pin 2 to Pin 2 ect. Straight-Through
wired cables are most commonly used to connect a host to client. When we
talk about cat5e
patch cables, the Straight-Through wired cat5e patch cable is used to connect
computers, printers and other network client devices to the router switch or
hub (the host device in this instance).
32
Crossover
Wired Cables
An Ethernet crossover cable is a type of Ethernet cable used to connect
computing devices together directly. Normal straight through or patch cables
were used to connect from a host network interface controller (a computer or
similar device) to a network switch, hub or router. A cable with connections
that "cross over" was used to connect two devices of the same type: two
hosts or two switches to each other.
33
34
EXPERIMENT 5
STUDY VARIOUS
LAN TOPOLOGIES
AND THEIR
CREATION USING
NETWORK
DEVICES, CABLES
AND COMPUTERS.
35
Types of Topology:-
Bus topology
Bus Topology is the simplest of network topologies. In this type of topology, all
the nodes (computers as well as servers) are connected to the single cable
(called bus), by the help of interface connectors. This central cable is the
backbone of the network and is known as Bus (thus the name). Every
workstation communicates with the other device through this Bus.
36
Star topology
In Star topology, all the components of network are connected to the central
device called hub which may be a hub, a router or a switch. Unlike Bus
topology (discussed earlier), where nodes were connected to central cable,
here all the workstations are connected to central device with a point-to-point
connection. So it can be said that every computer is indirectly connected to
every other node by the help of hub.
37
2) Easy to connect new nodes or devices. In star topology new nodes can be
added easily without affecting rest of the network. Similarly components can
also be removed easily.
3) Centralized management. It helps in monitoring the network.
4) Failure of one node or link doesnt affect the rest of network. At the same
time its easy to detect the failure and troubleshoot it.
38
Ring Topology
In Ring Topology, all the nodes are connected to each-other in such a way
that they make a closed loop. Each workstation is connected to two other
components on either side, and it communicates with these two adjacent
neighbors. Data travels around the network, in one
direction. Sending and receiving of data takes place by the help of TOKEN.
1) This type of network topology is very organized. Each node gets to send
the data when it receives an empty token. This helps to reduces chances of
collision. Also in ring topology all the traffic flows in only one direction at very
high speed.
2) Even when the load on the network increases, its performance is better
than that of Bus
topology.
KSHITIJ GAUTAM CSE/14/109
39
40
Mesh Topology
In a mesh network topology, each of the network node, computer and other
devices, are interconnected with one another. Every node not only sends its
own signals but also relays data from other nodes. In fact a true mesh
topology is the one where every node is connected to every other node in the
network. This type of topology is very expensive as there are many redundant
connections, thus it is not mostly used in computer networks. It is commonly
used in wireless
networks. Flooding or routing technique is used in mesh topology.
41
42
Tree Topology
Tree Topology integrates the characteristics of Star and Bus Topology. Earlier
we saw how in Physical Star network Topology, computers (nodes) are
connected by each other through central hub. And we also saw in Bus
Topology, work station devices are connected by the common cable called
Bus. After understanding these two network configurations, we can
understand tree topology better. In Tree Topology, the numbers of Star
networks are connected using Bus. This main cable seems like a main stem of
a tree, and other star networks as the branches. It is also called Expanded
Star Topology. Ethernet protocol is commonly used in this type of topology. The
diagram below will make it clear.
Tree Topology
Advantages of Tree Topology
43
Hybrid Topology
Before starting about Hybrid topology, we saw that a network topology is a
connection of various links and nodes, communicating with each other for
transfer of data. We also saw various advantages and disadvantages of Star,
Bus, Ring, Mesh and Tree topologies.
Now lets discuss what Hybrid Network topology is and why it finds its
application in Wide Area Networks. Hybrid, as the name suggests, is mixture
of two different things. Similarly in this type of topology we integrate two or
more different topologies to form a resultant topology which has good points
(as well as weaknesses) of all the constituent basic topologies rather than
having characteristics of one specific topology. This combination of topologies
is done according to the requirements of the organization.
For example, if there exists a ring topology in one office department while a
bus topology in another department, connecting these two will result in Hybrid
topology. Remember connecting two similar topologies cannot be termed as
Hybrid topology. Star-Ring and Star-Bus networks are most common examples
of hybrid network.
Let's see the benefits and drawbacks of this networking architecture
44
45
46
EXPERIMENT 6
CONFIGURATION
OF TCP/IP
PROTOCOLS IN
WINDOWS AND
LINUX
47
Configuration of TCP/IP
protocols in Windows XP
& Windows 7
For Windows XP
Step 1
Click Start->Control Panel->select and double click Network and internet
connections>select and double click Network Connections.
Step 2
Double-click the Local Area Connection icon; highlight Internet Protocol
(TCP/IP) tab in the
Local Area Connection Properties window that appears:
Step 3
Double click it or click Properties. The TCP/IP Properties window will display.
Step 4
Now you have two ways to configure the TCP/IP protocol below:
KSHITIJ GAUTAM CSE/14/109
48
1.
Assigned by DHCP Sever
Select Obtain an IP address automatically and Obtain DNS Server address
automatically, as shown in the figure below. These may be selected by
default. Then click OK to save setting.
2.
Assigned manually
1) Select Use the following IP address, as shown in the following figure.
If the routers LAN IP address is 192.168.1.1, please type in IP address
192.168.1.x x is from
2 to 253, subnet mask 255.255.255.0, and default gateway 192.168.1.1.
2) Select Use the following DNS server addresses, as shown in the following
figure. And then type the DNS server IP address, which should be provided by
your ISP. Finally remember to click OK to save settings.
Note: In most cases, type your local area DNS server IP addresses into it.
The Preferred DNS server is same to default gateway. For Secondary DNS
server, you could leave it blank or type in 8.8.8.8.
49
Step 5
Click OK to save and apply your settings.
For Windows Vista & Windows 7
Step 1
Click on windows key+ R key on the keyboard at the same time.
Step 2
Type ncpa.cpl in the box, then press OK.
50
Step 3
Select the local area connection, right click it and select Properties.
Step 4
Select Internet Protocol Version 4(TCP/IPv4), double click it or click Properties.
51
Step 5
There are two ways to configure the TCP/IP Properties, Assigned by DHCP
server
automatically or manually.
1. Assigned by DHCP server
Select Obtain an IP address automatically and Obtain DNS server address
automatically. If necessary, then click OK to save the settings.
52
2. Assigned manually
1) Select Use the following IP address, type IP address, subnet mask and
default gateway IP
address into it.
If the routers LAN IP address is 192.168.1.1, please type in IP address
192.168.1.x x is from
2 to 253, subnet mask 255.255.255.0, and default gateway 192.168.1.1.
2) Select Use the following DNS server addresses, as shown in the following
figure. And then type the DNS server IP address, which should be provided by
your ISP. If necessary, then click OK to save the settings.
Note: In most cases, type your local area DNS server IP addresses into it.
The Preferred DNS server is same to default gateway. For Secondary DNS
server, you could
leave it blank or type in 8.8.8.8.
53
Step 6
Click OK to save and apply your settings
Configuration of TCP/IP protocols in Linux:This article covers the main TCP/IP network configuration files used by Linux to
configure various network services of the system such as IP Address, Default
Gateway, Name servers - DNS, hostname and much more. Any Linux
Administrator must be well aware where these services are configured and to
use them. The good news is that most of the information provided on this
article apply's to Red hat Fedora, Enterprise Linux, Ubunto and other similar
Linux distributions.
On most Linux systems, you can access the TCP/IP connection details within 'X
Windows' from Applications > Others > Network Connections. The same may
also be reached through Application > System Settings > Network >
Configure. This opens up a window, which offers configuration of IP
parameters for wired, wireless, mobile broadband, VPN and DSL connections:
54
55
EXPERIMENT 7
IMPLEMENTATION
OF FILE AND
PRINTER SHARING
56
(If you do not have this screen, go to the Control Panel and selected
Network Connection.) You should have a screen similar to the following:
57
Select Local Area Connection and right click and select Properties.
In the next diagram File and Printer Sharing for Microsoft Networks has already
been installed, on your screen it should not be listed, if it is, it is already
installed. Now hit the Install button.
58
Now select Service form the list of component types and hit OK.
On the next screen select File and Printer Sharing for Microsoft Networks
and hit OK.
KSHITIJ GAUTAM CSE/14/109
59
File and Printer Sharing for Microsoft Networks should now be added to the
list. Hit Close to exit.
60
EXPERIMENT 8
INTRODUCTION
AND OVERVIEW
OF PACKET
TRACER AND ITS
IDE
61
Menu Bar:
62
Network Information:
63
Scenario Box:
Logical Workspace:
64
Clock:
Physical Workspace:
65
Simulation Mode:
66
67
EXPERIMENT 9
TO CONNECT
DIFFERENT
DEVICES AS IN A
STAR TYPE
NETWORK USING
A SWITCH AND
HUB
KSHITIJ GAUTAM CSE/14/109
68
Step 3:Connect these end devices with the Switch using Copper StraightThrough Fast-Ethernet cables.
69
Step 4: Assign IP addresses to all the end devices. (Class C IPs assigned
here)
Step 5: Send a simple ICMP packet using Add Simple PDU button from PC
8 to PC 4.
70
Step 7: While under the Simulation mode we can see the packet transfer
with our own controlled time.
71
EXPERIMENT 10
TO ESTABLISH A
NETWORK
CONNECTION
BETWEEN TWO OR
MORE ROUTERS
AND CONFIGURE
THEM
KSHITIJ GAUTAM CSE/14/109
72
Step 1: Place 3 routers in the Logical Workspace and connect them with
Copper Cross-Over cables as shown.
Step 2:Open the IOS Command Line Interface and configure each port of
every router.
The following steps are taken to configure both ports of the router:
73
Now, the Routers are configured completely and ping is 100% successful.
74
EXPERIMENT 11
TO ESTABLISH A
NETWORK
CONNECTION
BETWEEN TWO OR
MORE ROUTERS
AND END DEVICES
AND CONFIGURE
THEM USING RIP
KSHITIJ GAUTAM CSE/14/109
75
76
Step 3: Now, configure both Routers using IOS CLI for assigning them the
IP Addresses. The connections will become and the Ports will blink Green
as shown below.
Open cmd of any of the end device and ping the other end device.
The Ping would be 80% successful because the routers are not configured
with RIP command.
Step 4: Use the RIP(Routing Information Protocol) and configure the 2
routers by the following commands:
77
Step 5: Finally, Open cmd of any of the end device and ping the other end
device.
This time ping would be 100% successful.
78
79
***
80