Question

Q.1. For the IP header of a data packet shown below, find the following parameters. (1)...

Q.1. For the IP header of a data packet shown below, find the following parameters.

(1) IP version number

(2) Header length

(3) Total length

(4) Identification

(5) a. Can the data be fragmented during transmission?

b. Is there any more fragments of the data?

(6) Fragment offset

(7) Total time to live

(8) Protocol number

(9) Source IP address

(10) Destination IP address

0 1 0 0   1 0 1 1   0 0 0 0   1 0 0 0   0 0 0 0   0 0 0 1   1 0 0 1   0 1 0 1

0 0 0 0   0 0 0 0   0 0 0 0   0 0 1 0   0 1 1 0   0 0 0 0   0 0 0 0   0 0 1 1

0 0 0 1   1 0 1 0   0 0 0 0   0 1 0 0   1 0 1 0   1 0 1 0   0 1 0 1   0 1 0 1

0 0 0 1   0 1 1 0   0 0 0 1   0 0 1 1   0 0 0 1   0 0 1 0   0 0 0 1   1 0 1 0

0 0 0 1   1 1 0 0   0 0 0 1   1 0 0 1   0 0 1 0   1 0 0 0   0 0 0 1   1 0 1 0

0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0

0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0   0 0 0 0

Homework Answers

Answer #1

The IPv4 header maybe 20 to 60 bytes and it is determined by the header length field.

1. IP Version number = 0100

2. Header length = 1011

3. Total length = 0000 0001 1001 0101

4. Identification = 0000 0000 0000 0010

5. (a). Can the data be fragmented during transmission = Yes

5. (b). Is there any more fragment of data =

Flag bits are = 011

The first bit is reserved for future and the last two bits are used to determine the data is fragmented or not. If fragmented then is it the last fragment or not. The above combination is showing that the data is not fragment and this fragment is not the last fragment. So, this combination is not possible.

6. Fragment offset = 0 0000 0000 0011

7. Total time to live = 0001 1010

8. Protocol number = 0000 0100

9. Source IP address = 0001 0110 0001 0011 0001 0010 0001 1010

10. Destination IP address = 0001 1100 0001 1001 0010 1000 0001 1010

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Problem 2. IP Fragmentation Suppose that a datagram of 2,700 bytes (20 bytes of IP header...
Problem 2. IP Fragmentation Suppose that a datagram of 2,700 bytes (20 bytes of IP header plus 2,680 bytes of IP payload) arrives at a router and must be forwarded to a link with an MTU of 900 bytes. Also suppose that the original datagram is stamped with an identification number of 15. How many IP fragments will be created by the router to forward this packet? For each fragment, determine its datagram length (bytes), identification, offset, and flag. Fragment...
Assume MTU=1500 Byte. Given an IP Packet = 1996 Bytes (header: 20 B + payload: 1976...
Assume MTU=1500 Byte. Given an IP Packet = 1996 Bytes (header: 20 B + payload: 1976 B), show how you will break the packet into fragments. Indicate the value of length, MF flag and offset of each fragment.
An IPv4 datagram has arrived with the following information in the header (in hexadecimal): 4B 04...
An IPv4 datagram has arrived with the following information in the header (in hexadecimal): 4B 04 01 18 01 32 20 34  32 06 58 50  7C 4E 03 02 B4 1E 20 1A What is the header size? Are there any options? What is the size of the data? How many more routers can the packet travel to? What is the identification number of the packet? What is the type of service? What is the destination IP address (in dotted decimal...
- An ISP has a CIDR block 71.94.128.0/17 (01000111 01011110 10000000 00000000). The ISP wants to...
- An ISP has a CIDR block 71.94.128.0/17 (01000111 01011110 10000000 00000000). The ISP wants to sub-divide this into 4 smaller CIDR blocks (all of the same size) for its customers. a. How many bits should the ISP add to the mask to identify the subnets? b. What are the addresses of each smaller block in binary? (Show Work) - A large IPv4 packet with Identification = 123 and with a 20 byte header and 1000 bytes of payload data...
Python Design a class named IP_address to represent IP address objects. The IP_address class contains the...
Python Design a class named IP_address to represent IP address objects. The IP_address class contains the following A number of instance variables/fields to store a table of data. You can design them by your own. A constructor that creates a table with the following: a list of data. ip address a integer to indicate the number of elements in the sum_list/freq_list/average_list A get_ip_address() method that returns the ip address For example, consider the following code fragment: ip_key = '192.168.0.24' data_list...
Python Design a class named IP_address to represent IP address objects. The IP_addressclass contains the following...
Python Design a class named IP_address to represent IP address objects. The IP_addressclass contains the following A number of instance variables/fields to store a table of data. You can design them on your own. A constructor that creates a table with the following: a list of data. IP address an integer to indicate the number of elements in the sum_list/freq_list/average_list A get_ip_address() method that returns the IP address For example, consider the following code fragment: ip_key = '192.168.0.24' data_list =[(0,...
R.1 Suppose the network layer provides the following service. The network layer in the source host...
R.1 Suppose the network layer provides the following service. The network layer in the source host accepsts a segment maximum size 1,200 bytes and guarantees to deliver the segment to the transport layer at the destination host. Suppose many network application processes can be running at the destination host. A. Design the simplest possible transport-layer protocol that will get application data to the desired process at the destination host. Assume the operation system in the destination host has assigned a...
Q.4.12. Typographical errors. Shown below are the number of galleys for a manuscript (X) and the...
Q.4.12. Typographical errors. Shown below are the number of galleys for a manuscript (X) and the total dollar cost of correcting typographical errors (Y) i a random sample of recent orders handled by a firm specializing in technical manuscripts. Since Y involves variable costs only, an analyst wished to determine whether regression-through-the-origin model (4.10) is appropriate for studying the relation between the two variables. i: 1 2 3 4 5 6 7 8 9 10 11 12 Xi: 7 12...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number of address lines is: * 17 19 16 15 20 14 18 2-Which of the following instructions requires (BYTE PTR)? * SHR [500H], 3h LDS SI, [1000H] LAHF PUSH [9AAH] ADD AX, [800H] 3-Where are the interrupt vectors located in the microprocessor’s memory? * in the first 64K byte in the first 1K byte in the first 256K byte in the first 1M byte...
1. Use the data that is posted below to answer the following questions. If your answer...
1. Use the data that is posted below to answer the following questions. If your answer has units to it, then please state those units. Production Options Sugar beets (tons) Wheat  (tons) A 200 0 B 180 20 C 140 40 D 80 60 E 0 80 a) Graph Production Possibilities Frontier (Curve) for Sugar Beets and Wheat. Put sugar beets on the vertical axis and label that axis Sugar Beets and put wheat on the horizontal axis and label that...