Data Communication & Networking Summary
Data Communication & Networking Summary
Summary
2.3
1-1 LAYERED TASKS
1.4
Figure 1.1 Tasks involved in sending a letter
1.5
1-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.
1.6
OSI Model
1.9
OSI Model
1.11
Figure 1.3 The interaction between layers in the OSI model
1.12
Figure 1.4 An exchange using the OSI model
1.13
1-3 LAYERS IN THE OSI MODEL
1.14
Figure 1.5 Physical layer
1.15
Physical Layer Responsibilities
1.16
OSI Model
Physical Layer
Provides physical interface for transmission of
information.
1.18
Figure 1.6 Data link layer
1.19
Data Link Layer Responsibilities
Defines frames into manageable data
units
Physical addressing
Flow control
Error control
Access control
1.20
OSI Model
1.22
Figure 1.7 Hop-to-hop delivery
1.23
Figure 1.8 Network layer
1.24
Network Layer Responsibilities
If the two systems are attached to different
networks with connecting devices between
the networks, there is often a need for the
network layer
Source-to-destination delivery, possibly across
multiple networks
Logical addressing
Routing
1.25
OSI Model
Network Layer
Implements routing of frames (packets) through
the network.
1.27
Figure 1.9 Source-to-destination delivery
1.28
Figure 1.10 Transport layer
1.29
Transport Layer Responsibilities
Process-to-process delivery of entire
message
Port addressing
Segmentation and reassembly
Connection control: connectionless or
connection-oriented
End-to-end flow control
End-to-end error control
1.30
OSI Model
Transport Layer
Purpose of this layer is to provide a reliable
mechanism for the exchange of data between two
processes in different computers.
1.32
Figure 1.11 Reliable process-to-process delivery of a message
1.33
Example 1
Figure 1.14 shows an example of transport layer
communication. Data coming from the upper layers
have port addresses j and k (j is the address of the
sending process, and k is the address of the receiving
process). Since the data size is larger than the network
layer can handle, the data are split into two packets,
each packet retaining the port addresses (j and k). Then
in the network layer, network addresses (A and P) are
added to each packet.
1.34
Figure 2.14 Example 3
1.35
Figure 1.12 Session layer
1.36
Session Layer Responsibilities
Dialog Control
Session
Synchronization
1.37
OSI Model
Session Layer
Session layer provides mechanism for controlling the
dialogue between the two end systems. It defines
how to start, control and end conversations (called
sessions) between applications.
This layer requests for a logical connection to be
established on an end-user’s request.
Any necessary log-on or password validation is also
handled by this layer.
Session layer is also responsible for terminating the
connection.
This layer provides services like dialogue discipline
which can be full duplex or half duplex.
Session layer can also provide check-pointing
mechanism such that if a failure of some sort occurs
between checkpoints, all data can be retransmitted
Note
1.39
Figure 1.13 Presentation layer
1.40
Presentation Layer Responsibilities
Compression
Encryption
Translation
1.41
OSI Model
Presentation Layer
Presentation layer defines the format in which the
data is to be exchanged between the two
communicating entities.
Also handles data compression and data
encryption (cryptography).
Note
1.43
Figure 1.14 Application layer
1.44
Application Layer
Responsibilities
Enables user access to the network
User interfaces and support for services
such as
E-Mail
File transfer and access
Remote log-in
WWW
1.45
OSI Model
Application Layer
Application layer interacts with application
programs and is the highest level of OSI model.
Application layer contains management functions
to support distributed applications.
Examples of application layer are applications
such as file transfer, electronic mail, remote login
etc.
Note
1.47
Figure 1.15 Summary of layers
1.48
1-4 TCP/IP PROTOCOL SUITE
1.50
1-5 ADDRESSING
1.51
Figure 1.17 Addresses in TCP/IP
1.52
Figure 1.18 Relationship of layers and addresses in TCP/IP
1.53
Example 1.1
1.54
Figure 1.19 Physical addresses
1.55
Example 1.2
07:01:02:01:2C:4B
1.56
Example 1.3
1.57
Figure 1.20 IP addresses
1.58
Example 1.4
1.59
Figure 1.21 Port addresses
1.60
Note
1.61
Example 1.5
753
1.62
Reference Books
Andrew S. Tannenbaum, Computer Networks, Prentice Hall, 4th
edition, 2003
B. A. Forouzan, Data Communications and Networking, McGraw
Hill, 3rd edition, 2003.
W. Stallings, Data and Computer Communications, Prentice Hall,
7th edition, 2004.
W. Stallings, High-Speed Networks and Internets: Performance
and Quality of Service, Prentice Hall, 2nd edition, 2002.
F. Halsall, Data Communications, Computer Networks and Open
Systems, Addison-Wesley, 4th edition, 1996.
G. Held, Data over Wireless Networks, Bluetooth, WAP and
Wireless LANs, McGraw Hill, 2000.
2.63
Continue..
S. Hagen, IPv6 Essentials, OReilly, 2002.
H. Soliman, Mobile IPv6 - Mobility in a wireless
Internet, Addison-Wesley, 2004.
C. Perkins, RTP: Audio and Video for the Internet,
Addison-Wesley Professional, 2003
O. Hersent, J. P. Petit, D. Gurle, IP Telephony:
Deploying Voice-over-IP Protocols, John Wiley &
Sons, 2005.
J. Davidson, Peters, B. Gracely, Voice over IP
Fundamentals, Cisco Press, 2000.
2.64