Token Bus (IEEE 802.4)
Token Bus (IEEE 802.4) is a popular standard for token passing LANs. In a token bus LAN, the physical media is a bus or a tree, and a logical ring is created using coaxial cable. The token is passed from one user to another in a sequence (clockwise or anticlockwise). Each station knows the address of the station to its “left” and “right” as per the sequence in the logical ring. A station can only transmit data when it has the token. The working of a token bus is somewhat similar to Token Ring.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
The above diagram shows a logical ring formed in a bus-based token-passing LAN. The logical ring is shown with the arrows.
The various fields of the frame format are:
- Preamble – It is used for bit synchronization. It is 1-byte field.
- Start Delimiter – These bits mark the beginning of the frame. It is 1-byte field.
- Frame Control – This field specifies the type of frame – data frame and control frames. It is 1-byte field.
- Destination Address – This field contains the destination address. It is a 2 to 6 bytes field.
- Source Address – This field contains the source address. It is a 2 to 6 bytes field.
- Data – If 2-byte addresses are used then the field may be up to 8182 bytes and 8174 bytes in case of 6-byte addresses.
- Checksum – This field contains the checksum bits which are used to detect errors in the transmitted data. It is 4 bytes field.
- End Delimiter – This field marks the end of a frame. It is 1-byte field.
Book – Computer Networks by Tanenbaum