computer networks notes 3
computer networks notes 3
1.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1-1 DATA COMMUNICATIONS
The term telecommunication means communication at a
distance. The word data refers to information presented
in whatever form is agreed upon by the parties creating
and using the data. Data communications are the
exchange of data between two devices via some form of
transmission medium such as a wire cable.
1.2
Fundamental Characteristics
■ Delivery: Data must be received by intended
device, correct destination
■ Accuracy: No alterations in data during
transmission
■ Timeliness: minimal delay, real time
transmission
■ Jitter: It refers to variation in packet arrival
time. It is uneven delay in the delivery of audio
or video packets
1.3
Figure 1.1 Components of a data communication system
Without using protocol, two devices might be connected but not communicating, just
like someone speaking French might not be understood by someone speaking
Japanese.
1.4
Data Formats
Unidirectional communication
Examples: Keyboards, traditional monitors
Each station can transmit and receive but not at the same time
Ex. Walkie Talkies, Citizen Band Radios
■ Performance
■ Depends on Network Elements (number of users, h/w, s/w, medium)
■ Trasmit Time: amount of time for a message to travel from one
device to another
■ Response time: elapsed time between enquiry and response
■ Measured in terms of Delay and Throughput
■ Reliability
■ Failure rate of network components, time it takes a link to recover
from failure
■ Measured in terms of availability/robustness
■ Security
■ Data protection against corruption/loss of data due to:
■ Errors, Malicious users, data breaches, losses
1.8
Physical Structures
■ Type of Connection
■ Point to Point - single transmitter and
receiver, dedicated link between devices,
microwave, satellite links, remote control
1.9
Figure 1.3 Types of connections: point-to-point and multipoint
1.10
Physical Topology-
1.11
Figure 1.4 Categories of topology
1.12
Figure 1.5 A fully connected mesh topology (five devices)
Disadvantages:
• Amount of cabling and I/O ports required
• Installation & reconnection difficult
• Limited usage
• Expensive hardware
1.13
Figure 1.6 A star topology connecting four stations
Disadvantages:
If hub goes down, entire system fails
Uses:
In LAN, High Speed LANs
1.14
Figure 1.7 A bus topology connecting three stations
• Multipoint connections
• A long cable act as backbone to connect all devices
• Drop lines and taps to connect nodes with backbone
• Tap splices into the main cable and creates contact with the metallic core
• Signal travels in the backbone and becomes weaker as it goes farther & farther.
• There is limit on the number of taps that can be supported
• Easy installation, Less cabling required than mesh & star
• Difficult reconnection and fault isolation
• Signal reflection at taps degrade signal quality
• Fault in the bus spots the entire transmission
• Uses: in early LANs, Ethernet LANs
1.15
Figure 1.8 A ring topology connecting six stations
1.16
Figure 1.9 A hybrid topology: a star backbone with three bus networks
1.17
Categories of Networks
1.18
Figure 1.10 An isolated LAN connecting 12 computers to a hub in a closet
1.19
Figure 1.11 WANs: a switched WAN and a point-to-point WAN
1.20
Figure 1.12 A heterogeneous network made of four WANs and two LANs
1.21
1-4 PROTOCOLS
1.22
Elements of a Protocol
■ Syntax
■ Structure or format of the data
■ Indicates how to read the bits - field delineation
■ Semantics
■ Interprets the meaning of the bits
■ Knows which fields define what action
■ Timing
■ When data should be sent and what
■ Speed at which data should be sent or speed at which it is being
received.
1.23
2-2 THE OSI MODEL
Established in 1947, the International Standards
Organization (ISO) is a multinational body
dedicated to worldwide agreement on
international standards. An ISO standard that
covers all aspects of network communications is
the Open Systems Interconnection (OSI) model. It
was first introduced in the late 1970s.
2.24
Note
2.25
Figure 2.2 Seven layers of the OSI model
2.26
Figure 2.3 The interaction between layers in the OSI model
2.27
Figure 2.4 An exchange using the OSI model
2.28
2-3 LAYERS IN THE OSI MODEL
2.29
Figure 2.5 Physical layer
2.30
Figure 2.6 Data link layer
2.31
Figure 2.7 Hop-to-hop delivery
2.32
Figure 2.8 Network layer
2.33
Figure 2.9 Source-to-destination delivery
2.34
Figure 2.10 Transport layer
2.35
Note
2.36
Figure 2.11 Reliable process-to-process delivery of a message
2.37
Figure 2.12 Session layer
2.38
Note
2.39
Figure 2.13 Presentation layer
2.40
Note
2.41
Figure 2.14 Application layer
2.42
Note
2.43
Figure 2.15 Summary of layers
2.44
The TCP/IP Reference Model
2.47
Full Forms: TCP/IP and OSI model
2.48
Multiplexing and
Demultiplexing
2.49
2-5 ADDRESSING
Four levels of addresses are used in an internet
employing the TCP/IP protocols: physical, logical,
port, and specific.
2.50
Figure 2.17 Addresses in TCP/IP
2.51
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.52
Example 2.2
07:01:02:01:2C:4B
2.53
Example 2.3
2.55
Example 2.4
2.56
Figure 2.21 Port addresses
2.57
Note
2.58
Example 2.5
753
2.59
Note
2.60