1: (1) What are the bits (1s and 0s) in the mask /14? (2) If /14 is the network mask, how many bits are there in the network part and in the subnet part, respectively? (3) If /28 is the network mask, how many hosts you can have in such a (sub)network? (4)Why do you need a network mask in the routing table? (20 pts)
2: What are the maximum number of subnets and hosts in each case? (20 pts)
a Class A; mask 255.255.0.0
b Class A; mask 255.255.192.0
c Class B; mask 255.255.192.0
d Class C; mask 255.255.255.192
e Class C; mask 255.255.255.240
3: Describe the rules for best-match selection in IP routing. (7 pts)
4: A friend wants to install a wireless home network. The friend wants to use either 802.11g or 802.11n. What advice would you give your friend? (8pts)
(a) Class C; mask 255.255.255.240
3: Describe the rules for best-match selection in IP routing. (7 pts)
4: A friend wants to install a wireless home network. The friend wants to use either 802.11g or 802.11n. What advice would you give your friend? (8pts)
5: Describe the CSMA/CA+ACK protocol. Do not go into details about how long a host must wait to transmit if there is no traffic. (8 pts)
6: Describe the RTS/CTS protocol and when does it make sense to use? (7 pts)
7: TCP opens a connection using an initial sequence number (ISN) of 14,534. The other party responds with an ISN of 21,372. Show the three TCP segments during the connection establishment. (8 pts)
8. A window holds bytes 2001 to 5000. The next byte to be sent is 3001. (15 pts)
(1) Draw a figure to show the situation of the sliding window. Please follow the slide #19 in TCP. (6 pts)
(2) Draw the figure again after a segment carrying 1000 bytes is sent and meanwhile the bytes between 2001-2500 were acknowledged and the window size is the same. (6 pts)
9: Show a congestion control diagram, assuming the sender observes the first failure point at 24