Solution: TCP/IP Questions


TCP/IP Questions

Table of Contents

Question 1. 1

1. IPSec datagram protocol 1

2. Source and destination IP addresses in original IP datagram.. 1

3. Source and destination IP addresses in new IP header 2

4. Protocol number in the protocol field of the new IP header 2

5. Information and Bob. 2

Question 2A.. 2

1. SYN and ACK numbers in the SYN+ACK packet 2

2. Congestion and receive window sizes. 3

3. Sequence number of the 9th segment 3

4. Segments received successfully by the server prior to announcement 4

Question 2B.. 4

1. TCP congestion window size as a function of RTT based on TCP Tahoe protocol 4

2. Intervals of time when TCP Tahoe slow start is operating. 5

3. Intervals of time when TCP congestion avoidance is operating. 5

4. Values of the congestion window size and ssthresh. 5

5. Congestion window size when connection is terminated. 5

6. Congestion window size when connected is terminated if TCP Reno is used. 5

References. 7

Question 1

1. IPSec datagram protocol

Following are major components of the IPSec datagram protocol:

  • Outer IP header: It includes the source and destination addresses of the routers and other standard IP header fields. For instance, it contains the address of RTA and RTB.
  • ESP header: This header contains information about ESP protocol. It includes sequence number, security parameter index and other details [1].
  • ESP trailer: it includes authentication trailer and padding when there is use of authentication mechanism.
  • Inner IP address: it contains the original source and IP address along with information about the original protocol [2].

Figure 1: IPSec datagram protocol

2. Source and destination IP addresses in original IP datagram

In the original datagram:

  • Source IP address: 10.28.1.17 – It is the address of the local host located in the headquarter from which data is sent into the network system.
  • Destination IP address: 10.28.2.48 – It is the original IP address of the device which is receiving the payload in IPSec communication.  

3. Source and destination IP addresses in new IP header

In the new IP header:

  • Source address: It is the public IP address of RTA which is 23.1.1.3.
  • Destination address: it is the public IP address of the RTB which is 12.1.1.1

4. Protocol number in the protocol field of the new IP header

In new IP header, protocol number is defined according to the encapsulating security payload. Typically, it is set to 50 for this purpose [1].

5. Information and Bob

Bob can extract the outer IP header information and encapsulating header information. However, the outer source and destination address and protocol cannot be directly used to identify the target devices in the network [2]. Therefore, the Bob cannot extract the original IP datagram and its payload along with other specific details.

Question 2A

1. SYN and ACK numbers in the SYN+ACK packet

In three-way handshaking, host H is sending SYN package with sequence number and the server S sends SYN+ACK packet in reply. The server acknowledges the SYN package of the host and starts a new sequence number in response. This response of the server is acknowledged by the client by sending ACK in return [3].

In SYN+ACK packet, a random number is used as the sequence number. Suppose, the initial sequence number is 200 which is used as ACK number in SYN+ACK then at server side, it is increased by 1 and it becomes 201 [4]. The server uses a random number for acknowledge. Suppose, the ACK is 100. Here is the diagrammatic presentation of the values and three-way handshaking:

Figure 2: Three-way handshaking

2. Congestion and receive window sizes

It is given that initially, congestion window is 32KB and receive window is 20KB. Up to the eighth acknowledge, the client sends eight segments where each is of 1KB in size and server acknowledges each segment in communication. Therefore, the congestion window size is increases to maximum segment size for each acknowledgement [3]. It means, the congestion widow size becomes 40KB but the receiving window size remains unchanged at 20KB. Here is the detailed calculation for the same:

CWND after eight ACK = initial CWND + (Maximum segment size x number of ACKS)

            = 32KB + (1KB x 8)

            = 32KB + 8KB

            = 40KB

3. Sequence number of the 9th segment

As indicated in three-way handshaking diagram, the SEQ of the ninth segment to server would be the next in the sequence where each segment is of size 1KB.

SEQ of ninth segment = Initial SEQ + (number of segments sent x Segment size)

            = 100KB + (8 x 1KB)

            = 100 + 8 x 1024B

            = 8292

4. Segments received successfully by the server prior to announcement

The server has receiving window size of 20KB and maximum segment size is 1KB. It means the server can receive maximum 20 segments at once. If RWND is 0, it means the server cannot accept more data and it happens once the server has data in all the 20 segments. Given that the average round trip time is 200ms.

