Professional Documents
Culture Documents
CHAPTER 1
Network Protocols
Notes for Douglas E. Comer, Computer Networks and Internets (5th Edition)
Protocol Suites and Layering Models
Defn: Protocols are agreements about how communication should take place.
They specify:
• Format of messages
• Meaning of messages
• Rules for exchanging messages
• Procedures for handling problems
2
Protocols can also be used to distinguish among:
• Multiple computers on a network
• Multiple applications on a computer
• Multiple copies of a single application on a computer
Sets of Protocols
• Sets of protocols are designed to work together.
• Each protocol solves a small part of the communications problem
• Sets of protocols are known as:
-- Protocol Suites
-- Protocol families
• They are designed in layers.
3
Protocol Design
• Protocols are divided into layers
• Each layer is devoted to one sub-problem
4
The OSI 7-Layers
Layer 4: Transport
• Reliability
5
The Layering Model
Protocol software follows the
layering model, with:
• One software module per layer
• Modules that work together
• Incoming or outgoing data
passing from one module to
another
6
Layers and Packet Headers
Each layer:
• Prepends a header to the outgoing packet
• Removes a header from the incoming packet
7
Layering Principle
Software implementing layer N at the destination receives exactly the message sent
by software implementing layer N at the source. --Comer
8
TCP/IP Layering
Notwithstanding the push by researchers to adopt the OSI model, it became clear
that TCP/IP was technically more flexible and superior. TCP/IP is the primary
protocol stack used today.
Note: This TCP/IP layering is an actual implementation of protocols, unlike the ISO model.
9
TCP/IP Layers
Layer 3: Internet
• Format of packets
• Mechanisms for forwarding
packets
• Not in the OSI Model
10