Академический Документы
Профессиональный Документы
Культура Документы
http://www.citap.com/documents/tcp-ip/tcpip006.htm
http://www.cse.iitk.ac.in/users/dheeraj/cs425/lec02.html
http://www.cse.iitk.ac.in/users/dheeraj/cs425/index.html
The OSI 7 layers model has clear characteristics. Layers 7 through 4 deal with end to end
communications between data source and destinations. Layers 3 to 1 deal with communications
between network devices.
On the other hand, the seven layers of the OSI model can be divided into two groups: upper
layers (layers 7, 6 & 5) and lower layers (layers 4, 3, 2, 1). The upper layers of the OSI model
deal with application issues and generally are implemented only in software. The highest layer,
the application layer, is closest to the end user. The lower layers of the OSI model handle data
transport issues. The physical layer and the data link layer are implemented in hardware and
software. The lowest layer, the physical layer, is closest to the physical network medium (the
wires, for example) and is responsible for placing data on the medium.
BACKGROUND
In 1978, the International Standards Organization (ISO) released a set of specifications that
described network architecture for connecting dissimilar devices. The original document applied
to systems that were open to each other because they could all use the same protocols and
standards to exchange information.
In 1984, the ISO released a revision of this model and called it the Open Systems
Interconnection (OSI) Reference Model. The 1984 version has become the standard and serves
as a guide for networking.
This model is the best known and most widely used guide to describe networking environments.
Vendors design network products based on the specifications of the OSI model. It provides a
description of how network hardware and software work together in a layered fashion to make
communications possible. It also helps with troubleshooting by providing a frame of reference
that describes how components are supposed to function.
A LAYERED ARCHITECTURE
The OSI model is an architecture that divides network communication into seven layers. Each
layer covers different network activities, equipment, or protocols. The layers are as follow:
Layering specifies different functions and services at different levels. Each OSI layer has well-
defined networking functions, and the functions of each layer communicate and work with the
functions of the layers immediately above and below it. Each layer provides some service or
action that prepares the data for delivery over the network to another computer. The layers are
separated from each other by boundaries called interfaces.
2.4 TCP/IP PROTOCOL
SUITE
Kyung Hee University
Kyung Hee University
Physical and Data Link Layers
At the physical and data link layers,
TCP/IP does not define any specific
protocol.
It supports all the standard and
proprietary protocols.
A network in a TCP/IP internetwork
can be a local-area network or a
wide-area network.
Kyung Hee University
Network Layer
TCP/IP supports the Internetworking
Protocol.
IP uses four supporting protocols :
ARP, RARP, ICMP, and IGMP.
o IP (Internetworking Protocol)
Protocol)
o RARP (Reverse Address
Resolution Protocol)
o ICMP (Internet Control Message
Protocol)
o IGMP (Internet Group Message
Protocol)
Kyung Hee University
Transport Layer
The transport layer was represented
in TCP/IP by two protocols : TCP and
UDP.
o IP is a host-to-host protocol
Kyung Hee University
Application Layer
The application layer in TCP/IP is
equivalent to the combined session,
presentation, and application layers
in the OSI model.
Many protocols are defined at this
layer.
Kyung Hee University
2-5 ADDRESSING
Kyung Hee University
Kyung Hee University
Kyung Hee University
Physical Addresses
The physical address, also known
as the link address, is the address of
a node as defined by its LAN or WAN.
It is included in the frame used by the
data link layer.
o The physical addresses have
Kyung Hee University
In Figure 2.19 a node
with physical address 10 sends a frame
to a node with physical address 87.
The two nodes are connected by a link
(bus topology LAN). As the figure shows,
the computer with physical address 10 is the
sender, and the computer with physical
address 87 is the receiver.
Example 2.1
Physical Addresses (cont’d)
Kyung Hee University
Kyung Hee University
Example 2.2
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal
digits) physical address.
Physical Addresses (cont’d)
Kyung Hee University
Logical Addresses
Logical addresses are necessary for
universal communications that are
independent of underlying physical
networks.
o Physical addresses are not
adequate in an internetwork
environment where different
networks can have different
address formats.
o A universal addressing system is
Kyung Hee University
Figure 2.20 shows a part
of an internet with two routers connecting
three LANs. Each device
(computer or router) has a pair of addresses
(logical and physical) for each connection.
In this case, each computer is connected
to only one link and therefore has only
one pair of addresses.
Each router, however, is connected to three
networks (only two are shown in the figure).
So each router has three pairs of addresses,
one for each connection.
Example 2.3
Logical Addresses (cont’d)
Kyung Hee University
Figure 2.20 IP addresses
The physical addresses will
change from hop to hop,
but the logical addresses
usually remain the same.
Logical Addresses (cont’d)
Kyung Hee University
Port Addresses
The IP and the physical address are
necessary for a quantity of data to
travel from a source to the
destination host.
The end object of Internet
communication is a process
communicating with another
process.
For these processes to receive data
simultaneously, we need a method to
label assigned to a process is called
a port address.
A port address in TCP/IP is 16 bits in
length.
Kyung Hee University
Figure 2.21 shows two computers
communicating via the
Internet. The sending computer is running
three processes at this
time with port addresses a, b, and c. The
receiving computer is running two processes
at this time with port addresses j and
k. Process a in the sending computer needs to
communicate with process j in the receiving
computer. Note that although physical
addresses change from hop to hop, logical and
port addresses remain the same from the
source to destination.
Example 2.4
Port Addresses (cont’d)
Kyung Hee University
Kyung Hee University
Example 2.5
Kyung Hee University
Specific Addresses
Some applications have user-
friendly addresses that are designed
for that specific address.
o E-mail address