Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer the following questions. Working and/or explanations would be greatly appreciated The learning outcome of this assignment is to illustrate HTTP and its relationship

Please answer the following questions.

Working and/or explanations would be greatly appreciated

image text in transcribed

The learning outcome of this assignment is to illustrate HTTP and its relationship to lower-level protocols. To this end, you are required to study a given HTTP request sent to www.glory.co.nz and the response returned by www.glory.co.nz. You will be asked to map the request and response to the lower-level protocols. 1. Assuming that the HTTP request is version 1.1, what is the mandatory HTTP header the request should contain? Please provide the complete header line consisting of both the header field as well as value in the correct format. The size of the HTTP request is 674 bytes. You are asked to calculate packet sizes for the various protocols that lie beneath HTTP. To do so, please assume that you would maximize the packet sizes (think about why you would want to maximize packet sizes) 2. How many TCP packets would you need to send for this HTTP request, ignoring handshakes and re-transmissions? 3. What is the size of the first TCP packet, assuming there are no TCP options? Plcase provide the answer in bytes 4. What is the size of the first IP packet, assuming there are no optional flags? Please provide the answer in bytes. 5. What is the size of the first Ethernet packet? In the size calculations, include the fields representing source and destination MAC addresses, type, payload, and the checksum. Please provide the answer in bytes. 6. What is the size of the payload this Ethernet packet carries? Please provide the answer in bytes The size of the HTTP response is 24821 bytes. You are asked to calculate packet sizes for the various protocols that lie beneath HTTP. To do so, please assume that you would maximize the packet sizes (again, think about why you would want to maximize packet sizes) 7. How many TCP packets would you need to send for this HTTP response, ignoring handshakes and re-transmissions? 8. What is the size of the first TCP packet, assuming there are no TCP options? Please provide the answer in bytes 9. What is the size of the first IP packet, assuming there are no optional flags? Please provide the answer in bytes. 10. What is the size of the first Eshernet packet? In the size calculations, include the fields representing source and destination MAC addresses, type, payload, and the checksum. Please provide the answer in bytes. 11. What is the size of the payload the first Ethernet packet carries? Please provide the answer in bytes. 12. What is the size of the last TCP packet, assuming there are no TCP options? Please provide the answer in bytes. 13. What is the size of the last IP packet, assuming there are no optional flags? Please provide the answer in bytes. 14. What is the size of the last Ethernet packet? In the size calculations, include the fields representing source and destination MAC addresses, type, payload, and the checksum. Please provide the answer in bytes 15. What is the size of the payload the last Ethernet packet carries? Please provide the answer in bytes. The learning outcome of this assignment is to illustrate HTTP and its relationship to lower-level protocols. To this end, you are required to study a given HTTP request sent to www.glory.co.nz and the response returned by www.glory.co.nz. You will be asked to map the request and response to the lower-level protocols. 1. Assuming that the HTTP request is version 1.1, what is the mandatory HTTP header the request should contain? Please provide the complete header line consisting of both the header field as well as value in the correct format. The size of the HTTP request is 674 bytes. You are asked to calculate packet sizes for the various protocols that lie beneath HTTP. To do so, please assume that you would maximize the packet sizes (think about why you would want to maximize packet sizes) 2. How many TCP packets would you need to send for this HTTP request, ignoring handshakes and re-transmissions? 3. What is the size of the first TCP packet, assuming there are no TCP options? Plcase provide the answer in bytes 4. What is the size of the first IP packet, assuming there are no optional flags? Please provide the answer in bytes. 5. What is the size of the first Ethernet packet? In the size calculations, include the fields representing source and destination MAC addresses, type, payload, and the checksum. Please provide the answer in bytes. 6. What is the size of the payload this Ethernet packet carries? Please provide the answer in bytes The size of the HTTP response is 24821 bytes. You are asked to calculate packet sizes for the various protocols that lie beneath HTTP. To do so, please assume that you would maximize the packet sizes (again, think about why you would want to maximize packet sizes) 7. How many TCP packets would you need to send for this HTTP response, ignoring handshakes and re-transmissions? 8. What is the size of the first TCP packet, assuming there are no TCP options? Please provide the answer in bytes 9. What is the size of the first IP packet, assuming there are no optional flags? Please provide the answer in bytes. 10. What is the size of the first Eshernet packet? In the size calculations, include the fields representing source and destination MAC addresses, type, payload, and the checksum. Please provide the answer in bytes. 11. What is the size of the payload the first Ethernet packet carries? Please provide the answer in bytes. 12. What is the size of the last TCP packet, assuming there are no TCP options? Please provide the answer in bytes. 13. What is the size of the last IP packet, assuming there are no optional flags? Please provide the answer in bytes. 14. What is the size of the last Ethernet packet? In the size calculations, include the fields representing source and destination MAC addresses, type, payload, and the checksum. Please provide the answer in bytes 15. What is the size of the payload the last Ethernet packet carries? Please provide the answer in bytes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions