OSI and TCP Model
OSI and TCP Model
OSI and TCP Model
Within a single machine, each layer calls upon services of the layer
just below it.
Layer 3, for example, uses the services provided by layer 2 and
provides services for layer 4.
Between machines, layer x on one machine communicates with layer x
on another machine, by using a protocol (this is Peer-to-Peer
Process).
Communication between machines is therefore a peer-to-peer
process using protocols appropriate to a given layer.
Internet Layers (TCP/IP)
Interfaces between Layers
The physical layer is responsible for transmitting individual bits from one
node to the next.
Physical layer
The physical layer is concerned with the following:
Physical characteristics of interfaces and media: The physical layer
defines the characteristics of the interface between devices and the
transmission media, including its type.
Representation of the bits: the physical layer data consist of a stream
of bits without any interpretation. To be transmitted, bits must be
encoded into signals –electrical or optical-. The physical layer
defines the type of encoding.
Data rate: The physical layer defines the transmission rate, the
number of bits sent each second.
Physical Layer
Line configuration: the physical layer is concerned with the
connection of devices to the medium.
Physical topology
Transmission Mode
Data Link Layer
The data link layer is responsible for transmitting frames from one node
to the next.
Node-to-node delivery
Functions of the data link layer
Framing. The data link layer divides the stream of bits received from
the network layer into data units called frames.
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 time.
Network Layer
•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, there is often a
need for the network layer to accomplish source-to-destination delivery.
Network Layer
Functions:
•Logical addressing.
•Routing
The network layer is responsible for the delivery of packets from the original
source to the final destination.
Source-to-destination delivery
Logical addressing. The physical addressing implemented by the data
link layer handles the addressing problem locally.
The network layer adds a header to the packet coming from the upper
layer, among other things, includes the logical address of the sender
and receiver.
The transport layer is responsible for delivery of a message from one process
to another.
Reliable process-to-process delivery of a message
Functions of the transport layer
Flow control: the transport layer performs a flow control end to end.
The data link layer performs flow control across a single link.
Error control: the transport layer performs error control end to end.
The data link layer performs control across a single link.
The session layer is the network dialog controller. It was designed to
establish, maintain, and synchronize the interaction between
communicating devices.
The presentation layer was designed to handle the syntax and
semantics of the information exchanged between the two systems. It
was designed for data translation, encryption, decryption, and
compression.
The application layer enables the user to access the network. It
provides user interfaces and support for services such electronic email,
remote file access, WWW, and so on.
Application layer