The Serial Line Internet Protocol (SLIP) and the Point-to-Point Protocol (PPP) are also data-link layer protocols, but they are very different from Ethernet and Token Ring. SLIP and PPP, which are part of the TCP/IP protocol suite, are not designed to connect systems to a LAN that uses a shared network medium. Instead, they connect one system to another using a dedicated connection, such as a telephone line. For this reason, they are called end-to-end protocols. Because the medium isn't shared, there is no need for a MAC mechanism, and because there are only two systems involved, there is no need to address the packets. The result is that these protocols are far simpler than Ethernet and Token Ring protocols. SLIP and PPP also do not include physical layer specifications; they operate strictly at the data-link layer. The physical layer is provided by another standard, such as the RS-232 specification, which defines the nature of the serial port that you use to connect a modem to your computer.
SLIP is so simple, it hardly deserves to be called a protocol. It is designed to transmit signals over a serial connection (which in most cases means a modem and a telephone line) and has very low control overhead, meaning that it doesn't add much information to the network layer data that it is transmitting. Compared to the 18 bytes that Ethernet adds to every packet, for example, SLIP adds only 1 byte. Of course, with only 1 byte, SLIP can't provide functions like error detection, network layer protocol identification, security, or anything else.
SLIP works by transmitting an IP datagram received from the network layer and following it with a single framing byte called an End Delimiter (see Figure 5.10). This byte informs the receiving system when it has finished receiving the data portion of the packet. In some cases, the system surrounds the datagram with two End Delimiter fields, which makes it possible for the receiving system to easily ignore any line noise that occurs outside of the frame. Because of its limited capabilities, SLIP is rarely used today, having been replaced by PPP.
PPP is, in most cases, the protocol you use when you access the Internet by establishing a dial-up connection to an Internet Service Provider (ISP). PPP is more complex than SLIP and is designed to provide a number of services that SLIP lacks. These include the abilility of the systems to exchange IP addresses, carry data generated by multiple network layer protocols (which is called multiplexing), and support different authentication protocols. Still, PPP does all this using only a 5-byte header, larger than SLIP but still less than half the size of the Ethernet frame.
The PPP frame is illustrated in Figure 5.11.
It consists of the following fields:
As small as it is, the PPP frame can't possibly provide all of the functions listed earlier. Instead, the protocol performs many of these functions by performing an elaborate connection establishment procedure when the two systems first communicate. This method is more efficient than increasing the size of the PPP header, because there's no need to include this additional information in every packet. For example, it's beneficial for the two communicating systems to know each other's IP addresses, but there's no need to include address fields in every packet header, as in Ethernet, because there are only two computers involved, and they only have to identify themselves once. The same is true for functions like user authentication.
The PPP connection establishment procedure consists of the following phases, which occur before the systems exchange any application data.
Place the following steps of the PPP connection establishment process in the correct order.