The receiving window will reset = RTT x number of segments received

            = 200ms x 20

            =4000ms or 4s

Therefore, the server announces RWND=0 after the forth transmission and in these forth transmission, all the 20 segments will be occupied.

Question 2B

1. TCP congestion window size as a function of RTT based on TCP Tahoe protocol

As an early congestion control algorithm, TCP Tahoe utilizes three phases: slow start, congestion avoidance and fast recovery phase [5]. For the given case, the initial slow start threshold was 16 segments and it is assumed that the maximum window size is 32 segments. Here, timeout event is occurring at 3rd RTT and 3-ACKs are occurring after 13th RTT. After 20th RTT, connection is terminated.

In beginning when RTT is 0, CWND is initially set to 1 segment due to slow start but the values increase exponentially during slow start phase, almost double. Initial slow-start threshold is 16 so that the slow-start continues until CWND becomes 16 segments and it happens near 4th RTT. After 3rd RTT, a timeout event occurs due to loss of packets so that ssthresh becomes almost half of the CWND. It becomes 8 segment and CWND becomes 1 segment. From this point, slow-start resumes [6]. Again, slow-start increases and reach a value of 8 segments around RTT 10. After that, the third phase starts and CWND grows linearly during each RTT. 3-ACK event occurs at 13th RTT. It is an indicator that network is recovering from the congestion. After this event, ssthresh is adjusted and CWND is set to ssthresh. The connection continues up to 20th RTT when connection terminated.

Figure 3: TCP congestion window and RTT

2. Intervals of time when TCP Tahoe slow start is operating

In initial phase of the connection, the internal of time occurs when TCP Tohoe slow-start is operating. It is because the congestion window is increasing exponentially, especially up to first three RTTs.

3. Intervals of time when TCP congestion avoidance is operating

It occurs after the slow-start phase and during the internal when the congestion window size increases linearly. It is the time between 4th to 13th RTT.

4. Values of the congestion window size and ssthresh

TCP Tahoe reduces the ssthresh or congestion window size to half of the current size to reach new ssthresh. For example, when three-duplicate ACKs event occurs, the congestion window size becomes half of the current window size and becomes 8 segment and ssthresh is also set to 8 segments [7].

5. Congestion window size when connection is terminated

After 20th RTT when connection terminated, the congestion window size becomes 1 segment again. The slow-start threshold was set to 16 segments initially and it decreases to 1 segment during the slow-start phase.

6. Congestion window size when connected is terminated if TCP Reno is used

The use of TCP Reno can help to prevent the drop of congestion window size to one segment after the three-duplicate ACKs event. The congestion window size will be reduced to a smaller value such as eight segments [7]. Therefore, the congestion window size will be 8 segments instead of one segment during 20th RTT when connection is being terminated.

References

  • Snader, J.C., 2015. VPNs Illustrated: Tunnels, VPNs, and IPsec: Tunnels, VPNs, and IPsec. Addison-Wesley Professional.
  • Kumar, J., Kumar, M., Pandey, D.K. and Raj, R., 2021. Encryption and Authentication of Data Using the IPSEC Protocol. In Proceedings of the Fourth International Conference on Microelectronics, Computing and Communication Systems: MCCS 2019 (pp. 855-862). Springer Singapore.
  • Nath, P.B. and Uddin, M.M., 2015. Tcp-ip model in data communication and networking. American Journal of Engineering Research4(10), pp.102-107.
  • Shiranzaei, A. and Khan, R.Z., 2015, March. Internet protocol versions—A review. In 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom) (pp. 397-401). IEEE.
  • Taruk, M., Budiman, E. and Setyadi, H.J., 2017, October. Comparison of TCP variants in long term evolution (LTE). In 2017 5th international conference on electrical, electronics and information engineering (ICEEIE) (pp. 131-134). IEEE.
  • Jasim, S.I., 2018. Old TAHOE and TAHOE Congestion Control Algorithms for TCP. Network1(d1), p.d1.
  • Mahmood, O.S., 2018. A comparison study of TCP protocol (RENO and SACK) in WLAN, LAN networks (Doctoral dissertation, Universiti Tun Hussein Onn Malaysia).
Order Now

Get solved or fresh solution on TCP/IP Questions and many more. 24X7 help, plag free solution. Order online now!

