Documente Academic
Documente Profesional
Documente Cultură
Introduction to
Network
Layer
Application Application
Transport Transport
Network Network
Data link Message Message Data link
Physical Physical
Internet
A B
Network
A connectionless
packet-swtiched network
R1 R2
4 3 2 1 2
Sender 1
Network
4
2
3
R4 1
3 3
4 1 3 4 2
R3 R5 Out of order Receiver
Legend
Routing table
SA: Source address
Destination Output DA: Destination address
address interface
A 1
B 2
SA DA Data SA DA Data
1 2
3 4
In a connectionless packet-switched
network, the forwarding decision
is based on the destination address of
the packet.
Destination
Souce
Total delay
2
4 3 2 1
4
3
2
1
4 3 2 1 4 3 2 1
In a connection-oriented packet
switched network, the forwarding
decision is based on the
label of the packet.
Routing Table
Legend
Incoming Outgoing
SA: Source address
Port Label Port Label DA: Destination address
1 L1 2 L2 L1, L2: Labels
1 2
3 4
A to B Legend
Incoming Outgoing A to B Request packet
Network Port Label Port Label
Virtual circuit
1 14 3
1 R2
R1 2
A to B
1 4
3
A
R5 Network
2 A to B
1 2 3 2 3 4
A to B A to B
3 1 4
R3 R4 B
A to B Legend
Incoming Outgoing Acknowledge packet
Network Port Label Port Label Virtual circuit
1 14 3
4 R1 R2
2
14 4
1
3
A R5 Network
3 66 66
1 2 2 2 3 1
22 77
3 22 1 4
R3 R4 77
B
A to B Legend
Incoming Outgoing
A B Data Datagram
Port Label Port Label
Network 66 Virtual circuit
1 14 3
R1 R2
2
14 A B Data
1 4
A 3
R5 Network
66 A B Data
12 2 3
22 A B Data 77 A B Data
3 1 4
R3 R4
Source Destination
1
Setup
2
Total delay
3 Transmission
time
4
5
Teardown