📝 PPP transition phases LCP IPCP (9 MCQs)
Phases That Move a PPP Link into Service
PPP follows defined phases as two peers bring a point-to-point link into service, configure network protocols, exchange data, and close the connection. LCP manages the data-link connection and its options. IPCP is a Network Control Protocol used to configure IPv4. Understanding the order prevents confusion between link establishment and network-layer configuration, which occur at different protocol levels. Each phase has distinct control messages.
Dead, Establishment, Authentication and Network Phases
A typical PPP sequence begins in the Link Dead phase, then enters Link Establishment through LCP. Authentication may occur if negotiated. The Network-Layer Protocol phase uses NCPs, such as IPCP for IPv4, to configure the chosen protocols. After configuration, the link can carry datagrams; termination closes the link through LCP when communication is complete.
LCP Opens the Link Before IPCP Configures IPv4
The peers first exchange LCP Configure-Request and response packets until the required options are acknowledged and the LCP link reaches the Opened state for normal PPP operation. If authentication is required, it follows. IPCP then negotiates IPv4 parameters. Once IPCP is open, IPv4 datagrams can be carried; closing LCP terminates the PPP link and ends network-layer use.
A PPP Session Between Two IPv4 Routers
Router A and Router B bring up their serial connection and enter LCP negotiation. They agree on link options, then complete configured authentication. They exchange IPCP packets to configure IPv4 operation. When IPCP is open, they exchange IP datagrams. A termination request later closes the PPP link through LCP after the exchange of network-layer datagrams has finished.
Why LCP and IPCP Are Separate Protocols
LCP negotiates options that apply to the PPP link independently of the network-layer protocol. IPCP configures IPv4-specific parameters; a different NCP is used for another network-layer protocol. This separation lets a single PPP framework support multiple protocols while keeping link management distinct from network-layer setup and address configuration performed for each protocol.
Misunderstandings About PPP Phase Order
'IPCP establishes the physical carrier' is incorrect because the physical connection exists before PPP negotiation. 'LCP assigns all network-layer addresses' confuses link configuration with NCP functions. 'Authentication is always required' is false because it is optional and selected according to the link policy. Remember that LCP establishes the link, NCP configures network protocols, and LCP terminates it.
Ordering Phase Diagrams and Message Exchanges
For examinations, place Link Dead before LCP establishment, optional authentication after link establishment, and NCP configuration before normal network-layer data transfer. Identify IPCP as the IPv4 NCP rather than an LCP option. Explain that termination is controlled by LCP and that one NCP closing does not automatically close the entire PPP link.
PPP Phase and Configuration Terminology
- LCP - Establishes and manages PPP links.
- IPCP - Configures IPv4 parameters over PPP.
- NCP - Configures a network-layer protocol.
- Opened - State after successful LCP negotiation.
- Authentication - Optional peer identity verification.
- Termination - LCP-controlled link shutdown.
📝 All PPP transition phases LCP IPCP MCQs
Q1. According to the flow diagram in Figure 11.12, if a data frame is lost, what immediate action does the sending node take?
📖 Explanation: When a frame is lost, the sender detects the absence of an acknowledgment. The protocol specifies that the sender must restart its timeout timer and retransmit the same frame to ensure reliable delivery. Stopping the timer would prevent detection of the loss, while sending an ACK or discarding the frame would break the reliability mechanism.
Q2. Which statement correctly contrasts Normal Response Mode (NRM) with Asynchronous Balanced Mode (ABM) in HDLC?
📖 Explanation: NRM is defined by an unbalanced hierarchy: a single primary controls one or more secondary stations, which can only respond to commands. ABM, by contrast, is balanced; each station can act as both primary and secondary, enabling peer‑to‑peer communication on a point‑to‑point link. The other options misrepresent these structural differences.
Q3. Why can the ending flag of one HDLC frame serve as the beginning flag of the next frame without causing ambiguity?
📖 Explanation: The flag sequence 01111110 is reserved solely as a delimiter. HDLC receivers interpret each occurrence of this pattern as the end of the current frame and the start of the next, regardless of its position. This design eliminates ambiguity, allowing the same flag to close one frame and open the next without needing additional length or address information.
Q4. In the scenario where Frame 0 is lost and the receiver expects Frame 1, which timer state will the sender be in after receiving the duplicate ACK for Frame 0?
📖 Explanation: When the sender receives a duplicate ACK for Frame 0, it recognizes that the receiver is still awaiting Frame 1. The protocol therefore restarts the timer associated with Frame 1, preparing to retransmit it if no further acknowledgment arrives. The timer is not stopped or paused; it is specifically reset for the next expected frame.
Q5. Which type of HDLC frame is exclusively reserved for system management functions such as link initialization?
📖 Explanation: Unnumbered frames (U‑frames) are designated for system‑level control tasks, including link establishment, configuration, and termination. They do not carry user data and are not part of the sequence‑numbered flow, distinguishing them from I‑frames (which carry data) and S‑frames (which carry supervisory control). Thus, U‑frames are the correct choice for management operations.
Q6. If two stations operate in ABM over a point‑to‑point link and a data frame is corrupted, how does the protocol recover using piggybacked ACKs?
📖 Explanation: In ABM, acknowledgments are often piggybacked onto subsequent I‑frames. When a data frame is corrupted, the receiver cannot acknowledge it, so it acknowledges the last correctly received frame in the next I‑frame. The sender, lacking a positive ACK for the corrupted frame, will timeout and then retransmit the lost data, preserving reliable delivery.
Q7. When a duplicate packet is detected at the receiving node in the flow diagram of Figure 11.13, what state transition occurs in the HDLC protocol state machine?
📖 Explanation: A duplicate packet indicates that the receiver has already processed that sequence number. The HDLC state machine therefore transitions from the normal receiving state to an error‑recovery routine, discarding the duplicate and preparing to handle the next expected frame. The other options either keep the state unchanged or move to inappropriate states.
Q8. How does the use of NRM versus ABM affect throughput when the link experiences a 10 % frame loss rate?
📖 Explanation: ABM’s balanced nature allows each station to transmit frames and piggyback acknowledgments without waiting for a primary‑issued poll, reducing idle periods and improving channel utilization. Under a 10 % loss condition, this ability to keep the link busy outweighs NRM’s structured polling, which can introduce additional waiting time and lower overall throughput.
Q9. Explain how piggybacking in I‑frames improves channel efficiency, and what consequence occurs if the ACK portion of a piggybacked I‑frame is lost.
📖 Explanation: By attaching an acknowledgment to a data‑carrying I‑frame, HDLC eliminates the need for a dedicated ACK frame, thereby conserving bandwidth and reducing protocol overhead. If the ACK component of that piggybacked frame is lost, the sender interprets the lack of acknowledgment as a failure and must wait for its timeout timer to expire before retransmitting, potentially delaying delivery.