Universal Assignment (September 16, 2025) Solution: TCP/IP Questions. Retrieved from https://universalassignment.com/solution-tcp-ip-questions/.
"Solution: TCP/IP Questions." Universal Assignment - September 16, 2025, https://universalassignment.com/solution-tcp-ip-questions/
Universal Assignment February 18, 2024 Solution: TCP/IP Questions., viewed September 16, 2025,<https://universalassignment.com/solution-tcp-ip-questions/>
Universal Assignment - Solution: TCP/IP Questions. [Internet]. [Accessed September 16, 2025]. Available from: https://universalassignment.com/solution-tcp-ip-questions/
"Solution: TCP/IP Questions." Universal Assignment - Accessed September 16, 2025. https://universalassignment.com/solution-tcp-ip-questions/
"Solution: TCP/IP Questions." Universal Assignment [Online]. Available: https://universalassignment.com/solution-tcp-ip-questions/. [Accessed: September 16, 2025]

Please note along with our service, we will provide you with the following deliverables:

Please do not hesitate to put forward any queries regarding the service provision.

We look forward to having you on board with us.

Most Frequent Questions & Answers

Universal Assignment Services is the best place to get help in your all kind of assignment help. We have 172+ experts available, who can help you to get HD+ grades. We also provide Free Plag report, Free Revisions,Best Price in the industry guaranteed.

We provide all kinds of assignmednt help, Report writing, Essay Writing, Dissertations, Thesis writing, Research Proposal, Research Report, Home work help, Question Answers help, Case studies, mathematical and Statistical tasks, Website development, Android application, Resume/CV writing, SOP(Statement of Purpose) Writing, Blog/Article, Poster making and so on.

We are available round the clock, 24X7, 365 days. You can appach us to our Whatsapp number +1 (613)778 8542 or email to info@universalassignment.com . We provide Free revision policy, if you need and revisions to be done on the task, we will do the same for you as soon as possible.

We provide services mainly to all major institutes and Universities in Australia, Canada, China, Malaysia, India, South Africa, New Zealand, Singapore, the United Arab Emirates, the United Kingdom, and the United States.

We provide lucrative discounts from 28% to 70% as per the wordcount, Technicality, Deadline and the number of your previous assignments done with us.

After your assignment request our team will check and update you the best suitable service for you alongwith the charges for the task. After confirmation and payment team will start the work and provide the task as per the deadline.

Yes, we will provide Plagirism free task and a free turnitin report along with the task without any extra cost.

No, if the main requirement is same, you don’t have to pay any additional amount. But it there is a additional requirement, then you have to pay the balance amount in order to get the revised solution.

The Fees are as minimum as $10 per page(1 page=250 words) and in case of a big task, we provide huge discounts.

We accept all the major Credit and Debit Cards for the payment. We do accept Paypal also.

Popular Assignments

Project Development and Analysis in Emerging Technologies

Assessment Brief- Assessment 2 Unit Code/Description ICT305 – Topics in IT Course/Subject BIT Semester 2024- S1 Unit Learning Outcomes Addressed ULO 1, 2, and 3. Assessment Objective The primary objective of this assessment is to provide students with hands-on experience in designing, implementing, and analysing a project in one of

Read More »

EDUC1006 Interdisciplinary Studies: Crossing the line

ASSESSMENT 2: Report Summary Title Assessment 2 Type Report Due Date Thursday 17 April, 11.59 pm (end of Week 6) Length 1500 words or equivalent Weighting 50% Academic Integrity The use of GenAI is allowed but limited for this assessment task. Submission Word document or PDF submitted to Turnitin Unit

Read More »

Writing in Community Development

Assessment Overview Overview Length or Duration Worth Due This essay should demonstrate a coherent argument, which is backed up by evidence from relevant journal articles, books and websites. You are expected to make two direct quotations only; and the rest should be paraphrases. You should also list at least eight sources.   If you are unsure of

Read More »

Counselling Theory and Practice in Schools

Assignment 1 Requirements Word limit 2500 words; excluding references Referencing You’re required to follow APA Academic Integrity Please refer to the Guidelines Task Purpose 🎯 This assessment task is designed to develop and assess students’ critical thinking and reflective skills, essential for counselling professionals in educational contexts. By engaging in a literature

Read More »

PSY1040 Cultural Responsiveness Self-Assessment

