Professional Documents
Culture Documents
Ref: https://community.fs.com/blog/tcpip-
vs-osi-whats-the-difference-between-the-
two-models.html
OSI
Model
• The model
• Functions of the layers
OSI
OSI Model
OSI model
PDNTSPA
OSI Layers
An Exchange Using the OSI Model
Physical layer
Ref: https://community.fs.com/blog/tcpip-
vs-osi-whats-the-difference-between-the-
two-models.html
Network Layer
The network layer is responsible for the
delivery of packets from the original
source to the
final destination.
Responsibility of network layer
Cont.…
Node-to-node delivery
End to End: Source-to-destination
delivery
Example
IP
• An IP address is a
32-bit address
• The IP addresses
are unique
and universal.
• Logical Address
is generated by CPU while a
program is running. Physical
Address identifies
a physical location of requir
ed data in
a memory. ... The user never
directly deals with the
physical address but can
access by its
corresponding logical
address.
Logical Vs Physical Address
BASIS OF
LOGICAL ADRESS PHYSICAL ADRESS
COMPARISON
Logical address is the address that is
generated by the central processing unit Physical address is a location that exists in
Description (CPU) in perspective of a program. Logical the memory; it allows accessing a particular
address can also be referred to as a virtual storage cell in the main memory.
address.
Logical address space is the set of all logical Physical address space is the set of all
Address Space addresses generated by CPU for a program. physical address mapped to corresponding
logical addresses.
The logical address exists virtually and does
The physical address is an accessible
not have a specific location to exist
Visibility physical location existing within the
physically in memory unit hence it is also
memory.
known as virtual address.
The logical address is generated by the Physical address is computed by Memory
Generation
central processing unit (CPU). Management Unit (MMU).
The physical address helps to identify a The logical address helps to obtain the
Use
location in the main memory. physical address.
The logical address is flexible hence will
Physical address of the object always
Flexibility keep changing with the system from time to
remains constant.
time.
The user program can use the logical The user program does not have the ability to
User
address to access the physical address. view the physical address directly.
Logic address is erased when the system is Physical address is not affected when the
Rebooting
rebooted. system is rebooted.
Example 192.168.20.2(IPV4/IPV6) 00-10-5A-44-12--B5 (48 bit,6 byte )
Logical Vs Physical Address
Reference: https://www.google.com/search?q=mac+address+example&tbm=isch&source=iu&ictx=1&fir=AcSg14XEihOvxM%252CbH_OqFLfsM5BxM%252C_&vet=1&usg=AI4_-
kQDktfJgXu0c
OSI Reference Model
Ref: https://community.fs.com/blog/tcpip-
vs-osi-whats-the-difference-between-the-
two-models.html
Transport layer
Ref.: https://www.quora.com/What-is-a-socket
-in-computer-networks
L6-Session layer
• Mall service
• File Transfer and access
• Remote log in
• Accessing WWW
Summary of Layer Functions
OSI Layers
Questions
A R1 R3 R4 B
Physical Physical
layer layer
Link 1 Link 3 Link 5 Link 6
Physical Physical
Link 1 Link 3 Link 5 Link 6
D2 H2
Frame
D2 ame
Fr
H2
D2 H2 D2 H2
Frame Frame
Physical Physical
D3 H3
Datagram
D3 H3
Datagram
Physical Physical
D4 H4
Segment
D4 H4
Segment
A B
Application Legend Source Destination D Data H Header Application
Transport Transport
R1 R3 R4
Network Network
Physical Physical
D5 D5
Message
D5 D5
Message
TCP/IP Protocol Suite 73
Note