๐ŸŽ“ BookMCQ
โ† Back to 11. Data Link Control (DLC)

๐Ÿ“ PPP protocol services and features (12 MCQs)

Link Services Offered by Point-to-Point Protocol

PPP provides framing and encapsulation for network-layer datagrams over a point-to-point link. It includes a Link Control Protocol for establishing, configuring, testing, and terminating the link, plus Network Control Protocols for configuring network-layer protocols. Optional authentication and an error-detection field support link operation, while the protocol field identifies the carried payload and directs its processing at the receiving peer for each packet type before upward delivery.

Multi-Protocol Support and Negotiated Options

PPP can transport different network-layer protocols using distinct values in its protocol field. LCP negotiates options such as maximum receive unit and authentication protocol, while individual NCPs configure network-layer parameters. The FCS detects frame corruption. These features make PPP adaptable to different peer requirements without embedding IP routing or application functions in the link protocol.

How the Peer Negotiates and Uses PPP Services

The two peers exchange LCP configuration packets and respond with acknowledgements, rejections, or requests for alternative values. Once the link is open, optional authentication is performed. NCP negotiation configures each chosen network-layer protocol, after which PPP carries their datagrams. LCP later closes the link through a termination exchange between the two peers.

Using One PPP Link for IPv4 and IPv6

A point-to-point link may carry both IPv4 and IPv6 datagrams when the peers support the corresponding NCPs. The PPP protocol field distinguishes the payload type in each frame. IPCP configures IPv4, while IPv6CP configures IPv6 interface parameters. The same physical link can therefore serve more than one network-layer protocol during the same PPP session.

What PPP Does Not Guarantee

PPP is suitable for direct links such as serial connections between routers or access equipment. It does not provide network-layer routing, application authentication, or TCP-style reliable delivery of every frame. Its FCS can detect certain errors, while optional authentication verifies a peer according to the selected method and configured credentials.

Separating PPP Features from Higher-Layer Services

'PPP is an IP routing protocol' is incorrect because it encapsulates packets rather than selecting paths. 'FCS repairs corrupted frames' is false because it detects errors. 'Authentication is mandatory on every PPP link' is also incorrect; peer authentication is optional and depends on the negotiated configuration and policy agreed by both ends.

Matching PPP Control Protocols to Their Tasks

For examinations, match LCP with link setup and maintenance, NCP with network-protocol configuration, and FCS with error detection. Explain the role of the protocol field in carrying multiple payload types. Identify authentication as optional, and distinguish PPP's point-to-point framing services from IP forwarding and TCP reliability provided at other layers.

PPP Service and Feature Terminology

  • Encapsulation - Wraps datagrams in PPP frames.
  • LCP - Controls link configuration and termination.
  • NCP - Configures a network-layer protocol.
  • Authentication - Verifies the remote PPP peer.
  • MRU - Maximum receive unit negotiated by peers.
  • FCS - Detects frame corruption.
4
Easy
5
Medium
3
Hard

๐Ÿ“ All PPP protocol services and features MCQs

Q1. In the scenario where the second frame is lost, which mechanism causes the sender to retransmit the frame after a timeout?

A.The acknowledgment number indicating loss
B.The timeout timer expiring โœ…
C.Duplicate detection using sequence numbers
D.Piggybacked acknowledgment arriving late
๐Ÿ’ก Difficulty: easy | โœ… Correct: B

๐Ÿ“– Explanation: When the second frame does not reach the receiver, the sender's timer, which was started when the frame was first transmitted, eventually expires. The expiration triggers the retransmission mechanism, causing the frame to be sent again. This behavior is independent of any acknowledgment or sequenceโ€‘number processing.

Q2. If acknowledgments are not piggybacked and are sent as separate frames, what is the most likely effect on channel utilization compared to piggybacking?

A.Channel utilization increases because more frames are sent
B.Channel utilization decreases because extra ACK frames consume bandwidth โœ…
C.Channel utilization remains unchanged because ACKs are small
D.Channel utilization varies unpredictably with traffic patterns
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: Separate acknowledgment frames add overhead to the communication channel. Each ACK occupies a transmission slot that could otherwise carry data, so the effective bandwidth available for payload decreases. Piggybacking merges data and acknowledgment, eliminating this extra overhead and improving overall utilization.

Q3. Suppose sequence numbers are limited to a twoโ€‘bit space \\\{0,1,2,3\\}\. If the sender mistakenly wraps from 3 to 0 before the receiver has acknowledged frame 3, what duplicateโ€‘detection problem can arise?

A.The receiver will treat the new frame as a false duplicate โœ…
B.The receiver will miss a duplicate and accept both frames
C.The receiver will deliver frames out of order
D.The protocol will enter a deadlock state
๐Ÿ’ก Difficulty: hard | โœ… Correct: A

๐Ÿ“– Explanation: When the sender wraps to 0 prematurely, the receiver sees a frame with sequence number 0 that it has already used for an earlier, unacknowledged frame. Because duplicate detection relies on sequence numbers, the receiver assumes the new frame is a retransmission of the earlier one and discards it, causing data loss.

Q4. Compare piggybacking acknowledgments with sending separate ACK frames. Which statement best captures the tradeโ€‘off?

A.Piggybacking always reduces latency
B.Separate ACKs improve error detection
C.Piggybacking reduces the total number of frames but can increase latency when data is not available โœ…
D.Separate ACKs double the throughput
๐Ÿ’ก Difficulty: easy | โœ… Correct: C

