Networking - Fundamentals - Reference Models - 2020-1
Networking - Fundamentals - Reference Models - 2020-1
Javier Daza
Source: https://www.google.com.co/search?q=10+technology+trends+for+2018+by+gartner&dcr=0&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj-usbDhZLZAhVHzlkKHbWxDf4Q_AUICigB&biw=1536&bih=779#imgrc=3gVAad-KLp5ueM://
Layering in Networked
computing
• OSI Model
• TCP/IP Model
• Protocols at each layer
Learning outcomes
• Understand the need of layering in Networked
computing
• Understand the OSI model and the TCP/IP model
– Understand the function protocols and their
role at each layer.
• TCP protocol
• UDP protocol
• Understand the role of header in communication
between layers
• Understand how data sent from one host arrive to the
target host.
What is layering in
Networked computing?
Hardware Hardware
& &
Software Software
DEVICE A DEVICE B1
www.howtheosimodelworks.com
Evolution of the 7-Layers (1)
Application Application
Technical Technical
Standards Standards
www.howtheosimodelworks.com 1
Evolution of the 7-Layers (3)
Application Application
Network Network
Data-Link Data-Link
Physical Physical
www.howtheosimodelworks.com
Evolution of the 7-Layers (3) cont.
• Physical Layer
– Describes physical aspects of network: cards, wires, etc
– Specifies interconnect topologies and devices
• Network Layer
– Defines a standard method for operating between nodes
– Address scheme is defined (IP)
– Accounts for varying topologies
• Data-Link
– Works with Network Layer to translate logical addresses (IP) into
hardware addresses (MAC) for transmission
– Defines a single link protocol for transfer between two nodes
Evolution of the 7-Layers (4)
Application Application
Transport Transport
Network Network
Data-Link Data-Link
Physical Physical
• Five Layer Model – Increase Quality of Service (QOS)
• Variable levels of data integrity in network
• Additional data exchanges to ensure connectivity over worst
conditions 1
Session Session
Transport Transport
Network Network
Data-Link Data-Link
Physical Physical
www.howtheosimodelworks.com
What Each Layer Does
Application Layer
• Gives end-user
applications access to
network resources
• Where is it on my
computer?
– Workstation or Server
Service in MS 3
Windows
Presentation Layer
3
Session Layer
• Allows applications to
maintain an ongoing
session
• Where is it on my
computer?
– Workstation and
Server Service (MS)
– Windows Client for 3
NetWare (NetWare)
Transport Layer
• Provides reliable data
delivery
• It’s the TCP in TCP/IP
• Responsibilities:
– Network addressing
– Routing
3
• Example:
– IP from TCP/IP
Network layer
3
Data link layer
7 - Application All
6 - Presentation People
5 - Session Seem
4 - Transport To
3 - Network Need
2 - Data Link Data
1 - Physical Processing
TCP/IP model development
• The late-60s The Defense Advance Research
Projects Agency (DARPA) originally developed
Transmission Control Protocol/Internet
Protocol (TCP/IP) to interconnect various
defense department computer networks.
• The Internet, an International Wide Area
Network, uses TCP/IP to connect networks
across the world.
4 layers of the TCP/IP model
• Layer 4: Application
• Layer 3: Transport
• Layer 2: Internet
• Layer 1: Network access
Layer Protocols
Application HTTP TELNET FTP SMTP SNMP
Internet IP ICMP
Network Access
ETHERNET PACKET RADIO
(Host-to-network)
Protocols at the application layer
• HTTP:
– browser and web server communicating
• FTP :
– file transfer protocol
• TELNET:
– remote login protocol
• POP3: Retrieve email
– POP3 is designed to delete mail on the server as soon as the
user has downloaded it
network IP TCP
data packet
layer header header
64 to 1500 Bytes
Comparing TCP/IP with OSI
OSI Model TCP/IP Hierarchy Protocols
7th
Application Layer
6th
Presentation Layer Application
Layer
5th
Session Layer
4th
Transport Layer
Transport Layer
3rd
Network Layer
Network Layer
2nd
Link Layer
Link Layer
1st
Physical Layer
Repeater,
One Collision
Hub (Multi- Signals and Network
Layer 1 Physical Proce ssing AND One Bit Physical
port), Media Acce ss
Broadcast Domain
Cabling
Internet applications
• TCP/IP takes care of the hard problems
– Location of the destination host
– Making sure the data is received in the correct
order and error free
• Example of servers
– File servers
– Web servers
• Example of client applications
– Browsers
– Email clients
What is a socket?
• An interface between application and
network.
– Create a socket
• Socket(Protocol family, type-of-communication, specific- protocol);
Ports Port 1
Port 65535
3 http://www.hawkclan.com/zxonly/iso/slide2.html
4 http://www.pku.edu.cn/academic/research/computer-center/tc/html/TC010
2.html
, William L. Whipple &
Sharla Riead, 1997.
Thank you!