Documente Academic
Documente Profesional
Documente Cultură
possible. In the first one, the file is chopped up into packets. The
receiver individually
acknowledges these packets, but the file transfer as a whole is not
acknowledged. In the
second one, the packets are not acknowledged individually, but the
entire file is
acknowledged when it arrives. Compare the two approaches. (1 point)
If the network tends to lose packets, it is better to acknowledge each one
separately, so the lost packets can be retransmitted. On the other hand, if the
network is highly reliable, sending one acknowledgement at the end of the
entire transfer saves bandwidth in the normal case (but requires the entire file
to be retransmitted if even a single packet is lost).
L. Explain the TCP connection establishment process. (1 point)
Normal Connection Establishment: The "Three Way Handshake"
To establish a connection, each device must send a SYN and receive an ACK for it from the other
device. Thus, conceptually, we need to have four control messages pass between the devices.
However, it's inefficient to send a SYN and anACK in separate messages when one could
communicate both simultaneously. Thus, in the normal sequence of events in connection
establishment, one of the SYNs and one of the ACKs is sent together by setting both of the
relevant bits (a message sometimes called a SYN+ACK). This makes a total of three messages,
and for this reason the connection procedure is called a three-way handshake.
Question 2 (4 points)
An application client/server use the network depicted at Figure 1. The server
sends a packet
(1000 bytes) to the client. For the communication between the client and the
server there are two
routes : Route1 = (R1-R2-R3) and Route2 = (R1-R4-R5-R6-R7-R3). The network
uses OSPF
routing protocol. Which is the best route for the communication? Explain your
answer.
Figure 1.
Question 3 (4 points)
Let consider the network topology depicted at Figure 2. A line represents each
physical
link and the cost of this link is indicated by the numerical value stated above the
line.
Each router runs the link state routing protocol OSPF (Open Shortest Path First),
with a
global view of the network.
Only for routers A and B :
a. Use Dijkstra (OSPF uses Dijkstra), to determine the shortest paths and the cost
of
the paths to each destination.
b. Fill the following table (Table 1) for routers A and B, to obtain their routing
table,