Professional Documents
Culture Documents
COMMUNICATION
AND NETWORKING
CEN-222
2.2
Chapter 2
Network Models
Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
22THEOSIMODEL
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.
THEOSIMODEL
2.4
2.5
2.6
OSI Layers
2.7
2.8
THEOSIMODEL
Introduction
2.10
2.11
2.12
2.13
2.14
Data rate.
The transmission rate-the number of bits sent each second-is
also defined by the physical layer. In other words, the physical
layer defines the duration of a bit, which is how long it lasts.
Synchronization of bits.
The sender and receiver not only must use the same bit rate
but also must be synchronized at the bit level. In other words,
the sender and the receiver clocks must be synchronized.
Line configuration.
The physical layer is concerned with the connection of devices
to the media. In a point-to-point configuration, two devices
are connected through a dedicated link. In a multipoint
configuration, a link is shared among several devices.
2.15
Physical topology.
The physical topology defines how devices are connected
to make a network.
Transmission mode.
The physical layer also defines the direction of
transmission between two devices: simplex, half-duplex, or
full-duplex.
Note
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
2.16
2.17
2.18
2.19
2.20
Error control.
The data link layer adds reliability to the physical layer by
adding mechanisms to detect and retransmit damaged or
lost frames. It also uses a mechanism to recognize
duplicate frames. Error control is normally achieved through
a trailer added to the end of the frame.
Access control.
When two or more devices are connected to the same link,
data link layer protocols are necessary to determine which
device has control over the link at any given time.
2.21
Note
The data link layer is responsible for moving
frames from one hop (node) to the next.
2.22
2.23
2.24
2.25
2.26
The network layer is responsible for the source-todestination delivery of a packet, possibly across multiple
networks (links). Whereas the data link layer oversees the
delivery of the packet between two systems on the same
network (links), the network layer ensures that each packet
gets from its point of origin to its final destination.
If two systems are connected to the same link, there is
usually no need for a network layer. However, if the two
systems are attached to different networks (links) with
connecting devices between the networks (links), there is
often a need for the network layer to accomplish source-todestination delivery. Figure 2.8 shows the relationship of the
network layer to the data link and transport layers
Note
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
2.27
2.28
2.29
As the figure shows, now we need a source-todestination delivery. The network layer at A sends
the packet to the network layer at B. When the
packet arrives at router B, the router makes a
decision based on the final destination (F) of the
packet.
2.30
Note
The transport layer is responsible for the delivery
of a message from one process to another.
2.31
Transport layer
2.32
2.33
Transport layer
2.34
Transport layer
2.35
Note
The session layer is responsible for dialog
control and synchronization.
2.36
Session Layer
2.37
Session Layer
2.38
Note
The presentation layer is responsible for translation,
compression, and encryption.
2.39
Presentation Layer
2.40
Presentation Layer
2.41
Note
The application layer is responsible for
providing services to the user.
2.42
2.43
Application layer
2.44
2.45
SummaryApplication Layer
2.46
Application layer provides platform to send and receive data over the network.
All applications and utilities that communicate with network fall in this layer.
For examples
Browsers :- Mozilla Firefox, Internet Explorer, Google Chrome etc
Email clients: - Outlook Express, Mozilla Thunderbird etc.
FTP clients :- Filezilla, sFTP, vsFTP
Application layer protocols that we should know for exam are following:
SNMP (Simple Network Management Protocol) Used to control the
connected networking devices.
FTP (File Transfer Protocol) Used to transfer the files rapidly.
DNS (Domain Naming System) Used to translate the name with IP
address and vice versa.
DHCP (Dynamic Host Configuration Protocol) Used to assign IP address
and DNS information automatically to hosts.
Telnet used to connect remote devices.
HTTP (Hypertext Transfer Protocol) Used to browse web pages.
FTP (File Transfer Protocol) Used to reliably sends/retrieves files.
SMTP (Simple Mail Transfer Protocol) Used to sends email.
POP3 (Post Office Protocol v.3) Used to retrieves email.
NTP (Network Time Protocol) Used to synchronizes clocks.
Presentation layer
2.47
2.48
Transport Layer
2.49
Transport Layer
2.50
Segmentation
Connection management
Reliable and unreliable data delivery
Flow control
Connection multiplexing
Transport Layer
2.51
Segmentation
Segmentation is the process of breaking large data file into smaller files
that can be accommodated by network. To understand this process thinks
about a 700 MB movie that you want to download from internet. You have
2MBPS internet connection. How will you download a 700MB movie on
2MBPS internet connection?
In this case segmentation process is used. On server transport layer breaks
700MB movie in smaller size of segments (less than your internet
connection speed). Assume that 700Mb movie is divided in 700 segments.
Each segment has file size of 1Mb that your PC can easily download at
current connection speed. Now your PC will download 700 small files
instead of one large file. So next time when you see download progress bar
in browser, think it about segment receiver progress bar. Once your
browser receives all segments from server, it will pop up a message
indicating download is completed. Transport layer at your PC will merge all
segments back in a single 700Mb movie file. End user will never know how
a 700Mb movie makes its way through the 2Mbps connection line.
Transport Layer
2.52
Connection management
Transport layer setup, maintain and tear down connections for session layer. Actual
mechanic of connection is controlled by transport layer. Transport layer use two
protocols for connection management UDP and TCP.
UDP
UDP is a connection less protocol. Connection-less transmission is said to be
unreliable. Now, don't get worried about the term "unreliable" this doesn't mean
that the data isn't going to get its destination; its only means that it isn't
guaranteed to get its destination. Think of your options when you are sending a
postcard, put it in the mailbox, and chances are good that it will get where it's
supposed to go but there is no guarantee. There is always a chance of missing in
the way. On the other hand, it's cheap.
TCP
TCP is a connection oriented protocol. Connection-oriented transmission is said to
be reliable. Think TCP as registry AD facility available in Pakistan post office. For this
level of service, you have to buy extra ticket and put a bunch of extra labels on it to
track where it is going and where it has been. You get a receipt when it is delivered.
In this method you have a guaranteed delivery. All of this costs you morebut it is
reliable!
Network Layer
2.53
2.54
2.55
Frame
Data link layer receive packet from network layer and wrap it with
layer two Header that is known as frame. There are two
specifications of Ethernet frame.
Ethernet II
802
Physical Layer
2.56
24TCP/IPPROTOCOLSUITE
The layers in the TCP/IP protocol suite do not exactly
match those in the OSI model. The original TCP/IP
protocol suite was defined as having four layers: host-tonetwork, internet, transport, and application. However,
when TCP/IP is compared to OSI, we can say that the
TCP/IP protocol suite is made of five layers: physical,
data link, network, transport, and application.
Topics discussed in this section:
Physical and Data Link Layers
Network Layer
Transport Layer
Application Layer
2.57
2.58
25ADDRESSING
Four levels of addresses are used in an internet employing
the TCP/IP protocols: physical, logical, port, and specific.
2.59
2.60
2.61