3.HDLC PPP
3.HDLC PPP
3.HDLC PPP
11.2
Figure 111.14: Normal response mode
11.3
Figure 111.15: Asynchronous balanced mode
11.4
111.3.2 Framing
11.5
Figure 111.16: HDLC frames
11.6
Figure 111.17: Control field format for the different frame types
11.7
Example 111.5
Figure 111.18 shows how U-frames can be used for
connection establishment and connection release. Node A
asks for a connection with a set asynchronous balanced
mode (SABM) frame; node B gives a positive response with
an unnumbered acknowledgment (UA) frame. After these
two exchanges, data can be transferred between the two
nodes (not shown in the figure). After data transfer, node A
sends a DISC (disconnect) frame to release the connection;
it is confirmed by node B responding with a UA
(unnumbered acknowledgment).
11.8
Figure 111.18: Example of connection and disconnection
11.9
Example 111.6
Figure 111.19 shows two exchanges using piggybacking.
The first is the case where no error has occurred; the second
is the case where an error has occurred and some frames are
discarded.
11.10
Figure 111.19: Example of piggybacking with and without error
11.11
11-4 PPP
11.12
111.4.1 Services
11.13
111.4.2 Framing
11.14
Figure 111.20: PPP frame format
11.15
111.4.3 Transition Phases
11.16
Figure 111.21: Transition phases
11.17
111.4.4 Multiplexing
11.18
Figure 111.22: Multiplexing in PPP
11.19
Figure 111.23: LCP packet encapsulated in a frame
11.20
Table 111.1: LCP Packets
11.21
Table 111.2: Common options
11.22
Figure 111.24: PAP packets encapsulated in a PPP frame
11.23
Figure 111.25: CHAP packets encapsulated in a PPP frame
11.24
Figure 111.26: IPCP packet encapsulated in PPP frame
11.25
Table 111.3: Code values for IPCP Packets
11.26
Figure 111.27: IP datagram encapsulated in a PPP frame
11.27
Figure 111.28: Multilink PPP
11.28
Example 111.7
Let us go through the phases followed by a network layer
packet as it is transmitted through a PPP connection. Figure
111.29 shows the steps. For simplicity, we assume
unidirectional movement of data from the user site to the
system site (such as sending an e-mail through an ISP).
11.29
Figure 111.29: An example
11.30