Lec 3 To 5
Lec 3 To 5
Components
Figure 1.1 Five components of data communication
5
1
2 3
4
1.2
Data Representation
1. Text
2. Numbers
3. Images
4. Audio
5. Video
Data flow
Simplex
Half-duplex
Full-duplex
1.3
1-2 NETWORKS
1.4
Types of connections
Point to point
A dedicated link is provided
between two devices
Multipoint
More than two specific devices
share a single link
1.5
Physical Topology
Tree
1.6
MESH Topology
Every device has a dedicated point-to-
point link to every other devices
Dedicated
Link carries traffic only between the two
devices it connects
A fully connected mesh network has n(n-
1)/2 physical channels to link n devices
Every device on the network must have
n-1 input/output (I/O) ports
Advantage
Less traffic, robust, secure, easy to
maintain
Disadvantage
Need more resource (cable and ports), n(n-1)/2 physical duplex links
expensive
1.7
STAR Topology
Each device has a dedicated point-to-point link only to a central controller,
usually called a hub.
No direct traffic and link between devices
Advantages
Less expensive
Easy to install and reconfigure
Robustness
Disadvantage
Single point of failure
1.8
BUS Topology
A multipoint topology
All devices are linked through a backbone cable
Nodes are connected to the bus cable by drop lines and taps.
Drop line
Tap
A connector that either splices into the main cable or punctures the sheathing of
Disadvantages:
Difficult reconnection and fault isolation
1.9
RING Topology
Each device is dedicated point-to-point connection only with the two devices on either
side of it
A signal is passed along the ring in the direction, from device to device, until it reaches
its destination
Each device in the ring incorporates a repeater
Advantages
Relatively easy to install and reconfigure
Fault isolation is simplified
Disadvantage
Unidirectional traffic
1.10
Tree Topology
Tree topologies integrate multiple topologies together
Advantages:
Point-to-point wiring for individual segments.
Supported by several hardware and software venders.
Disadvantages:
Overall length of each segment is limited by the type of cabling used.
If the backbone line breaks, the entire segment goes down.
More difficult to configure and wire than other topologies.
1.11
A hybrid topology: a star backbone with three bus networks
1.12
Categories of Networks
1. Local Area Network (LAN)
2. Wireless Local Area Network (WLAN)
3. Metropolitan Area Network (MAN)
4. Wide Area Network (WAN)
An isolated LAN connecting 12 computers to a hub in a closet
1.13
WANs: a switched WAN and a point-to-point WAN
1.14
Interconnection of Networks: internet
A heterogeneous network made of four WANs and two LANs
1.15
1-3 THE INTERNET
1.16
Hierarchical organization of the Internet
1.17
1-4 PROTOCOLS AND STANDARDS
1.18
PROTOCOLS AND STANDARDS
Protocols
•Syntax → format of the data
•Semantics → meaning of each section
•Timing → when data should be sent and how fast.
Standards
•De facto → by fact (not approved as a standard)
•De jure → by Law (approved)
1.19
PROTOCOLS AND STANDARDS
Standards Organizations
• International Organization for Standardization (ISO)
• International Telecommunication Union - Telecommunication
Standards (ITU-T)
• American National Standards Institute (ANSI)
• Institute of Electrical and Electronics Engineers (IEEE)
• Electronic Industries Association (EIA)
1.20
Network Models
OSI Model
1.21
1-5 LAYERED TASKS
Protocol:
A set of rules that governs data communication
It represents an agreement between the communicating
devices
1.22
Tasks involved in sending a letter
1.24
ISO is the organization.
OSI is the model.
1.25
Layered Architecture
Layers
Seven layers of the OSI model
Layer 7. Application
Layer 6. Presentation
Layer 5. Session
Receiver
Layer 4. Transport
Sender
Layer 3. Network
1.26
Layered Architecture
A layered model
Each layer performs a subset of the required
communication functions
Each layer relies on the next lower layer to
perform more primitive functions
Each layer provides services to the next higher
layer
Changes in one layer should not require changes
in other layers
The processes on each machine at a given layer
are called peer-to-peer process
1.27
PEER – TO – PEER PROCESS
1.28
PEER – TO – PEER PROCESS
1.29
The interaction between layers in the OSI model
1.30
An exchange using the OSI model
1.31
LAYERS IN THE OSI MODEL
1.32
Physical Layer
Function
Physical characteristics of interfaces and media
Representation of bits
Data rate
Synchronization of bits
Line configuration (point-to-point or multipoint)
Physical topology (mesh, star, ring or bus)
Transmission mode ( simplex, half-duplex or duplex)
1.33
Physical layer
1.34
Data Link Layer
1.35
Data link layer
1.36
Hop-to-hop delivery
1.37
Example 1
1.38
Network Layer
1.39
Network layer
1.40
Source-to-destination delivery
1.41
Example 2
1.42
Transport Layer
1.43
Transport layer
1.44
Reliable process-to-process delivery of a message
1.45
Example 3
1.46
Session Layer
1.47
Session layer
1.48
Presentation Layer
1.49
Presentation layer
1.50
Application Layer
Functions
Network virtual terminal (Remote log-in)
Mail services
1.51
Application layer
1.52
Summary of layers
1.53
Summary of layers
OSI Model
Data
Layer Function
unit
Receiver
User
Segment 4. Transport End-to-end connections and reliability
Network
Path determination and logical
Packet 3. Network
Network addressing
support Frame 2. Data Link Physical addressing
layers
Bit 1. Physical Media, signal and binary transmission
1.54
Network Models
TCP/IP Model
1.55
1-5.2 TCP/IP PROTOCOL SUITE
TCP/IP Model
OSI Model
1.57
Internet Layer
1.58
Transport Layer
Process-to-process protocol.
• User Datagram Protocol (UDP)
• Transmission Control Protocol (TCP)
• Stream Control Transmission Protocol (SCTP)
1.59
1-6 ADDRESSING
1.60
Addresses in TCP/IP
1.61
Relationship of layers and addresses in TCP/IP
1.62
Physical Address
Example:
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical
address.
1.63
Physical Address
1.64
Logical Address
1.65
Port addresses
1.66
Port addresses
1.67