Defining Networks With The OSI Model
Defining Networks With The OSI Model
Defining Networks With The OSI Model
Module 2
Objectives
Skills Concepts Objective Domain Objective Domain
Description Number
International
Organization for
Standardization (ISO) –
Federation of standards
organizations from multiple
nations
Open Systems Interconnection (OSI)
• The Open Systems Interconnection (OSI) reference model is used to
define how data communication occurs between devices
• The model is divided into 7 layers, each layer providing services to the
layers above and below
Layer Defines
Layer 7 – Application Layer Enables users and applications to access network services
Layer 6 – Presentation Layer Translates data into a common format
Layer 5 – Session Layer Establishes a communication session between devices
Layer 4 – Transport Layer Manages message fragmentation and reassembly
Layer 3 – Network Layer Manages data routing and creating sub networks
Layer 2 – Data Link Layer Provides error-free transfer of data frames
Layer 1 – Physical Layer Physical network media and signal methods
OSI Model Layers
The Wire
Layer 1 – Physical Layer
• Defines the physical and electrical medium for data transfer
• Physical layer components: cables, jacks, patch panels, punch blocks,
hubs, and MAUs
• Physical layer concepts: topologies, analog versus digital/encoding, bit
synchronization, baseband versus broadband, multiplexing, and serial
data transfer
• Unit of measurement: Bits
Ethernet Standards
• LAN standard providing a communication method for high speed data
exchange among devices
• Defined Physical and Data Link Layer
• 100BASE-T
• 100 for 100 Mbps
• BASE for baseband
• T for twisted-pair cabling
• Baseband refers to the fact that devices on the network use digital
signaling over a single frequency
• Broadband systems use analog signaling over a range of frequencies
enabling multiple channels over the same physical medium
Layer 2 – Data Link Layer
• Establishes, maintains, and decides how transfer is accomplished over
the physical layer and ensures error-free transmission over the physical
layer
• Physical addresses (the hexadecimal address that is burned into the
ROM of the NIC), known as the MAC address uniquely identify each
hardware device work at the Data Link Layer
• Data Link Layer components: network interface cards and bridges
• Unit of measurement: frames
Media Access Control Address
• Network adapters on an Ethernet network have unique Media Access
Control (MAC) addresses
• MAC addresses are unique identifiers assigned to network adapters by
the manufacturer
• MAC address is six octets in length written in hexadecimal
Layer 2 Switches
• Layer 2 switches are hardware-based and use the MAC address of each
host computer’s network adapter when deciding where to direct data
frames
• Ports on the switch are mapped to the specific MAC address of the
device attached
Virtual LAN (VLAN)
• Layer 2 switching can also allow for a virtual LAN (VLAN) to be
implemented.
• A VLAN is implemented to segment and organize the network, to
reduce collisions, boost performance
• IEEE 802.1Q is the standard that supports VLANs
• A tag is added to the data frame to identify the VLAN
Layer 3 – Network Layer
• Controls the operations of routing and switching information to
different networks
• Translates logical addresses or names to physical addresses
• Internet Protocol (IP) is a Network Layer protocol
• Devices that work at the network layer are routers and IP switches
• Network Layer components: IP addresses, subnets
• Unit of measurement: packets
Layer 3 Switches
• Switches can also reside on the network layer
• A layer 3 switch determines paths for data using logical addressing (IP
addresses) instead of physical addressing (MAC addresses for a layer 2
switch)
• Layer 3 switches forward packets, whereas layer 2 switches forward
frames
Layer 4 – Transport Layer
• This layer ensures messages are delivered error-free, in sequence and
with no losses or duplications
• Protocols that work at this layer segment messages, ensure correct
reassembly at the receiving end, perform message acknowledgement
and message traffic control
• The Transport Layer contains both connection-oriented and
connectionless protocols
• Unit of measurement used: segments or messages
Connection Oriented Communications
• Require both devices involved in the communication establish an end-
to-end logical connection before data can be sent
• These communications are considered reliable network services
• Packets not received by the destination device can be resent by the
sender
Hello! I am a
PC
Hello! I am a
Server!
I want to send
you something
important!
Ok, I will
watch for it!
Connectionless Communications
• End-to-end connection is not necessary before data is sent
• Every packet that is sent has the destination address in the header
• Sufficient to move independent packets, such as in streaming media
• Datagram delivery is not guaranteed and lost packets cannot be resent
LISTEN TO ME!!!
AAAaaaahhh!!!! .
Connection-based Protocols
• The Transport Layer contains both connection-oriented and
connectionless protocols
• Transmission Control Protocol (TCP) provides a connection-based,
reliable, byte-stream service to programs
• User Datagram Protocol (UDP) provides a connectionless, unreliable
transport service
TCP and UDP
• TCP transport is used for logging on, file and print sharing, replication
of information between domain controllers, transfer of browse lists, and
other common functions. TCP can only be used for one-to-one
communications.
• UDP is often used for one-to-many communications, using broadcast
or multicast IP datagrams
Network Interface Details how data is physically sent through Ethernet, Token Ring, Frame
the network Relay
OSI Model compared to TCP Model