Which OSI layer adds the source port number to a PDU during encapsulation?

Prepare for the Cisco Certified Network Associate (CCNA) Exam with comprehensive quizzes, multiple choice questions, and detailed explanations. Gear up for success with a blend of structured study materials and expert tips!

Multiple Choice

Which OSI layer adds the source port number to a PDU during encapsulation?

Explanation:
Port numbers are added at the Transport layer to identify the sending and receiving processes on each host. As data from the application layer is encapsulated downward, the Transport layer wraps it with a header that includes the source port and destination port. This creates the transport PDU (a segment when using TCP, a datagram when using UDP). The port numbers let multiple conversations share the same network connection by multiplexing different applications, while the actual routing and addressing of the packets is handled by higher layers (IP) and lower layers (MAC addresses, etc.).

Port numbers are added at the Transport layer to identify the sending and receiving processes on each host. As data from the application layer is encapsulated downward, the Transport layer wraps it with a header that includes the source port and destination port. This creates the transport PDU (a segment when using TCP, a datagram when using UDP). The port numbers let multiple conversations share the same network connection by multiplexing different applications, while the actual routing and addressing of the packets is handled by higher layers (IP) and lower layers (MAC addresses, etc.).

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy