Professional Documents
Culture Documents
Question 2 (0,75 points): Explain the differences between the MAC algorithm of IEEE802.15.4 and the MAC algorithm of
IEEE802.11.
Question 3 (1 point): Explain the differences between IPv4 header and IPv6 header (scheme of headers in additional
information).
Question 4 (1 point): Explain the working procedure of the Dynamic Source Routing (DSR) algorithm for routing in mobile
adhoc networks.
MASTER IN TELECOMMUNICATIONS ENGINEERING
Problem 1 (3 points):
A network administrator has installed two access points (AP) running on the same radio channel in an industrial building. One of
the access points has two computers connected using 802.11b "short-format" mode and transmitting at 11 Mbps. The other
access point also has two computers connected but using 802.11g mode and transmitting at 36 Mbps.
As the industrial building has no walls or obstacles, the coverage area of the two formed BSS overlap completely. That is, all
devices see all other devices.
Switch
Internet
IEEE 802.3
1 Gbps
802.11b
11 Mbps 802.11g
Short Format 36 Mbps
a) (0.75 points) Explain the implications of this configuration by commenting especially on whether the two 802.11 networks can
function in this way.
b) (0.75 points) Suppose for a moment that the two BSS are configured to work in different channels and without overlap between
them. If computers only transmit unicast data to Internet and there is no other type of traffic, what would be the maximum
aggregated throughput of each of the two BSS?
Aggregated throughput is the sum of the throughput of all devices within each BSS. Because all stations in each of the
BSSs transmit the same type of packets, we can calculate the aggregated throughput by simply dividing the number of
bits of data in a packet by the total time spent transmitting that packet.
Packet transmission time is: Time = DIFS + BACKOFF + T_DATA + SIFS + T_ACK
Because the two BSSs are completely independent, BSS 802.11b will use 802.11b settings, and BSS 802.11g will use
802.11g settings.
BSS 802.11b:
Time11b = 50 µs + 310 µs + (96 + 536 * 8 / 11) µs + 10 µs + (96 + 14 * 8 / 11) µs = 962,0 µs
BSS 802.11g:
Temps11g = 28 µs + 67,5 µs + (26 + é(22 + 536 * 8) / 144ù * 4) µs + 10 µs + (26 + é(22 + 14 * 8) / 144ù * 4) µs = 281,5
µs
c) (0.75 points) If we now consider that the two BSSs actually use the same radio channel, what is the maximum aggregated
throughput of each of the two BSS.
In this case, when a computer of one BSS is transmitting, the computers of the other BSS will not be able to transmit
because they will sense the channel occupied. Therefore, since the number of computers in each BSS is the same, we
can consider that, on average, alternate packets of each of the BSS will be transmitted:
(A more precise approach would have to contemplate that, as 802.11g has smaller DIFS and backoff, they would have
a higher access probability than 802.11b, and the transmission pattern would not be 50%-50%. Nevertheless, we do not
consider this aspect in the solution).
Then the aggregated throughput of a BSS will be: Thr_ag = Length_data / (Time11b + Time11g)
Since the average length of the data field of the packets sent in each BSS is the same, the aggregated throughput of the
two BSSs will also be the same and will be:
Throughput_aggregated_11g = Throughput_ aggregated _11b = 500 * 8 bits / (962,0 µs + 281,5 µs) = 3,22 Mbps
d) (0.75 points) Based on the situation of case b) where the radio channels are different, if now each computer transmits, in
addition to the unicast traffic, 100 packets / second of broadcast traffic at MAC level, what is the maximum aggregated throughput
of unicast traffic of each of the two BSS?
If we consider that broadcast packets must always be sent, we can perform the calculation of the unicast packet
throughput calculating the remaining time that each BSS has to transmit unicast packets.
We observe what happens in a period of, say, 1 second. We calculate how long it takes to send broadcast packets, and
the rest will be for unicast packets.
The number of broadcast packets per second in each BSS is 600. Each BSS has to upload 200 packets_broadcast /
second and has to download 400 packets_broadcast / second.
Once we have the time devoted to transmit unicast traffic during the 1 second period, we calculate how many unicast
packets we can send during it, and finally we look for the throughput multiplying by the data bits contained in each packet.
Broadcast packets do not use acknowledgement and are sent at the minimum speed of the mode used, which for 802.11b
short-format is 2 Mbps and for 802.11g is 6 Mbps.
BSS 802.11b:
Time11b_broad = 50 µs + 310 µs + (96 + 136 * 8 / 2) µs = 1000,0 µs
Time_left_for_unicast_11b = 1 sec - 600 packets_broadcast * 1000 µs / packets_broadcast = 400000 µs
Number of unicast packets sent in 1 second = 400000 µs / 962 µs = 415,8 packets
Unicast data bits sent in 1 second = Throughput aggregated BSS 802.11b = 415,8 packets * (500 * 8 bits/packet) =
1,66 Mbps
BSS 802.11g:
Time11g_broad = 28 µs + 67,5 µs + (26 + é(22 + 136 * 8) / 24ù * 4) µs = 309,5 µs
Time_left_for_unicast_11g = 1 sec - 600 packets _broadcast * 309,5 µs/ packets_broadcast = 814300 µs
Number of unicast packets sent in 1 second = 814300 µs / 281,5 µs = 2892,7 packets
Unicast data bits sent in 1 second = Throughput aggregated BSS 802.11g = 2892,7 packets * (500 * 8 bits packet) =
11,57 Mbps
MASTER IN TELECOMMUNICATIONS ENGINEERING
Problem 2 (1,25 points): An SDN controller is calculating the Fair Rate using Max-Min criteria for the greedy connections
established between each pair source-destination {Si, Di} of the following figure.
#2 – 12 Mbps
S3, S4
a) Indicate the type of information the controller needs to collect from the network to be able to calculate the fair rate.
b) Calculate the values justifying the procedure, and fill in the following table:
#Source 1 2 3 4 5 6
Fair Rate
#Link 1 2 3 4
Spare bandwidth
Solution:
#Source 1 2 3 4 5 6
Fair Rate 5 5 8 4 4 4
c)
#Link 1 2 3 4
Spare bandwidth 0 0 2 0
MASTER IN TELECOMMUNICATIONS ENGINEERING
The network design done by an operator in a rural area to deploy GPON using fiber-to-the-home, is providing a guaranteed fixed
rate of 100 Mbps to each of the 1218 subscribers.
Technical features:
Each OLT can support up to 128 subscribers.
The DBA has been implemented using frames of 38912 bytes every 125 µs (upstream and downstream, both), supporting
128 fixed size GEM frames, assuming no headers.
Solution:
a) Single GEM frame rate = (38912 ·8 / 125 µs) / 128 GEM frames = 19.46 Mbit/s.
GEM frames consumption per subscriber = Ceiling (100 Mbps / 19.46 Mbit/s) = 6 frames.
Subscribers supported in each OLT = Int (128/6) = 21.
b) OLTs required = Ceiling (1218 / 21) = 58. à 58 splitters required.
c) All the splitters: 21 ports, all in use.
d) Attenuation = 10 log 21 = 13.22 dB.
Problem 4 (0,75 points): According to the modulation used in ADSL (G.992.1) (256 carriers, 4.3125 KHz each, 4000 bauds and
up to 15 bits/symbol):
a) Calculate the granularity (minimum step in bitrate).
b) Propose a solution to make the granularity thinner while keeping the total rate provided. Show a numerical example.
Solution:
b) Reduce the baud rate and increasing the maximum bits/symbol. For instance:
Baud Rate = 2000; 30 bits / symbol. à 2000 x 30 = 60 Kbps. Now granularity = 2 Kbps.
MASTER IN TELECOMMUNICATIONS ENGINEERING
ADDITONAL INFORMATION:
IPv4 and IPv6 headers:
802.11b 50 10 20 The 31
subfields within
1023 the Frame Control field of control frames are set as illustrated in Figure 7-5.
802.11a 34 16 9 15 1023
B0 B15
802.11g 28 / 50 10 9 / 20 15 / 31 1023
Protocol Type Subtype To From More Retry Pwr More Protected Order
28 / 50 (2,4 GHz) 10 (2,4 GHz) 9 / 20 (2,4 GHz) 15 / 31 (2,4 GHz)
Version DS DS Frag Mgt Data Frame
802.11n 1023
34 (5 GHz) 16 (5 GHz) 9 (5 GHz) 15 (5 GHz)
Protocol Pwr
Control Subtype 0 0 0 0 0 0 0
802.11ac 34 16 9 15
Version 1023 Figure 7-8?ACK frame Mgt
Bits : 2 2 4 1 1 1 1 1 1 1 1
Standard Data rates (Mbps)
The RA field of the ACK frame is copied from the Address 2 field of the immediately previous directed
802.11 1; 2; data, management, BlockAckReq control,Control
Figure 7-56Frame BlockAck control,
field or PS-Poll
subfield valuescontrol
withinframe.
control frames