Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 : a ) Consider a network in which packets are delivered reliable across each link. That each, for each pair of adjacent nodes
Question :
a Consider a network in which packets are delivered reliable across each link.
That each, for each pair of adjacent nodes A B the datalink layer has an ARQ
protocol such as stopandwait that ensures packets sent by A do arrive at B
In this network, why do you think is necessary for the transport layer to also
have its own ARQ protocol and do retransmissions of its packets?
b Consider a network in which the datalink layer protocol between two
machines in the network was replaced by a different datalink layer protocol.
In general, how will this affect the transport, session, presentation, and
application layers?
Question
Assume we have two hosts A B separated by a link. The propagation delay of
the link is ms the bandwidth of the link is Kbytessec and all
packets are Kbyte. Assume the processing delay at B is ms
a What is the bandwidthdelay product of the link?
b What is the transmission delay of a packet?
c What is the propagation delay of a packet?
d Assume that at time t host A begins to transmit the first bit of the
packet. At what time is the packet delivered to the application at B
Question
Assume that the following data bits are sent across a link
what are the physical bits low high, sent if:
a we use manchester encoding
b if we use BB assume initially low
c we use NRZI in addition to b above assume initially low
Question
Consider the bit insertion protocol. There are several ways to encode "idleness"
aie a followed by more than ones
bie the flag, then many ones, then the flag again
cie many flags in a row
Argue that the receiver pseudocode that we gave in the slides will throw
away all of these bits ie it will consider them idleness and throw them
away
Question
Consider the parity bit protocol with column parity bits the Ps and row
parity bits the Qs No r bit in the corner. We said this protocol can catch
all single and double bit errors. PROVE it by doing a case analysis of where the
corrupted bits can be located.
Question CRC and parity
a Assume that we are sending a message using CRC and an error occurs that
only corrupts data bits no CRC bits are corrupted, ie not bits in the
remainder R are corrupted Will the receiver catch all errors of this type?
If so explain why. If not, give a counterexample.
b Assume that we are sending a message using CRC and an error occurs that
only corrupts the CRC check bits ie only the bits in the remainder R
Will the receiver catch all errors of this type? If so explain why. If not,
give a counterexample.
c Same as a except we are using parity, with the ps and the qsno r
d Same as b except we are using parity, with the ps and the qsno r
Question CRCs
Assume that our generator polynomial G is the product PX where P is a
primitive polynomial ie it does not divide etc
a Assume P as a polynomial, ends in What are the types of errors that
G can detect? xbit detection, where x is or
b Assume P as a polynomial, does not end in What are the types of
errors that G can detect? xbit detection, where x is or
Question
Consider the stopandwait ie alternating bit protocol. Modify the
protocol so that instead of obtaining the data ie the body of the frame
from the "higher layer", we get it from an array of integers, and the receiver
has an array of integers where it stores the data received. The purpose is to
copy the array in the sender to the array in the receiver one element at the
time of course
I.e add the following array to the sender:
datasender : array integer of integer;
ns: integer initially
I.e an infinite array hence the index can be any integer ns is an index of
which data is the next one to send ie next data to send is datasenderns
In the receiver, add the following array
datareceiver : array integer of integer;
nr: integer initially
nr is an index of where to store the next data to be received
frames will now have the format
frameb x
where b is a bit or and x is an integer from the data array of course
Question
a Consider the concurrent logical channels protocol. Could you add something
similar to part a above to the concurrent logical channels without major
modifications to the protocol Explain why yes or why no
b Consider again the concurrent logical channels protocol. Can we eliminate the
bit in the acknowledgment? I.e can ack's b
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started