PSY1040 Cultural Responsiveness Self-Assessment The below self-assessment tool has been adapted from the following resource: Bennett, B., & Morse, C. (2023). The Continuous Improvement Cultural Responsiveness Tools (CICRT): Creating more culturally responsive social workers. Australian Social Work, 76(3), 315–329. Bennett’s collection of Cultural Responsiveness Self-Assessment Tools is designed for social workers

Read More »

TEAC7094 Assessment 2 Report: Analysis of a Student Work Sample

TEAC7094 Assessment 2 Report: Analysis of a Student Work SampleRemember to include a completed Cover Sheet for this task. CONTEXT PROBLEM AND SOLUTION (approx. 600 – 800 words) RECOMMENDATIONS (approx. 400 words) CONCLUSION REFERENCES Appendix One: Annotated and coded interview transcript from working with the child Appendix Two: Annotated and

Read More »

Psychological Data Analysis Report

Written Assignment This page outlines the major written assignment and the steps involved in preparing for submission. This assignment will allow you to develop essential skills in analysing and interpreting a data set to address a psychological issue and report the results in APA style. Note that separate documents are

Read More »

Principles of Economics

Principles of Economics Short-answer Assignment V1 (20% of final mark) The assignment consists of four questions.  You should allocate at least half a page (or 250 words) to each answer or 1000 words for all four answers depending on the nature of and/or marks allocated for the question/s. You may

Read More »

MRTY 5134 Laboratory Report Assignment

MRTY 5134 Laboratory Report Assignment Semester 1 2025Due 18th May 2025Answer TemplateEnter your name and student number below.Name:SID:Use this document to record your answers to the tasks described in the laboratoryreport assignment. When completed submit this document for marking via theassignment portal in Canvas.Things to note:

Read More »

Mind Map – Personal Philosophy

Mind Map – Personal Philosophy Assessment 2  Assessment Overview Overview Length or Duration Worth Due Part A – Annotated mind-map (equivalent to 350 words). Part B – 350 word personal reflection about your history, identity and values and link it with concepts explored in the unit. Part A – 350 words equivalent

Read More »

Consumer Partnerships in OT Practice

ASSESSMENT NUMBER 3 ASSESSMENT TYPE Written assignment DATE FOR SUBMISSION Refer to the Course Profile WEIGHTING 40% LENGTH   Part A – 500 words Part B – 500 words Part C – 500 words Notes This word allocation includes in-text references but excludes the reference list.There is no allowance for

Read More »

HPSYSD101 The Evolution of Psychology

ASSESSMENT 2 BRIEFSubject Code and Title HPSYSD101 The Evolution of Psychology Assessment Task Annotated BibliographyIndividual/Group IndividualLength 2,000 words (+/- 10%)Learning Outcomes The Subject Learning Outcomes demonstrated by successfulcompletion of the task below include:b) Examine the significant figures, events and ideas present inthe history of psychology.c) Identify and relate the key

Read More »

Literature Review and Reflection on Counselling in Education

Assessment Task SheetEDU6114 – Assessment 1 – Literature Review and Reflection Course Code and Name EDU6114 – Counselling in EducationAssessment Name Literature Review and Reflective EssayAssessment Item 1 Assessment Type EssayMarks/Weighting 50% Length 2500 words (excluding references)Assessed LearningOutcomesCLO 1, 3, 7 Due Date Please check Study Desk for Due DatesRationale

Read More »

NUTR1023 Health and Fitness through Diet and Exercise

Subject NUTR1023 Health and Fitness through Diet and Exercise Assessment Personal Diet and Exercise Plan Learning Objectives Apply the principles of training to develop a personal exercise program with appropriate mode/intensity/frequency to develop the students’ own health and fitness.Apply the current dietary guidelines to develop a personal diet plan for

Read More »

Behaviour Support Plan & Reflection

Overview Submit your support plan and reflective piece as one document. Description Part A: Support plan (1750 words) For a case study develop a support plan. This plan should aim to support an individual to reduce the need for a behaviour that challenges to occur. Collect and analyse data on a behaviour

Read More »

ASSESSMENT 2: Child Study Report

ASSESSMENT 2: Child Study Report Moderater very strict on  Rubric, its her bible, so please look into it Assignment – Written Assignment Due Date: 28th May, 23:59 (AEST) Weight: 60% Description (2500-3000 words): In this task, you are required to apply your knowledge of observational methods and child development to write

Read More »

Arts Assignment Help Australia

