Beruflich Dokumente
Kultur Dokumente
Figure 4.1 Internet as a block box Figure 4.2 Internet as a combination of LANs and WANs connected together
Application Application
Transport Transport
Network Network
Data link Message Message Data link
Physical Physical
Internet
A B
1
12/30/2017
Example 4.1
A good example of a circuit-switched network is the early
telephone systems in which the path was established between
a caller and a callee when the telephone number of the callee
Note was dialed by the caller. When the callee responded to the call,
the circuit was established. The voice message could now flow
between the two parties, in both directions, while all of the
In circuit switching, the whole message connecting devices maintained the circuit. When the caller or
is sent from the source to the callee hung up, the circuit was disconnected. The telephone
destination without being network is not totally a circuit-switched network today.
Sender 1
Network
4
2
3
R4 1
3 3
4 1 3 4 2
R3 R5 Out of order Receiver
2
12/30/2017
Legend
Routing table
SA: Source address
DA: Destination address
Destination Output Note
address interface
A 1
B 2
In a connectionless packet-switched
H 3 Send the packet
out of interface 2 network, the forwarding decision
Destination
address is based on the destination address of
SA DA Data
1 2 SA DA Data the packet.
3 4
Figure 4.5 Delay in a connectionless network Figure 4.6 A connection-oriented packet switched network
Destination
Souce
1
Total delay
4 3 2 1
2 4
3
2
3
1
4 3 2 1 4 3 2 1
Time Time Time Time
Routing Table
Note Incoming Outgoing
Legend
SA: Source address
Port Label Port Label DA: Destination address
1 L1 2 L2 L1, L2: Labels
In a connection-oriented packet
switched network, the forwarding
1 2
decision is based on the 3 4
3
12/30/2017
Figure 4.8 Sending request packet in a virtual-circuit network Figure 4.9 Setup acknowledgement in a virtual-circuit network
A to B A to B Legend
Legend
Incoming Outgoing Acknowledge packet
Incoming Outgoing A to B Request packet
Network Port Label Port Label
Network Port Label Port Label Virtual circuit
Virtual circuit 1 14 3
1 14 3
4 R1 R2
1 R2 2
R1 2
A to B 14 4
4 1
1 3
A 3 A R5 Network
R5 Network
3 66 66
2 A to B
1 2 2 2 3 1
1 2 3 2 3 4
22 77
A to B A to B 3 1 4
3 1 4 R3 22 R4 77
R3 R4 B B
Figure 4.10 Flow of one packet in an established virtual circuit Figure 4.11 Delay in a connection-oriented network
A to B Legend
Incoming Outgoing
A B Data Datagram
Port Label Port Label
Network 66 Virtual circuit Destination
1 14 3 Source
R1 R2 1
Setup
2
14 A B Data 2
1 4
A 3
R5 Network
Total delay
3 Transmission
66 A B Data time
4
12 2 3
22 A B Data 77 A B Data 5
3 1 4
R3 R4
Teardown
7
Incoming Outgoing Incoming Outgoing
Port Label Port Label Port Label Port Label Time Time Time Time
1 66 3 22 1 22 4 77
A to B A to B
4
12/30/2017
Figure 4.13 Services provided at the source computer Figure 4.14 Processing at each router
5
12/30/2017
Note