1
1
Answer:
RTT = 30
Answer:
Given RTT=10+10=20msec=1/20*10(pow)-3
= 50bits/sec
Max throughput=(65535*8)bits*50bits/sec
=26.214Mbps
= (26.214Mbps/1Gbps)*100 = 2.62%
3) What is the fastest line speed at which a host can blast
out 1500 bytes TCP payloads with a 120 sec maximum
packet lifetime without having the Sequence numbers
wrap around? Take TCP, IP, and Ethernet overhead
into consideration. Assume that Ethernet frames may
be sent continuously.
IP header = 20 bytes
= 298929723.8016 bits/sec
= 298.9 Mbps
The maximum line speed is 298.9 Mbps.
Answer:Given RTT=10+10=20msec=1/20*10(pow)-3
= 50bits/sec
=26.214Mbps
= (26.214Mbps/1Gbps)*100 = 2.62%
line, the delay is 100 µsec one way and 200 µsec round trip. A 1-
KB packet
has 8192 bits. If the time to send 8192 bits and get the
acknowledgement is
40 Mbps.
8) Calculate the bandwidth – delay product for the
following networks
i. T1 (1.5Mbps)
ii.Ethernet(10Mbps)
iii.T3 (45Mbps)
iv.STS-3(155Mbps)
Answer:The answer are: (1) 18.75 KB, (2) 125 KB, (3) 562.5 KB,
(4) 1.937 MB. A
tinuously using TCP and keep the pipe full if the network
technology used is
1500 bytes, it takes 2250 packets to fill the pipe, so the window
should be at
Answer:
11 )Suppose that node B in Fig. 5-20 has just rebooted
and has no routing information in its tables. It
suddenly needs a route to H. It sends out broadcasts
with TTL set to 1, 2, 3, and so on. How many rounds
does it take to find a route?
Answer:
In the warning bit method, the router explicitly sets a special bit
in the packet’s header to tell the source the congestion.
In the RED method, the router just discards the selected packet
and not report it, waiting the source eventually notice the
lack of acknowledgement and implicitly know the congestion.
In the warning bit method, only when there is no buffer space left
will the router drop the packet.
In the RED method, the router will drop the packet if the average
queue length on some line exceeds a threshold, even though
at that time there is still buffer space left.
C +ρS = MS
S = C / (M – ρ)
S = 1 / ( 50 – 10 ) = 25 ms.
15) A computer on a 6-Mbps network is regulated by a
token bucket. The tokenbucket is filled at a rate of 1
Mbps. It is initially filled to a capacity with 8
megabits.How long can the computer transmit at a full
6 Mbps?
Answer:
= 53687091.2 bps
= 53.7Mbps
17)Suppose that host A is connected to a router R1,R1 is
connected to another router R2 & R2 is connected to
host B. Suppose that a TCP message that contains 900
bytes of data & 20 bytes of TCP header is passed to
the IP code at host A for delivery to B.Show the Total
Length, Identification,DF,MF & Fragment offset fields
of the IP header in each packet transmitted over the 3
links.Assume that link A-R1 can support a maximum
frame size of 1024 bytes including a 14-byte frame
header, link R1-R2 can support a maximum frame size
of 512 bytes, including an 8-byte from header & link
R2-B can support a maximum frame size of 512 bytes
including a 12-byte frame header.
Answer:
a) Link A-R1:
b) Link R1-R2:
c) Link R2-B:
11111111111111111111000000000000
Therefore there are 212 - 2 hosts. The reason 2 is subtracted is
because the values 0 and-1 are reserved. This calculates to
be 4094.
1 36 292 0 1
2 36 292 256 1
3 36 292 512 1
4 36 292 768 0