Introduction Arts is a broad and creative discipline that encompasses visual arts, performing arts, music, design, literature, and creative writing. Studying arts helps students explore creativity, cultural heritage, and expression through multiple mediums. In Australia, arts courses are offered at universities and TAFE institutes such as University of Melbourne, Monash

Read More »

Health Sciences Assignment Help Australia

Introduction Health Sciences is a multidisciplinary field that studies human health, disease prevention, treatment, and healthcare management. It encompasses areas such as nursing, public health, anatomy, physiology, medical research, and healthcare administration. In Australia, health sciences is a highly sought-after discipline offered at universities including Monash University, University of Melbourne,

Read More »

Literature Assignment Help Australia

Introduction Literature is the study of written works, encompassing poetry, prose, drama, fiction, and non-fiction, with a focus on understanding themes, symbolism, and cultural context. It is an essential discipline for students studying English, humanities, or creative writing at universities like University of Melbourne, Monash University, University of Sydney, and

Read More »

Humanities Assignment Help Australia

Introduction Humanities is the study of human culture, society, and history, encompassing disciplines such as history, philosophy, literature, sociology, linguistics, and cultural studies. It plays a crucial role in understanding human behaviour, values, and creativity. In Australia, humanities courses are offered at leading universities including University of Melbourne, Monash University,

Read More »

Environmental Science Assignment Help Australia

Introduction Environmental Science is an interdisciplinary field that studies the relationship between humans and the natural environment. It covers topics such as ecology, climate change, sustainability, pollution control, and environmental management. In Australia, environmental science is a popular field of study due to the country’s rich biodiversity and focus on

Read More »

Biology Assignment Help Australia

Introduction Biology is the science of life, exploring everything from molecular structures to ecosystems. It is a core subject in disciplines such as medicine, nursing, biotechnology, environmental science, and genetics. Students in Australia pursuing biology at universities like Monash University, University of Melbourne, University of Sydney, and Deakin University often

Read More »

Education Assignment Help Australia

Introduction Education is one of the most impactful fields of study, focusing on teaching methods, pedagogy, curriculum development, and learning strategies. Students pursuing education degrees in Australia at institutions such as the University of Melbourne, Monash University, University of Sydney, and Deakin University aim to become skilled teachers, administrators, and

Read More »

Economics Assignment Help Australia

Introduction Economics is the study of how societies allocate scarce resources, focusing on production, consumption, and decision-making. As one of the most popular academic fields in Australia, economics is taught at leading universities including the University of Melbourne, Monash University, University of Sydney, and ANU. Students pursuing economics often face

Read More »

Psychology Assignment Help Australia

Introduction Psychology is the scientific study of the human mind and behaviour, covering areas like cognition, emotions, mental health, and social interactions. In Australia, psychology is one of the most popular disciplines, with thousands of students enrolling at universities such as the University of Melbourne, Monash University, University of Sydney,

Read More »

Marketing Assignment Help Australia

Introduction Marketing is a dynamic and ever-evolving discipline that plays a critical role in the success of any business. From branding and market research to digital campaigns and consumer psychology, marketing requires both creativity and analytical thinking. In Australia, marketing students studying at top institutions like the University of Melbourne,

Read More »

Finance Assignment Help Australia

Introduction Finance is one of the most essential fields of study, forming the backbone of global business, economics, and investment. In Australia, students pursuing degrees in finance, accounting, economics, and business management at top institutions such as Monash University, University of Melbourne, University of Sydney, and RMIT face an intense

Read More »

Computer Science Assignment Help

Introduction Computer Science is one of the fastest-growing and most demanding academic disciplines worldwide. Students in Australia, the UK, and beyond pursue computer science degrees to build careers in software engineering, artificial intelligence (AI), cybersecurity, data science, and web development. However, the field is highly technical and requires extensive practical

Read More »

Law Assignment Help Australia

Introduction Law is one of the most intellectually challenging and competitive fields of study in Australia. Students pursuing law degrees at prestigious institutions such as Monash University, University of Melbourne, University of Sydney, and Australian National University face an intense academic workload. From legal case studies and essays to research

Read More »

Nursing Assignment Help Australia

Introduction Nursing is one of the most respected and challenging professions in Australia. Students pursuing nursing courses at top institutions such as Deakin University, Monash University, University of Melbourne, University of Sydney, and TAFE colleges face a demanding academic workload. From care plans and reflective essays to case studies and

Read More »

Can't Find Your Assignment?