TSN 2201 Computer Networks: Lecture 01-Introduction
TSN 2201 Computer Networks: Lecture 01-Introduction
TSN 2201 Computer Networks: Lecture 01-Introduction
LECTURE 01-INTRODUCTION
1
Textbook
B.A.Forouzan, “Data Communications and Networking” Fifth
Edition, McGraw-Hill, 2013
2
REFERENCE BOOKS
William Stallings, “Data and Computer
Communications”, 10th edition, Prentice Hall.
2014
Kevin R. Fall, and W. Richard Stevens, “TCP/IP
Illustrated, Volume 1: The Protocol”, 2nd Edition,
Addison-Wesley, 2012
3
1.1 DATA COMMUNICATIONS
• When we communicate, we are sharing information. The
sharing can be local or remote.
• The term telecommunication, which includes telephony,
telegraphy and television means communication at a
distance (tele is Greek for far).
• Data: Information presented in whatever form agreed
upon by the parties creating and using the data.
• Data communications: Exchange of data between two
devices via some form of transmission medium (such as a
wire cable).
• For the data transmission to occur, the communicating
devices must be part of a communication system made up
of a combination of hardware and software.
4
• The effectiveness of a data communications system
depends on three fundamental characteristics:
5
Components
• A data communications system has 5 components.
• Message: Information (data) to be communicated such as text,
numbers, pictures, sound, video or any combination thereof.
• Sender: device that sends the message. It can be a computer,
telephone handset, video camera, etc.
• Receiver: device that receives the message.
• Transmission Medium: The physical path by which a message
travels from sender to receiver. It could be a cable (twisted pair,
coaxial or fiber-optic) or radio waves (terrestrial or satellite
microwave).
• Protocol: Set of rules that govern data communications. It
represents an agreement between the communicating devices.
6
Figure 1.1 Five components of data communication
7
Data Flow Types
8
• Direction of Data Flow
• Simplex: Only one of the two devices on a link can transmit, the
other can only receive (Fig. 1.2). The entire capacity of a
channel is taken over by the transmitting device. Examples:
keyboard and traditional monitors.
9
Half-Duplex: Each device can both transmit and
receive, but not at the same time. When one device
is sending, the other can only receive, and vice
versa (see Fig. 1.3). The entire capacity of the
channel is taken over by one of two devices that is
transmitting at that time. Example Walkie-talkies
10
Full-Duplex (Duplex): Both devices can transmit
and receive simultaneously . Signals going in
either direction share the capacity of the link.
Either the link must contain two physically
separate transmission paths, one for sending and
the other for receiving; or the capacity of the
channel is divided between signals traveling in
both directions. Example: Telephone network
11
1.2 NETWORKS
• A network is a set of devices (nodes) connected by communication
links. A node can be a computer, printer or any other device
capable of sending and/or receiving data generated from any other
node in the network.
• Distributed processing: A task is divided among multiple
computers.
• Network criteria:
A network must be able to meet certain number of criteria. The
most important are Performance, Reliability and Security
12
Network Criteria
Performance: can be measured by transit time and
response time. Transit time is the amount of time
required for a message to travel from one device to
another. Response time is the elapsed time between
an inquiry and a response. The performance of a
network depends on the number of users, the type of
transmission medium, the capacities of the connected
hardware and the efficiency of the software.
Reliability: is measured by the frequency of failures,
the time it takes a link to recover from failure and the
network robustness in a catastrophe.
Security: Protecting data from unauthorized access.
13
Physical structures of Networks:
14
• There are two possible types of connections: point-
to-point and multipoint.
• Point-to-Point: Provides a dedicated link between
two devices. The entire capacity of the link is
reserved for transmission between these two
devices. The link could be a wire (cable), microwave
or satellite. See Fig.1.5
15
Multipoint connection
Multipoint (Multidrop): More than two specific
devices share a single link. The capacity of the
channel is shared, either spatially (devices can use
the link simultaneously) or temporally (devices
must take turn). See Fig.1.6.
16
Physical Topology: 4 basic topologies possible: mesh, star, bus
and ring
18
• Star Topology: Each device has a dedicated point-to-point
link only to a central controller (hub). The hub acts as an
exchange between nodes.
• Advantages:
• Less expensive than mesh topology. Each device needs only
one link and one I/O.
• Easy to install and reconfigure.
• Far less cabling needs to be housed compared with mesh
topology and additions, moves and deletions involve only
the connection between a node and the hub.
• Robustness.
• Easy fault identification and fault isolation.
19
Star topology
20
• Bus topology : Is a multipoint connection. One long cable acts as
a backbone to link all devices in a network. Nodes are connected
to the cable by drop lines and taps. As the signal travels along the
backbone, some of its energy is transformed to heat and thus is
weakened. As such there is a limit on the number of taps a bus
topology can support and on the distance between those taps.
• Advantages:
• Ease of installation
• Less cabling than mesh or star topology
• Disadvantages:
• Difficult to add devices
• Signal reflection in taps can cause degradation in quality
• A fault or break in the bus cable stops all transmission
21
Bus topology
22
• Ring: 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 to device,
until it reaches its destination. Each device in the ring
incorporates a repeater. When a device receives a signal
intended for another device, its repeater regenerates the bits
and passes them along.
• Advantages:
• Easy to install and reconfigure. The only constraints are
media and traffic consideration (maximum ring length and
number of devices).
• Fault isolation is simplified.
• Disadvantages : In a simple ring (unidirectional), a disabled
station can disable an entire network. This can be solved by
using a dual ring or a switch capable of closing off the break.
23
Ring topology
24
Hybrid: Star of busses
25
• Categories of Networks
• A category of a network is determined by its size, its
ownership, the distance it covers, and its physical
architecture .There are three categories of Networks: Local
Area Network (LAN), Metropolitan-Area Network
(MAN), Wide Area Network (WAN)
• Local Area Network (LAN): Usually privately owned and
links the devices in a single office, building or campus. In
General LANs use only one type of transmission medium.
The most common LAN topologies are bus, ring and star.
• Metropolitan-Area Network (MAN): Designed to extend
over an entire city. It may be a single network or it may be a
means of connecting a number of LANs into a larger
network.
26
• Wide Area Network (WAN): Provides long-distance
transmission of data, voice, image and video information over
large geographic areas that may comprise a country, a continent
or even the whole world. A WAN that is wholly owned and used
by a single company is often referred to as an enterprise
network.
• When two or more networks are connected they become an
internetwork or Internet.
• Internet (note: Capital ‘I’): refers to a global internet (world
wide web) that uses the TCP/IP protocol suite
27
LAN
28
LAN (Continued)
29
MAN
30
WAN
31
The Internet:
Huge number of interconnected Networks
(>100000‟s) private
organized, e.g.‟ government, schools, research
facilities, in many countries
Collection of LAN‟S, MAN‟S and WAN‟s.
•The internet protocol stack is the TCP/IP
•End users use the internet via Internet Service
providers (ISPs) which are of the following
hierarchies:
32
31
PROTOCOLS AND STANDARDS
• A protocol is a set of rules that govern data
communication. It defines what, how and when
something is communicated. The key elements of a
protocol are as follows:
• Syntax: structure or format of the data (order in
which they are presented)
• Semantics: Meaning of each portion of bits
• Timing: When and how fast data should be sent.
34
Standards provide guidelines to manufacturers,
vendors, government agencies and other providers
to ensure the kind of interconnectivity necessary
in today’s market place and in international
communication. There are two types of standards:
De facto: Standards that have not been approved
35
• Standards are developed through the cooperation of
standards creation committees, forums, and government
regulatory agencies called
“Standards Creation Committees”
Examples:
• International Organization for Standardization (ISO)
• American National Standards Institute (ANSI)
• Institute of Electrical and Electronics Engineers (IEEE)
36
Network Models
PROTOCOL LAYERING
Logical
connections
07:01:02:01:2C:4B
443