Overview of Overview of Data Communications Data Communications and and Networking Networking
Overview of Overview of Data Communications Data Communications and and Networking Networking
PART I
Overview of
Data Communications
and
Networking
Dr.Gihan Naguib Behrouz A. Forouzan” Data communications and Networking 1
Overview
1
23/10/31
Chapters
Chapter 1 Introduction
Chapter 1
Introduction
2
23/10/31
Communication:
sharing information. Sharing can be local (face to face) or
remote (over distance)
Tele communication:
(telephone, television, telegraphy) means communication at a
distance remote communication. (tele: far)
Data communication:
exchange of data between two devices via transmission medium
(wire cable)
Communicating devices
made up of : H.W( physical equipments )and S.W
•Delivery :
System must deliver data to correct destination. Data must be
received by only intended device or user.
•Accuracy:
The system must deliver data accurately
•Timeliness:
the system must deliver data in a timely manner. Data
delivered later are useless.
•Jitter:
Variation in the packet arrival time. It is the uneven delay in the
delivery of audio or video packets.
3
23/10/31
•Components
•Data Representation
Components
4
23/10/31
Data representation
1. Simplex:
communication is unidirectional. (one-way-street). Only one of the
two devices on a link can transmit; the other can only receive
5
23/10/31
2. Half duplex:
Each station can both transmit and receive , but not at the same time.
When one device is sending the other can receive and vice versa. one-
lane road with two direction).
3. Full-Duplex:
Both stations can transmit and receive simultaneously. ( telephone network)
Like two way street with traffic flowing in both directions at the same time.
Signals going in either direction share the capacity of the link in two
ways:
Either the link must contain two physically separate transmission paths one
for sending and other for receiving.
6
23/10/31
1.2 Networks
Network
is a set of devices (often referred to as nodes
nodes)) connected
by communication links.
A node can be a computer, printer, or any other device
capable of sending and/or receiving data generated by
other nodes on the network.
Distributed Processing
Most network uses distributed processing , in which a task is
divided among multiple computers. Instead of a single
machine responsible for all aspects of a process, separate
computers handle a subset.
1.2 Networks
Network Criteria
Performance,
Reliability and
security
Physical Structures
Type of connection
physical topology
Categories of Networks
(LAN, MAN and WAN)
7
23/10/31
Network criteria
1. Performance:
The performance depends on :
1. Number of user
2.Type of transmission media,
3.Capabilities of connected H.W and the efficiency of software.
2. Reliability
Measured by frequency of failure, the time it takes to recover from
failure, and network’s robustness in a catastrophe.
1. Point –to-point
Dedicated link between two devices. Most of them uses an actual length of wire
or cable to connect the two ends but other options ,such as microwave satellite are
possible.
8
23/10/31
9
23/10/31
Every device on the network must have n-1 input/output (I/O) ports
Mesh topology
Advantages:
Privacy or security (every message travels along a dedicated
line, only the intended recipient sees it. Physical boundaries prevents
other user from gaining access the message
eliminating the traffic problems The use of dedicated links
guarantees that each connection can carry its own data load; that can
occur when links must be shared by multiple devices.
A mesh is robust. If one link becomes unusable, it does not
incapacitate the entire system.
Fault identification and fault isolation easy. This enables
the network manager to discover the precise location of fault and aids
in finding its cause and solution.
10
23/10/31
Mesh topology
Disadvantages
Related to the amount of cabling devices and the amount of I/O ports
required:
Every device must be connected to every other device, installation
and reconnection are difficult
The sheer bulk of the wiring can be greater than the available space can
accommodate.
The H.W required to connect each link (I/O ports and cable) expensive.
So a mesh topology is usually implemented in a limited fashion( as a
backbone connecting the main computers of a hybrid network that can
include several other topology
Star topology
11
23/10/31
Star topology
Advantages
1. Easy to install and reconfigure and less expensive
• each device need only one link and I/O port to connect it
to any other devices.)
2. Robustness:
• if one link fails, only that link affected and other links
remain active.
Star topology
Disadvantages
12
23/10/31
Not every device plugs directly into the central hub. The majority of devices connect
to secondary hub that in turn is connected to the central hub
Bus topology
There is a limit on the number of taps a bus can support and on the
distance between those taps
13
23/10/31
Bus topology
Advantages
Easy of insulation, use less cabling than mesh or star
Disadvantages
Include difficult of reconnection and fault isolation
1. Fault
A fault in bus cable (break) stops all transmissions
even between devices on the same side of the problem. The
damaged area reflects signals back the direction of origin, creating
noise in both directions
2. Reconnection
It can difficult to add new devices (adding more require
modification or replacement of the backbone).
14
23/10/31
Ring topology
•Each device has a dedicated point-to-point connection only
with the two devices on either side of it
•A signal is passed along the ring in one direction from device
until it reaches its destination.
•Each device in the ring incorporate as repeater
Repeater Repeater
Repeater Repeater
Repeater
15
23/10/31
Ring topology
Advantages:
Easy to install and reconfigure.
Each device is linked only to its immediate neighbors. To add or delete a
device requires hanging only 2 connections
16
23/10/31
Networks categories
Network category is determined by its size, ownership,
the distance it cover and its physical architecture.
17
23/10/31
LAN
Privately owned and links the devices in a single office, building or campus
LANs designed to allow resources to be shared between PCs or workstations.
The resources may be H.W (e.g. printer) or S.W( applications program) or
data.
In LANs one of the computers has a large capacity drive and becomes a server
to other clients.
S/W stored on server and used as needed by the whole group.
The most common LAN topologies are bus, ring and star.
Traditionally LAN have data rates in the 4 to 16 Mbps. Today Speed can reach
to 100Mbps or 1000MBps(1G).
18
23/10/31
MAN (metropolitan)
Examples:
• Company can use MAN to connect the LANs in all its
offices throughout the city.
•A part of the telephone line network that can provide
DSL line to the customer
MAN
19
23/10/31
WAN
Ex: a dial-up line that connects a home computer or a small LAN to ISP to
Internet access
20
23/10/31
An internet (small i) is two or more networks that can communicate with each other.
The Internet
Internet is a collaboration of more than 100 of 1000
interconnected network.
Brief History
In mid of 1960.:
The Advanced Research Projects Agency (ARPA) in the
department of defense was interested in finding a way to
connect computers so that the researchers they funded could
share their findings, to reduce costs and eliminating
duplication of effort.
21
23/10/31
Brief history
1n1967
ARPA presented its ideas for ARPANET, small network of connected
computers (mainframe).
1n 1969,
ARPANET was reality. Four nodes at the UNV. Of California,(at los
angles and Santa Barba), univ. of utah and SRI (Stand ford Research
Institute connected via IMPs computers to form a network.
Software called Network Control Protocol (NCP) provided
communication between the hosts.
Brief history
1n 1972,
Protocol to achieve end -to-end delivery of packets, Transmission
Control Protocol (TCP).
Authorities made decision to split TCP into two protocols:
IP: Internetworking protocol to handle datagram routing and
TCP: responsible for higher-level-functions such as error
detection, segmentation and reassembly.
Internet today
Made up of many wide and local area networks joined by connecting
devices and switching stations. Today most end users use the services
of internet service providers (ISPs).
22
23/10/31
Protocols
Standards
Standards Organization
Protocols
Set of rules that governs data communications.
Protocol defines :
•What is communicated?
•How it communicated?
•When it is communicated?
•Key elements of a protocol: Syntax, semantics and timing
•Syntax:
•Structure or format of the data, meaning the order in which they
are presented.
Example:
A simple protocol might expect the first byte of data to be the
address of the sender, the second byte to be the address of the
receiver and the reset of the stream to be the message itself.
Dr.Gihan Naguib Behrouz A. Forouzan” Data communications and Networking 46
23
23/10/31
Protocols
Semantics:
•Refers to the meaning of each section of bits.
• Example:
does an address identify the route to be taken or the final
destination of the message.
•Timing:
•When data to should be sent?
•How fast they can be sent?
Example:
If a sender produces data at 100Mpbs but the receiver can
process data at only 1Mpbs, transmission will overload the
receiver and data will be largely lost.
Dr.Gihan Naguib Behrouz A. Forouzan” Data communications and Networking 47
Standers
2. De jure:
officially recognized body.
24
23/10/31
Standers Organization
Standers Organization
3. American National Standards Institute (ANSI)
completely private, nonprofit corporation
25