Layered Protocol Models The Tcp/Ip Layered Architecture Model
Layered Protocol Models The Tcp/Ip Layered Architecture Model
Protocol Models
The TCP/IP
Layered
Architecture
Model
Data Encapsulation
Reference Models
Protocol Model
Reference Model
Comparin
g the OSI
and TCP/IP
Models
The Physical
Layer
General
Purpose
Sending
Accepts a frame from the Data Link
Layer
Transmits as binary bits over media
between devices
Receiving
Receives a signal over a common
media
Converts back into a sequence of bits
Passes to the Data Link Layer as a
frame for processing
MAC and
IP
MAC Address
This address does not change
Similar to the name of a person
Known as physical address because physically
assigned to the host NIC
IP Address
Similar to the address of a person
Based on where the host is actually located
Known as a logical address because assigned
logically
Assigned to each host by a network administrator
Both the physical MAC and logical IP addresses are
required for a computer to communicate just like
both the name and address of a person are required
to send a letter.
Physical vs Logical
Physical
Arrangement of nodes and the physical
connections between them
What the network looks like
Logical
Virtual arrangement of nodes independent
of their physical connectivity
The Data Link Layer sees the Logical
Topology
Influences network framing and MAC
Common
Physical
WAN
Topologies
Full-Duplex
Sent or receive both at same time
Contention-Based Access
Characteristics
Stations can transmit at
any time
Collision exist
There are mechanisms to
resolve contention for the
media
Contention-Based
Technologies
CSMA/CD for 802.3
Ethernet networks
CSMA/CA for 802.11
wireless networks
Carrier Sense Multiple
Access
Collision Detection
Collision Avoidance
Controlled Access
Characteristics
Only one station can
transmit at a time
Devices wanting to
transmit must wait their
turn
No collisions
May use a token passing
method
Contention-Based
Technologies
Token Ring (IEEE 802.5)
Fiber Distributed Data
Interface (FDDI)
CSMA/CD
Carrier Sense Multiple Access with Collision Detection
Multiple Access
Bus topology
Shared Medium
Carrier Sense
Listen to medium
Dont send until medium is free
Collision Detection
Detect when collisions occur
CSMA/CA
Carrier Sense Multiple Access with Collision Avoidance
Collision Avoidance
After media is free send notification of stations intent to use
medium Wait for response from controller Transmit
Ethernet
Encapsulation
Preamble
Synchronisation signal (0101010)
Allows receivers to synchronise clocks for rest of
frame
Addresses
Who is sending/receiving this frame
Type
Tells Ethernet layer what Network Layer Protocol
is carried in Data
Frame check
Check for errors
Collision
Domains
Bridges
Operation
Store-andforward
Cut-through Switching
Fast-forward switching:
Lowest level of latency
Immediately forwards a packet
after reading the destination
address
Typical cut-through method of
switching
Fragment-free switching:
Switch stores the first 64 bytes
of the frame before Forwarding
Most network errors and
collisions occur during the first
64 bytes
VLAN
Definitions
Benefits of
VLANs
Security
Cost reduction
Better performance
Shrink broadcast domains
VLAN
Access
Ports
VLAN Membership
Static VLAN
Dynamic VLAN
VLAN Trunks
Inefficient to connect switches using Access Ports need one
connection for each VLAN
Trunks allow a single connection to carry traffic of multiple VLANs
Traffic is still segmented
Frames are tagged to allow receiving switch to know which VLAN
traffic belongs to
Default VLAN
Voice VLANs
Default Gateway
Hosts must maintain their own, local, routing table to ensure that
network layer packets are directed to the correct destination network.
The local table of the host typically contains:
Direct connection
Local network route
Local default route
All end hosts need a gateway address if they need to communicate with
hosts outside the local Link Layer network