Tutor knowledgeComputer NetworksLLM Files / Knowledge Files190 KB
{0}------------------------------------------------
Image /page/0/Picture/1 description: The image shows the logo of TU Delft. The logo consists of a stylized flame above the letters 'TU' in black and blue, respectively, followed by the word 'Delft' in black.
Examiner responsible: Fernando Kuipers Examination reviewer: Otto Visser
2025-07-14
Please read the following information carefully! (The same information is on the exam and on the answer sheet)
{1}------------------------------------------------
These answers are not meant as model answers, but rather to give an idea of what is the correct solution. To get full points for the questions, we expect work shown and detailed explanations.
{2}------------------------------------------------
Solution: The transport layer, session layer, presentation layer, and application layer. All lower layers are needed on the other nodes along the path as well.
Solution: IPv4 is 32 bits, IPv6 is 128 bits.
Solution: NAT replaces the IP address and port number in packets and keeps a mapping of external port numbers to a combination of internal IP address and port number.
Solution: POP and IMAP are for receiving/reading email, XMPP is for instant messaging, SMTP is for sending.
{3}------------------------------------------------
Solution: 110011 111000 011110
Solution: , port 2 , port 3 , port 3 , port 1 This replaces an earlier entry.
Solution: The simplified answer: 2 from A to B, 4 from B to C, 8 from C to destination without MTU discovery and 12000/1500=8 at B, 8 at C, and 8 at the destination with MTU discovery. A more accurate answer would take into account that IP headers occupy space and that the size of all but the last fragment needs to be divisable by 8.
Solution:
Solution: 010 100 111 000 / 1111 gives remainder 001, so the message is 010 100 111 001
{4}------------------------------------------------
Image /page/4/Figure/5 description: The image shows a graph with nine nodes labeled 1 through 9. The nodes are connected by edges with associated weights. Node 1 is connected to node 2 with a weight of 5 and to node 3 with a weight of 2. Node 2 is connected to node 3 with a weight of 1, to node 4 with a weight of 9, and to node 5 with a weight of 3. Node 4 is connected to node 7 with a weight of 1 and to node 6 with a weight of 2. Node 5 is connected to node 6 with a weight of 1. Node 6 is connected to node 8 with a weight of 5 and to node 9 with a weight of 3. Node 7 is connected to node 8 with a weight of 10.
| To | Cost | Line | |
|---|---|---|---|
| - | |||
| 3 | 3 | ||
| 3 |
Solution: 15 \times 22.08 = 2^{12} \times (22.08 + 10) - 2^b331.2 = 131399.68 - 2<sup>b</sup>b=17
{5}------------------------------------------------
Solution: After receiving: Z: check IP checksum of packet Z X: check IP checksum of packet X Y: check IP checksum of packet Y and check TCP checksum of reassembled segment.
{6}------------------------------------------------
If the goodput from Enna to Snuffles is 816 bytes per second, what is the value of ? Include all steps of the computation.
Solution: Solution: 0.15.
We compute the throughput and then compare to the goodput. First, compute the time to transmit one frame, which is seconds. Second, compute the time until the first ACK is received, which is seconds. Last, check whether that is less than the time to transmit 4 frames, i.e., seconds. The first ACK only arrives after the 4 frames have been sent, so we get the throughput by dividing the number of bytes in the 4 frames (namely ) by the time needed to receive the first ACK: . However, x fraction of the sent data is overhead, so we need to multiply the above value with 1-x to obtain the goodput of 816. This means 1-x is , and x is 0.15
Solution: The message is encrypted with the key of every relay on the way, starting with the last relay (reverse order). This ensures that every relay only learns the information of what needs to be sent as the next step in the process.
{7}------------------------------------------------
Orsik receives the cyphertext 0110 1110, and the IV 1011. Derive the plaintext. Include intermediary steps.
Solution: Solution: 0111 1011. Make sure to decrypt and not encrypt. Note that when decrypting the first bit becomes the fourth, the second becomes the first, the third becomes the second, and the fourth the third, i.e., the inverse mapping to the one described in the exercise.
Take the first 0110 and apply the inverse P-box to get 1100. As the initial vector has been XOR-ed to the first plaintext block, we retrieve the plaintext block by XOR-ing 1100 with initial vector 1011 and get 0111. For the second block 1110, we get 1101 after applying the P-box. We now XOR the first cyphertext block, 0110, to get 1011.
{8}------------------------------------------------
10 points: B
10 points: D
10 points: D
{9}------------------------------------------------
• 2 points: Explain at least why s2 not on port 2
{10}------------------------------------------------
{11}------------------------------------------------
10 points: D
{12}------------------------------------------------
Image /page/12/Picture/1 description: The image shows the logo for TU Delft. The logo consists of the letters "TU" in bold, with the "U" in a lighter blue color. Above the letters is a stylized flame. To the right of the letters is the word "Delft" in black.
Examiner responsible: Fernando Kuipers Examination reviewer: Otto Visser
2025-06-23
Please read the following information carefully! (The same information is on the exam and on the answer sheet)
{13}------------------------------------------------
These answers are not meant as model answers, but rather to give an idea of what is the correct solution. To get full points for the questions, we expect work shown and detailed explanations.
{14}------------------------------------------------
Solution: physical: bit data link: frame network laver: packet transport layer: segment session, presentation, and application layers do not have a specific name for what is being transmitted.
| Solution: | time | what happens |
|---|---|---|
| 0 | A sends | |
| 8 | D sends ACK | |
| 10 | A receives ACK, B and C backoff | |
| 25 | C backoff done, C starts sending, B pauses backoff | |
| 33 | D sends ACK | |
| 35 | C receives ACK, B resumes backoff | |
| 40 | B backoff done, it can send |
{15}------------------------------------------------
Solution: gathered: IP address, gateway, DNS server, clock server, and more To be provided : MAC address
Solution: CRC = 1 0010 0001 / 1101 = 11 1101 with remainder 000, which means the message was received correctly.
Purely from a computer networks perspective: which candidate is more correct and as such should get the votes?
{16}------------------------------------------------
Solution: Layer 7 is the application layer. If they are jamming the application, they would have access to either the senders device, or the recipient or some server in between. In either case, VPN would encode the data to that place, but would not prevent a jamming operation on the application layer. Layer 4 (transport layer) jammer would block based on e.g. IP address and/or port number. It is possible they would allow port 443 (https) and block port 80 (http), but that would be extremely unlikely. Jamming WiFi and GSM at the physical layer (1) sounds like a likely scenario and then indeed all hope of communication is lost.
Enumerate the bits from the left, starting at 1.
Solution:
M: 0100 1011 1000 11 -> ab0c 100d 1011 100e 011
a+0+1+0+1+1+1+0+0+1 is odd -> a=0
b+0+0+0+0+1+0+0+1+1 is odd -> b=0c+1+0+0+1+1+0+0 is odd \rightarrow c=0d+1+0+1+1+1+0+0 is odd \rightarrow d=1
e+0+1+1 is odd \rightarrow e=1Solution: 0000 1001 1011 1001 011
| To | From | |||||||
|---|---|---|---|---|---|---|---|---|
| А | C | F | ||||||
| А | 0 | g | 1 | |||||
| B | 6 | 3 | 10 | |||||
| C | 9 | 0 | 7 |
Costs are symmetric. You can assume that the transmission of distance vectors is error-free. If there are multiple options for an outgoing line in a routing table, routers choose the alphabetically first neighbour. Give D's routing table; no further explanation is required.
| To | Cost Line | ||
|---|---|---|---|
| A | 2 | A | |
| B | 8 | A | |
| Solution: | C | 5 | |
| D | 0 | ||
| E | 5 | ||
| F | 3 | A | |
{17}------------------------------------------------
Solution:
Solution: The 64-bit key with 24-bit IV means we need to provide bits for a key of 40 bits or 5 bytes. But 5 ASCII chars do not use the full range of 256 options per byte, most people only use 26 (or double that if they use capitals) 10 numbers maybe 10-ish special characters. In any case, not more than half of the possible range.
Solution: The problem of head-of-line blocking is present in TCP and QUIC solves this by having multiple independent streams over UDP. This way e.g. a video stream is not blocked by a slower part of the webpage like comments or advertisements.
What is the goodput from Enna to Snuffles in bytes per second? Include all steps of the computation. (You may round to two decimal digits)
Solution: Solution: 896 bytes/second.
{18}------------------------------------------------
We compute the throughput and then the goodput. First, compute the time to transmit one frame, which is seconds. Second, compute the time until the first ACK is received, which is 200/1300 + 0.5 + 0.6 1.25 seconds. Last, check whether that is less than the time to transmit 7 frames, i.e., seconds. The first ACK only arrives after the 7 frames have been sent, so we get the throughput by dividing the number of bytes in the 7 frames (namely ) by the time needed to receive the first ACK: . However, 20% of the sent data is overhead, so we need to multiply the above value with 0.8 to obtain the goodput, which gives 896 bytes/second.
Solution: Plaintext: 5.
Image /page/18/Figure/6 description: The image shows a circular diagram with several gray circles arranged in a ring. There are five blue circles with numbers next to them: 30, 3, 7, 17, and 24. An arrow points to the top of the circle, labeled as 'Location 0'.
Figure 1: Chord ring
| i | Address of successor |
|---|---|
| 0 | 24 + 1 -> 30 |
| 1 | 24 + 2 -> 30 |
| 2 | 24 + 4 -> 30 |
| 3 | 24 + 8 (mod 32) -> 3 |
| 4 | 24 + 16 (mod 32) -> 17 |
{19}------------------------------------------------
| <b>Bits</b> | Char | <b>Bits</b> | Char | <b>Bits</b> | Char | <b>Bits</b> | Char |
|---|---|---|---|---|---|---|---|
| 000000 | A | 000001 | B | 000010 | C | 000011 | D |
| 000100 | E | 000101 | F | 000110 | G | 000111 | H |
| 001000 | I | 001001 | J | 001010 | K | 001011 | L |
| 001100 | M | 001101 | N | 001110 | O | 001111 |
Table 1: Base64 conversion table
Kilwic desperately needs to send a binary message to his friend, Taremin, who is across the river. Sadly, he doesn't have time to cross the river himself. Tethis the boatman offers to deliver the message for him, however, Tethis does not have the best memory and will not remember the full binary message. Therefore, Kilwic decides to tell him the base64 encoding of the message, in hopes that this is short enough for Tethis to remember. What is the encoding Kilwic should tell Tethis, if the message that should be delivered is:
01010100 01101111 01110111 01100101 01110010
Solution: VG93ZXI=
Solution: ciphertext is 10 11. XOR 01 with 10: 11. S-box on 11 (3 in decimal): 10 (2 in decimal). XOR 11 with 10: 01. S-box on 01 (1 in decimal): 11 (3 in decimal).
{20}------------------------------------------------
10 points:
10 points: A
10 points:
10 points:
• 10 points: Correct with good reasoning/mathematics
{21}------------------------------------------------
• 5 points: Correct approach, small mistake, consistent conclusion
10 points: B
{22}------------------------------------------------
{23}------------------------------------------------
• 5 points: Correct, but no explanation
{24}------------------------------------------------
Image /page/24/Picture/1 description: The image shows the logo for TU Delft. The logo consists of the letters "TU" in bold, with the "U" in a light blue color. To the left of the "TU" is a black flame. To the right of the "TU" is the word "Delft" in black.
Examiner responsible: Fernando Kuipers Examination reviewer: Otto Visser
2024-07-16
Please read the following information carefully! (The same information is on the exam and on the answer sheet)
{25}------------------------------------------------
These answers are not meant as model answers, but rather to give an idea of what is the correct solution. To get full points for the questions, we expect work shown and detailed explanations.
{26}------------------------------------------------
Solution: Important points are:
Details of the working of lower layers are abstracted away from higher layers. This makes it possible to write e.g. applications without having to know whether the connection is WiFi or Ethernet, tunneled or not, etc. Similarly: the lower layers don't need to know what is happening on higher layers.
Protocols and even hardware can be changed/swapped, only affecting the layers above and helow
{27}------------------------------------------------
Solution: Flags at start and end; escaping the flag and escape byte already in the message. 01111110 11111111 11100000 11100000 11100000 0111111 00000111 11101010 01111110
Solution:
Part 1 of 5 — loading the next…
| 2 |
| 3 |
| Solution: | 4 | 9 | 3 |
| 5 | 6 | 3 |
| 6 | 7 | 3 |
| 7 | 10 | 3 |
| 8 | 12 | 3 |
| 9 | 10 | 3 |
| D | 5 | 3 |
| Ë | 4 | 1 |
| F | 1 | O |
| P |
| 010000 | Q | 010001 | R | 010010 | S | 010011 | T |
| 010100 | U | 010101 | V | 010110 | W | 010111 | X |
| 011000 | Y | 011001 | Z | 011010 | a | 011011 | b |
| 011100 | c | 011101 | d | 011110 | e | 011111 | f |
| 100000 | g | 100001 | h | 100010 | i | 100011 | j |
| 100100 | k | 100101 | l | 100110 | m | 100111 | n |
| 101000 | o | 101001 | p | 101010 | q | 101011 | r |
| 101100 | s | 101101 | t | 101110 | u | 101111 | v |
| 110000 | w | 110001 | x | 110010 | y | 110011 | z |
| 110100 | 0 | 110101 | 1 | 110110 | 2 | 110111 | 3 |
| 111000 | 4 | 111001 | 5 | 111010 | 6 | 111011 | 7 |
| 111100 | 8 | 111101 | 9 | 111110 | + | 111111 | / |