GSEC · Question #44
Which layer of the TCP/IP Protocol Stack Is responsible for port numbers?
The correct answer is B. Transport. Port numbers in the TCP/IP stack are a function of the Transport layer, which manages end-to-end communication between applications.
Question
Which layer of the TCP/IP Protocol Stack Is responsible for port numbers?
Options
- ANetwork
- BTransport
- CInternet
- DApplication
How the community answered
(24 responses)- A4% (1)
- B79% (19)
- C4% (1)
- D13% (3)
Why each option
Port numbers in the TCP/IP stack are a function of the Transport layer, which manages end-to-end communication between applications.
The Network layer is responsible for logical addressing via IP addresses and routing decisions, not port numbers.
The Transport layer is responsible for port numbers, which are used by protocols such as TCP and UDP to direct data to the correct application process on a host. Port numbers enable multiplexing - allowing multiple applications to share a single IP address by distinguishing their individual traffic streams.
The Internet layer in the TCP/IP model handles IP addressing and packet forwarding, not port-based multiplexing.
The Application layer defines protocols such as HTTP and DNS that use port numbers, but it does not define or manage the port numbering mechanism itself.
Concept tested: TCP/IP Transport layer responsibility for port numbers
Source: https://www.rfc-editor.org/rfc/rfc793
Topics
Community Discussion
No community discussion yet for this question.