$RVAMY8Z
$RVAMY8Z
$RVAMY8Z
Physical Layer
Physical Layer
Bottom layer of the OSI Model.
Addresses the physical characteristics of the
network, such as the types of cables used to
connect devices, the types of connectors used,
how long the cables can be, and so on.
The Physical layer doesnt define any meaning to
the signals being sent other than the basic binary
values of zero and one.
Physical layer devices includes repeaters, hubs
and NICs.
Physical Layer
A repeater is used to regenerate the signal
whenever you need to exceed the cable length
allowed by the Physical layer standard.
Hubs are also known as multiport repeaters
because the purpose of a hub is to regenerate every
packet received on any port on all of the hubs
other ports.
Network Layer
Network Layer
The Network layer handles the task of routing
network messages from one computer to another.
The two most popular layer 3 protocols are IP
(which is usually paired with TCP) and IPX
(normally paired with SPX for use with Novell and
Windows networks).
Network layer protocols provide two important
functions: Logical Addressing and Routing.
Logical Addressing
A logical address lets you access a network device by
using an address that you assign if you want to use
some other addressing scheme other than MAC to refer
to the computers and other devices on your network.
Logical addresses are created and used by Network
layer protocols such as IP or IPX.
For example, if you use IP as the Network layer
protocol, devices on the network are assigned IP
addresses such as 207.120.67.30. Because the IP
protocol must use a Data Link layer protocol to actually
send packets to devices, IP must know how to translate
the IP address of a device to the devices MAC address.
Logical Addressing
Although the exact format of logical addresses
varies depending on the protocol being used, most
protocols divide the logical address into two parts: a
network address and a device address.
The network address identifies which network the
device resides on, and the device address then
identifies the device on that network.
For example, in a typical IP address, such as
192.168.1.102, the network address is 192.168.1,
and the device address (called a host address in IP)
is 102.
Routing
Routing comes into play when a computer on one
network needs to send a packet to a computer on
another network.
A Router is used to forward the packet to the
destination network.
Important feature of routers is that you can use
them to connect networks that use different layer 2
protocols.
As long as both networks support the same layer 3
protocol, it doesnt matter if their layer 1 and layer 2
protocols are different.
Routing
A protocol is considered routable if it uses
addresses that include a network part and a host
part.
Any protocol that uses physical addresses isnt
routable because physical addresses dont indicate
to which network a device belongs.
Transport Layer
Transport Layer
The Transport layer is the layer where youll find
two of the most well-known networking protocols:
TCP (normally paired with IP) and SPX (normally
paired with IPX).
The main purpose of the Transport layer is to
ensure that packets are transported reliably and
without errors.
The Transport layer does this task by establishing
connections
between
network
devices,
acknowledging the receipt of packets, and
resending packets that arent received or are
corrupted when they arrive.
Transport Layer
In many cases, the Transport layer protocol
divides large messages into smaller packets that
can be sent over the network efficiently. The
Transport layer protocol reassembles the message
on the receiving end, making sure that all of the
packets that comprise a single transmission are
received so that no data is lost.
Transport Layer
For some applications, speed and efficiency are
more important than reliability. In such cases, a
connectionless protocol can be used. A
connectionless protocol doesnt go to the trouble
of establishing a connection before sending a
packet. Instead, it simply sends the packet. The
connectionless protocol that works alongside TCP
is called UDP.
TCP is a connection-oriented Transport layer
protocol. UDP is a connectionless Transport layer
protocol.
Session Layer
Session Layer
The Session layer establishes conversations known
as sessions between networked devices.
A session is an exchange of connection-oriented
transmissions between two network devices. Each of
these transmissions is handled by the Transport
layer protocol. The session itself is managed by the
Session layer protocol.
A single session can include many exchanges of data
between the two computers involved in the session.
After a session between two computers has been
established, it is maintained until the computers
agree to terminate the session.
Session Layer
The session layer allows three types of transmission
modes:
Simplex: In this mode, data flows in only one
direction.
Half-duplex: In this mode, data flows in both
directions, but only in one direction at a time.
Full-duplex: In this mode, data flows in both
directions at the same time.
Presentation Layer
Presentation Layer
The Presentation layer is responsible for how data is
represented to applications.
Most computers use the American Standard Code
for Information Interchange (ASCII) to represent
data. However, some computers (such as IBM
mainframe computers) use a different code, known
as Extended Binary Coded Decimal Interchange
Code (EBCDIC). ASCII and EBCDIC arent
compatible with each other. Presentation layer must
convert the data from ASCII to EBCDIC and vice
versa.
Presentation Layer
Presentation layer can also apply sophisticated
compression techniques so that fewer bytes of data
are required to represent the information when its
sent over the network. At the other end of the
transmission,
the
Presentation
layer
then
uncompresses the data.
The Presentation layer can also scramble the data
before it is transmitted and unscramble it at the
other end by using a sophisticated encryption
technique that even Sherlock Holmes would have
trouble breaking.
Application Layer
Application Layer
The highest layer of the OSI Model.
Deals with the techniques that application programs
use to communicate with the network.
Application programs such as Microsoft Office or
QuickBooks arent a part of the Application layer.
Rather, the Application layer represents the
programming interfaces that application programs
such as Microsoft Office or QuickBooks use to
request network services.
Application Layer
Some of the better-known Application layer protocols
are:
DNS (Domain Name System) for resolving Internet
domain names.
FTP (File Transfer Protocol) for file transfers.
SMTP (Simple Mail Transfer Protocol) for e-mail.
SMB (Server Message Block) for file sharing in
Windows networks.
NFS (Network File System) for file sharing in Unix
networks.
Telnet for terminal emulation.
-END-