100% found this document useful (1 vote)
915 views2 pages

Chapter 4 Sample Questions

The document discusses two questions related to IP fragmentation and SDN OpenFlow networks. For the first question, the datagram would be fragmented into 4 packets, with identification number 291. The fragments would have offsets of 0, 60, 120, 180, and the first 3 would have the flag set to 1 while the last would be set to 0. For the second question, the flow table entries for switch s2 are specified to forward packets between different host groups as desired.

Uploaded by

rameshnuvkeka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
915 views2 pages

Chapter 4 Sample Questions

The document discusses two questions related to IP fragmentation and SDN OpenFlow networks. For the first question, the datagram would be fragmented into 4 packets, with identification number 291. The fragments would have offsets of 0, 60, 120, 180, and the first 3 would have the flag set to 1 while the last would be set to 0. For the second question, the flow table entries for switch s2 are specified to forward packets between different host groups as desired.

Uploaded by

rameshnuvkeka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Chapter 4

1) p. 396, P14
Consider sending a 1,600-byte datagram into a link that has an MTU of 500 bytes.
Suppose the original datagram is stamped with the identification number 291.
How many fragment are generated? What are the values in the various field in the
IP datagram(s) generated related to fragmentation?

Answer:
The maximum size of data field in each fragment = 480 (because there are 20 bytes IP

header). Thus the number of required fragments =

Each fragment will have Identification number 291. Each fragment except the last one
will be of size 500 bytes (including IP header). The last datagram will be of size 160
bytes (including IP header). The offsets of the 4 fragments will be 0, 60, 120, 180.
Each of the first 3 fragments will have flag=1; the last fragment will have flag=0.

2) P. 397, p19 (scan Figure 4.30)


Consider the SDN OpenFlow network shown as follows. Suppose that the desired
forwarding behavior for datagrams arriving at s2 is as follows:
Any datagrams arriving on input port 1 from hosts h5 or h6 that are destined to
hosts h1 or h2 should be forwarded over output port 2;
Any datagrams arriving on input port 2 from hosts h1 or h2 that are destined to
hosts h5 or h6 should be forwarded over output port 1;
Any arriving datagrams on input ports 1 or 2 and destined to hosts h3 or h4
should be delivered to the host specified;
Host h3 and h4 should be able to send datagram to each other.
Specify the flow table entries in s2 that implement this forwarding behavior.
Answer:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy