TCP IP Protocolo
TCP IP Protocolo
TCP IP Protocolo
+ Internet +
Education Finance
+
Agriculture
Page 2
Question
3
Page 3
Outline
1. Layered architecture
2. Layers in the TCP/IP protocol suite
3. Encapsulation and decapsulation
Page 4
An example, postal system
Beijing Shanghai
Sender Receiver
Page 5
Layering structure
Page 6
Outline
1. Layered architecture
2. Layers in the TCP/IP protocol suite
3. Encapsulation and decapsulation
Page 7
?
Internet ?
Physical
?
Page 8
Physical layer
Twisted pair fast LANs
10Mbps~10Gbps
Coaxial cable
Wired home broadband access
tens of Mbps
Wi-Fi WLAN
Wireless 4G cellular access 802.11 a/b/g/n/ac
100Mbps (40 Mbps) ac (Wi-Fi 5), 1Gbps
[5G, 10+ times] (300~400 Mbps)
Page 9
?
Internet ?
Data
?link
Physical
Page 10
Data link layer
Data link layer: communication link
between neighbor nodes
One-hop delivery
Link: wired/wireless
Different protocols for different
kinds of links
e.g., 1st link: Ethernet, inter-
router link: PPP, Destination
last link: 802.11
Page 11
?
Internet ?
Network
Data link
Physical
Page 12
Network layer
Network layer: Routing
communication between
hosts Path delivery
Forwarding table
Dest addr Out port
1
0100 3
0101 2 2 Destination
0111 2 3
1001 1
Source destination
address
Page 13
?
Transport
?
Internet Network
Data link
Physical
Page 14
Transport layer
Transport layer: communication between processes
Reliability Throughput
Timing Security
Reliable Fast transmission
transmission
TCP protocol W S S W UDP protocol
Page 15
Application
?
Transport
Internet Network
Data link
Physical
Page 16
Application layer
Application layer: communication between application programs
Public
POP3 HTTP
Private
Weixin
FTP DNS
BitTo-
SMTP
rrent
RTP
Page 17
TCP/IP protocol suite
Hourglass structure
Page 18
Application
Transport
TCP/IP
protocol Network
suite
Data link
Physical
Page 19
Outline
1. Layered architecture
2. Layers in the TCP/IP protocol suite
3. Encapsulation and decapsulation
Page 20
Data transmission process
Amy Bob
Segment /
User datagram Ht M Transport --- Process --- Transport Ht M
Page 21
Question
The hosts have five layers in the TCP/IP protocol suite. What layers are
involved in a link-layer switch or a router? Why?
Application
Transport Router
Network
Link-layer
Data link switch
Physical
Page 22
Layers in link-layer switches and routers
Sender
message M Application
segment Ht M Transport
datagram Hn Ht M Network Link-layer
switch
frame Hl Hn Ht M Data link
bits Physical Hl Hn Ht M Data link Hl Hn Ht M
Physical bits
Receiver
M Application
Ht M Transport Hn Ht M Network Hn Ht M
Hn Ht M Network Hl Hn Ht M Data link Hl Hn Ht M
Hl Hn Ht M Data link bits Physical
Physical
Router
Page 23
Layers in link-layer switches and routers
Sender
message M Application
segment Ht M Transport
datagram Hn Ht M Network Link-layer
switch
frame Hl Hn Ht M Data link
bits Physical Hl Hn Ht M Data link Hl Hn Ht M
Physical bits
Receiver
M Application
Ht M Transport Hn Ht M Network Hn Ht M
Hn Ht M Network Hl Hn Ht M Data link Hl Hn Ht M
Hl Hn Ht M Data link bits Physical
Physical
Router
Page 24
History of TCP/IP protocol suite
Application
Transport
Network
Father of Physical
the Internet
Page 25
Summary
Encapsulation
Page 26
Quiz
1. What are the five layers in TCP/IP protocol suite, and what are
the main services provided by each layer?
2. Which layers of the TCP/IP protocol suite are involved in a
router, a link-layer switch or a host?
3. What are the message in the application layer, the segment in
the transport layer, the datagram in the network layer and the
frame in the data link layer?
4. In an internet, we change the LAN technology to a new one.
Which layers in the TCP/IP protocol suite need to be changed?
Page 27
Thanks!
工科类 20 号
教师:唐晓岚
Page 28