Framing and Error Handling




CS158a

Chris Pollett

Feb. 14, 2009

Outline

4B/5B encoding

Framing

Byte-oriented Protocols

Sentinel-based Framing

8 bits8 bits8 bits8 bits8 bits16 bits
SYNSYNSOHHeaderSTXBodyETXCRC

PPP Frames

8 bits8 bits8 bits16 bits16 bits8 bits
FlagAddressControlProtocolPayloadChecksumFlag

Link Control Protocol

Byte-count Framing

Bit-oriented Protocols (HDLC)

Bit-stuffing

SONET and Clock-based Framing

SONET STS-1 Frames

More on SONET Frames

Quiz

Which of the following is true?

  1. ifconfig can be used to find the route between two machines on the internet
  2. A device driver might be used to write to the control status register of a network adaptor.
  3. Manchester encoding achieves a bit rate/baud rate of 75%

Error Detection

Two Dimensional Parity

Internet Checksum Algorithm