Osi Model Notes
Osi Model Notes
Osi Model Notes
OSI is a logical model, not a physical one. The OSI has seven different
layers, divided into two groups. The top three layers definehow the
applications within the end stations will communicate with each other as
well aswith users. The bottom four layers define how data is transmitted
end to end.
The upper layers: Upper layers are also called Software Layers.
Session Layer: This layer maintains the session between source &
destination. It keeps the different application data separate at single
workstation.
!!!!!!!!!
TCP Header:
Sequence number: A number used by TCP that puts the data back in the
correct order or retransmits missing or damaged data during a process called
sequencing.
Source port:This is the port number of the application on the host sending
the data.
Destination port:This is the port number of the application requested on
the destination host.
Acknowledgment number: The value is the TCP octet that is expected
next.
Code bits/flags: Controls functions used to set up and terminate a session.
UDP Header:
Source port: Port number of the application on the host sending the data.
Destination port: Port number of the application requested on the
destination host.
Length: Length of UDP header and UDP data.
Checksum:Checksum of both the UDP header and UDP data fields.
Data: Upper-layer data.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Preamble:
Source Address: The 48 bit hexa-decimal value address of the source
device.
Destination Address: The 48 bit hexa-decimal value address of the
destination device.
Type: This field is used to identify the Network layer protocol.
Data: This is a packet sent down to the Data Link layer from the
Network layer. The sizecan vary from 46 to 1,500 bytes.
Frame Check Sequence (FCS):FCS is a field at the end of the frame
that’s used to store thecyclic redundancy check (CRC) answer. The CRC
is a mathematical algorithm that’s runwhen each frame is built based on
the data in the frame. When a receiving host receives theframe and runs
the CRC, the answer should be the same. If not, the frame is
discarded,assuming errors have occurred.