



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The format of a packet header is part of the protocol. For the Internet, the network-layer protocol is the. Internet Protocol (IP). Encapsulation.
Typology: Study notes
1 / 6
This page cannot be seen from the preview
Don't miss anything!




socket API
message
segment
datagram/packet
frame
source
application
transport
network
link
physical
H t
H n
H l
M
H
t
H
n
M
H t
M
M
destination
H t
H n
H l
M
H t
H n
M
H
t
M
M
network
link
physical
link
physical
H t
H n
H l
M
H t
H n
M
H
t
H
n
H
l
M
H t
H n
M
H
t
H
n
H
l
M H t
H n
H l
M
router
switch
application
transport
network
link
physical
Total length (bytes)
Identification
13 -bit Fragment Offset
Protocol Header Checksum
Source IP Address
Destination IP Address
Options (if any)
Payload (e.g., TCP/UDP packet, max size?)
(i.e., routing) algorithms
0111
local forwarding table
dest address
output link
11001000 00010111 0001000 0 00000000
IP address:
12.4.0.
prefix mask:
255.254.0.
200.23.16.0/
200.23.18.0/
200.23.30.0/
200.23.20.0/
200.23.16.0/
200.23.18.0/
200.23.30.0/
200.23.20.0/
4.0.0.0/
4.83.128.0/
12.0.0.0/
12.34.158.0/
126.255.103.0/
destination
forwarding table
outgoing link
Serial0/0.
type code
The first 8 bytes of IP datagram causing error
8 bits 8 bits 16 bits