Data Comm Lab
Data Comm Lab
COURSE
DEP50033: DATA COMMUNICATION AND NETWORKING.
CODE
1
TABLE OF CONTENTS
NO CONTENT
1.0 TITLE
2.0 OBJECTIVE
3.0 APPARATUS
4.0 THEORY
4.1 CLIENT SERVER NETWORKS
4.2 INTRODUCTION TO PEER TO PEER NETWORKS
4.3 SWITCH AND HUB
4.4 PACKET TRACER SOFTWARE
5.0 PROCEDURE
6.0 RESULTS
7.0 DISCUSSION
8.0 CONCLUSION
9.0 REFERENCE
2
1.0 TITLE: COMPUTER NETWORK FUNDAMENTAL USING PACKET TRACER
SOFTWARE.
2.0 OBJECTIVE:
i. Understand Client/server and P2P network setup and device.
ii. Identify the type of cables, computer setting and IP setting for each network.
iii. Construct a networks using appropraite apparatus in the software.
iv. To test the ability if the network to share and send data.
v. Measure and compare the RTT (Round Trip Time) using PING Utility Test.
vi. Describe the correlation between type, behaviour and abilities of each networks.
3.0 APPARATUS:
i. Desktop
3
4.0 THEORY
In the world of computers, networking is the practice of linking two or more computing devices
together for the purpose of sharing data. Networks are built with a mix of computer hardware
and computer software. Area Networks Networks can be categorized in several different ways.
One approach defines the type of network according to the geographic area it spans. Local area
networks (LANs), for example, typically reach across a single home, whereas wide area
networks (WANs), reach across cities, states, or even across the world. The Internet is the
world's largest public WAN. Network Design Computer networks also differ in their design.
The two types of high-level network design are called client-server and peer-to-peer. Client-
server networks feature centralized server computers that store email, Web pages, files and or
applications. On a peer-to-peer network, conversely, all computers tend to support the same
functions. Client-server networks are much more common in business and peer-to-peer
networks much more common in homes. A network topology represents its layout or structure
from the point of view of data flow. In so-called bus networks, for example, all of the computers
share and communicate across one common conduit, whereas in a star network, all data flows
through one centralized device. Common types of network topologies include bus, star, ring
and mesh. Network Protocols In networking, the communication language used by computer
devices is called the protocol. Yet another way to classify computer networks is by the set of
protocols they support. Networks often implement multiple protocols to support specific
applications. Popular protocols include TCP/IP, the most common protocol found on the
Internet and in home networks. Wired vs Wireless Networking Many of the same network
protocols, like TCP/IP, work in both wired and wireless networks. Networks with Ethernet
cables predominated in businesses, schools, and homes for several decades. Recently, however,
wireless networking alternatives have emerged as the premier technology for building new
computer networks.
4
screen display, while a Web server does not need any display at all and can be located anywhere
in the world. However, in some cases a given device can function both as a client and a server
for the same application. Likewise, a device that is a server for one application can
simultaneously act as a client to other servers, for different applications. [Some of the most
popular applications on the Internet follow the client-server model including email, FTP and
Web services. Each of these clients features a user interface (either graphic- or text-based) and
a client application that allows the user to connect to servers. In the case of email and FTP,
users enter a computer name (or sometimes an IP address) into the interface to set up
connections to the server. Local Client-Server Networks Many home networks utilize client-
server systems without even realizing it. Broadband routers, for example, contain DHCP
servers that provide IP addresses to the home computers (DHCP clients). Other types of
network servers found in home include print servers and backup servers. Client-Server vs Peer-
to-Peer and Other Models The client-server model was originally developed to allow more
users to share access to database applications. Compared to the mainframe approach, client-
server offers improved scalability because connections can be made as needed rather than being
fixed. The clientserver model also supports modular applications that can make the job of
creating software easier. In so-called "two-tier" and "three-tier" types of client-server systems,
software applications are separated into modular pieces, and each piece is installed on clients
or servers specialized for that subsystem. Client-server is just one approach to managing
network applications The primary alternative, peer-to-peer networking, models all devices as
having equivalent capability rather than specialized client or server roles. Compared to client-
server, peer to peer networks offer some advantages such as more flexibility in growing the
system to handle large number of clients. Client-server networks generally offer advantages in
keeping data secure.
5
and other resources across all the devices. Peer networks allow data to be shared easily in both
directions, whether for downloads to your computer or uploads from your computer. On the Internet,
peer to peer networks handle a very high volume of file sharing traffic by distributing the load across
many computers. Because they do not rely exclusively on central servers, P2P networks both scales
better and are more resilient than client-server networks in case of failures or traffic bottlenecks [1].
6
Switch and Hub actually has the same function, because by using one of which we still can
make the Network Computer, but the use of switches will be faster than a network hub,
especially if we have a very large[2].
7
5.0 PROCEDURE:
Lab: Build a simple LAN using Switch/Hub
1. In the previous lab we have been able to add devices PC (personal computer). Now we add
3 PCs.
Figure 3: Switch-PT
Figure 4: Hub-PT
8
Figure 5: Component are assembled
9
4. Each different IP address was assigned to each PC respectively.
10
Figure 9: IP address (198.168.2.3) of PC2
5. The connection was tested by adding a “a simple PDU” tool in the right side of the worksheets.
11
6.0 RESULTS:
12
7.0 DISCUSSION:
In this lab, we learn we build a simple LAN using switch and hub. A LAN connects computers
over a relatively short distance, allowing them to share data, files, and resources. A network
switch (also called switching hub, bridging hub, officially MAC bridge) is networking
hardware that connects devices on a computer network by using packet switching to receive
and forward data to the destination device.
A network switch is a multiport network bridge that uses MAC addresses to forward data at
the data link layer (layer 2) of the OSI model. Some switches can also forward data at the
network layer (layer 3) by additionally incorporating routing functionality. Such switches are
commonly known as layer-3 switches or multilayer switches.
First of all, we added switch in the worksheet. A switch is a device that connects other devices
and manages node-to-node communication within a network, ensuring data packets reach their
ultimate destination. While a router sends information between networks, a switch sends
information between nodes in a single network. Then we addded a hub into the worksheet. Hub
is a common connection point for devices in a network. A hub contains multiple ports. When
a packet arrives at one port, it is copied to the other ports so that all segments of the LAN can
see all packets. Then, we added three computer icons at worksheet. Auto connections was
clicked to give connections between PC0, PC1 and PC2. Each PC0, PC1 and PC2 was assigned
IP addresses as following:
PC0
IP address: 192.168.2.1
PC1
IP address: 192.168.2.2
PC2
IP address: 192.1682.3
Other than that, the connection was tested by adding a “simple PDU” tool in the right side of
the worksheets. In telecommunications, a protocol data unit (PDU) is a single unit of
information transmitted among peer entities of a computer network. A PDU is composed of
protocol specific control information and user data. In the layered architectures of
communication protocol stacks, each layer implements protocols tailored to the specific type
or mode of data exchange. The connections were made from PC0 to PC1, PC0 to PC2 and PC1
to PC2. We observed traffic moving through the network. Click the Auto Capture / Play button
and watch the traffic move through the network and notice the PDUs populating the Simulation
Panel Event List. Click the Auto Capture / Play button again to stop the simulation. The
connection was successful, and a message appeared at the lower right corner of the software.
The results were recorded.
13
8.0 CONCLUSION:
At end of this lab, I have learn to construct a LAN and WLAN and related data
communication and networking equipment systematically in doing data transmission. We
also tested the ability if the network to share and send data. We also measured and compare
the RTT (Round Trip Time) using PING Utility Test. RTT is typically measured using a ping
— a command-line tool that bounces a request off a server and calculates the time taken to
reach a user device. There are some factors which influence RTT. For eaxmple, Distance.
The length a signal has to travel correlates with the time taken for a request to reach a server
and a response to reach a browser. Next, transmission medium, is the medium used to route a
signal. Example, copper wire, fiber optic cables. This can impact how quickly a request is
received by a server and routed back to a user. Finally, we described the correlation between
type, behaviour and abilities of each networks.
9.0 REFERENCE:
[1] https://www.scribd.com/doc/38212875/Fundamental-Computer-Networks-Concepts
[2] http://computer-unu.blogspot.com/2012/01/build-lan-with-switch-hub-packet-tracer.html
[3] https://en.wikipedia.org/wiki/Packet_Tracer
[4] https://en.wikipedia.org/wiki/Network_switch
[5] https://en.wikipedia.org/wiki/Protocol_data_unit
[6] https://static-course-
assets.s3.amazonaws.com/I2PT/en/course/files/3.1.1.3%20Packet%20Tracer%20-
%20Explore%20Network%20Functionality%20Using%20PDUs.pdf
[7] https://www.imperva.com/learn/performance/round-trip-time-rtt/
14