Professional Documents
Culture Documents
01 - Protocols
01 - Protocols
01 - Protocols
Protocol Architectures
Lecture 1 | CSE421 – Computer Networks
Department of Computer Science and Engineering
School of Data & Science
Objectives
• Layering in communication
• Protocols
• Standards
• Protocol Suites
• OSI Model
• TCP/IP Model
• Addressing
Layering
Tasks of communication are broken up into layers
Layer 1
Communication Layer 2
Layer 3
Layers: Sending a letter
Layers
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
OSI Model
• Open Systems Interconnection (OSI)
• Seven layers
• A theoretical system delivered too late!
• TCP/IP is the de facto standard
• Developed by the International
Organization for Standardization (ISO) in
1984.
H6 D6 4 Transport H6 D6
3 Network
H5 D5 H5 D5
2 Data Link
H4 D4 1 Physical H4 D4
H3 D3 H3 D3
H2 D2 T2 H2 D2 T2
Transmission medium
Application Layer
- The 7th Layer of OSI Model
Sender Receiver
From Email/Other app To Email/Other app
Instant Messaging
Email
Examples: Application Layer Protocols
Sender Receiver
From Application Layer To Application Layer
Sender Receiver
From Presentation Layer To Presentation Layer
Sender Receiver
From Session Layer To Session Layer
Notes
• A common protocol used in Transport Layer is TCP.
• *PDU – Packet Data Unit
Functions – Segmentation/Reassembly
• Segments data received from application layer into small parts
• Steps (Sender):
• Segments into small parts H5 Data
1 2 3
Function – Flow Control
• Establishes secure connection (TCP – Three Way Handshake)
At this point, this host has too many
packets to process. Hence, the buffer to
store incoming packets overflows.
1 2 3
Function – Error Control
• Establishes secure connection (TCP – Three Way Handshake)
Please send
Packet 2
Lost in transition
1 2 3 2
Function – Multiplexing
Network Layer
- The 3rd Layer of OSI Model
Sender Receiver
From Transport Layer To Transport Layer
?
?
?
? LAN 3
Receiver
Sender
Data Link Layer
- The 2nd Layer of OSI Model
Sender Receiver
From Network Layer To Network Layer
Sender Receiver
From Data Link Layer To Data Link Layer
• Transmission Modes
• Simplex
• Half Duplex
• Full Duplex
Summary of OSI Layers
TCP/IP Model
De Facto Standard
Email Data
Data
Data Data Data
Network Transport
Header Header
Data Packet
stack
Frame Network Transport Frame Frame
Header Header Header
Data Trailer (Medium Dependent)
10011010111010101010101010101010101011010101010101010 Bits
TCP/IP and Other Models
Addressing in Networking
Addressing - Summary
• Four levels of addresses are used in an internet employing the TCP/IP
protocols
Relationship of layers and address in TCP/IP
Addresses
• Specific Address
• Applications having user friendly addresses.
• Email addresses or URLs.
• john@gmail.com or www.bracu.ac.bd
• Theses are converted into corresponding port and logical addresses by the sending
computer.
• The other addresses are already discussed in the earlier slides! Can you
identify them?
**Port address (Slide 35), Logical Address (Slide 42), Physical Address (Slide 48)
Logical and Physical Address – Same Network
Legend:
4/D • IP Addresses – Numbers
• MAC Address – Alphabets
3/E
Receiver
5/A
2/C
D S S D
Sender 1/B E B 1 3 Data
Port, Logical & Physical Address – Different Network
G
A
H
L K
J
F
B 1 0 a k Data Legend:
4/D D S S D S D • IP Addresses – Numbers
• MAC Address – Capital Alphabets
• Port Address – Small Alphabets
3/E
5/A 9/H
6/F
8/J
2/C 7/G
0/L
D S S D 10/K Receiver
Sender 1/B
Email – a Email – k
Web – c
Addressing – Review
• Although physical addresses change from hop to hop, logical and port
addresses remain the same from the source to destination.
The End
• References
• [1] Chapter 2, The McGraw-Hill Companies, Inc.
• [2] Chapter 3,The McGraw-Hill Companies, Inc.
• [3] CCNA 1, CISCO.