๐Ÿ“– Explanation: Piggybacking saves bandwidth by combining a data payload with an acknowledgment, decreasing the number of frames on the link. However, if a node has no data to send, it must wait for the next data packet before acknowledging, which can introduce additional latency compared with sending a dedicated ACK immediately.

Q5. Evaluate the benefit of using sequence numbers for duplicate detection versus relying solely on checksums. Which advantage is most significant?

A.Sequence numbers provide ordering and duplicate detection independent of data content โœ…
B.Checksums can detect duplicate frames as effectively as sequence numbers
C.Sequence numbers eliminate the need for checksums
D.Checksums are sufficient for all errorโ€‘control functions
๐Ÿ’ก Difficulty: medium | โœ… Correct: A

๐Ÿ“– Explanation: A checksum verifies the integrity of the bits in a frame but cannot tell whether a correctly received frame is a new transmission or a retransmission. Sequence numbers give the protocol explicit ordering information and allow the receiver to recognize and discard duplicates even when the payload passes the checksum test, greatly enhancing reliability.

Q6. When adding sequence and acknowledgment numbers to the FSM in Figureโ€ฏ11.11, how does the state space change?

A.The number of states doubles
B.The number of states increases exponentially with the size of the sequence space โœ…
C.The number of states remains unchanged
D.The number of states decreases because some states become redundant
๐Ÿ’ก Difficulty: hard | โœ… Correct: B

๐Ÿ“– Explanation: Each possible combination of sender and receiver sequence numbers creates a distinct protocol state. If the sequence space contains \k\ values, the FSM must represent roughly \k^2\ combinations, leading to exponential growth in the number of states. This added complexity is necessary to track outstanding frames and acknowledgments accurately.

Q7. How does piggybacking reduce the number of frames transmitted on a bidirectional link?

A.By compressing data before transmission
B.By merging two acknowledgments into one frame
C.By sending data at a higher physical layer rate
D.By appending an acknowledgment to a data frame โœ…
๐Ÿ’ก Difficulty: easy | โœ… Correct: D

๐Ÿ“– Explanation: When a node sends a data frame, it can also include the acknowledgment for the most recent frame received from its peer. This single combined frame replaces what would otherwise be two separate transmissionsโ€”a pure data frame and a pure ACK frameโ€”thereby cutting the total frame count on the link.

Q8. In a twoโ€‘way communication where both nodes have data to send, describe the sequence of events when piggybacking is used.

A.Each node sends a pure data frame, then a pure ACK frame later
B.Each node sends a data frame that also carries the ACK for the frame just received โœ…
C.Both nodes wait until the channel is idle before sending any frames
D.One node sends all data while the other only sends ACKs
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: With piggybacking, as soon as a node receives a frame, it prepares its next outbound frame containing both its own data and the acknowledgment for the received frame. Thus, each transmission simultaneously advances the data flow in one direction and confirms receipt in the opposite direction, keeping the channel efficiently utilized.

Q9. Explain how the choice of timeout interval interacts with the size of the sequence number space to affect protocol performance.

A.A short timeout with a large sequence space always improves throughput
B.A long timeout eliminates the need for sequence numbers
C.A short timeout with a small sequence space can cause premature retransmissions, increasing duplicate frames โœ…
D.Timeout interval is unrelated to sequence number space size
๐Ÿ’ก Difficulty: hard | โœ… Correct: C

๐Ÿ“– Explanation: When the sequence number space is limited, the sender may have only a few outstanding frames. If the timeout is set too short, the sender may retransmit frames before the receiver has had a chance to acknowledge them, leading to unnecessary duplicate transmissions and reduced efficiency. Properly balancing timeout duration with the sequence space helps avoid such waste.

Q10. What is the definition of piggybacking in the dataโ€‘link layer?

A.Appending an acknowledgment to a data frame โœ…
B.Sending acknowledgments before any data
C.Using a separate channel for acknowledgments
D.Combining two data frames into one larger frame
๐Ÿ’ก Difficulty: easy | โœ… Correct: A

๐Ÿ“– Explanation: Piggybacking refers to the technique where an acknowledgment for a previously received frame is attached to a new data frame that the sender is already transmitting. This eliminates the need for a dedicated acknowledgment-only frame, thereby reducing overhead on the dataโ€‘link layer.

Q11. If an acknowledgment number received equals the previous acknowledgment number, what inference can the sender make about the receiver's state?

A.The receiver has successfully received the next frame
B.The receiver has not yet received the next frame
C.The receiver's buffer is full
D.The receiver has detected a checksum error โœ…
๐Ÿ’ก Difficulty: medium | โœ… Correct: D

๐Ÿ“– Explanation: When the acknowledgment number does not advance, it indicates that the receiver has not been able to acknowledge a newer frame. This situation commonly occurs when the next frame is lost or corrupted, prompting the sender to infer that the receiver is still waiting for that particular frame.

Q12. Comparing an FSM without sequence numbers to one that includes them, which statement accurately reflects the impact on protocol robustness?

A.Including sequence numbers allows detection of lost or duplicate frames, enhancing reliability
B.Including sequence numbers reduces the protocol's ability to recover from errors โœ…
C.An FSM without sequence numbers is more robust because it is simpler
D.Sequence numbers have no effect on robustness
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: By tracking the order and identity of each transmitted frame, sequence numbers enable the receiver to identify missing frames (through gaps) and duplicate frames (through repeats). This capability allows the protocol to request retransmissions and avoid processing redundant data, thereby increasing overall reliability compared with a simpler FSM that lacks such tracking.

๐Ÿ”— Related Topics (MCQs)