- DCN Tutorial
- Data Comm & Networks Home
- DCN - Overview
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Topologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Error detection and Correction
- DCN - Data Link Control & Protocols
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
Token Bus and Token Ring
Token ring (IEEE 802.5) is a communication protocol in a local area network (LAN) where all stations are connected in a ring topology and pass one or more tokens for channel acquisition. A token is a special frame of 3 bytes that circulates along the ring of stations. A station can send data frames only if it holds a token. The tokens are released on successful receipt of the data frame.
Token Passing Mechanism in Token Ring
If a station has a frame to transmit when it receives a token, it sends the frame and then passes the token to the next station; otherwise it simply passes the token to the next station. Passing the token means receiving the token from the preceding station and transmitting to the successor station. The data flow is unidirectional in the direction of the token passing. In order that tokens are not circulated infinitely, they are removed from the network once their purpose is completed. This is shown in the following diagram −
Token Bus (IEEE 802.4) is a standard for implementing token ring over virtual ring in LANs. The physical media has a bus or a tree topology and uses coaxial cables. A virtual ring is created with the nodes/stations and the token is passed from one node to the next in a sequence along this virtual ring. Each node knows the address of its preceding station and its succeeding station. A station can only transmit data when it has the token. The working principle of token bus is similar to Token Ring.
Token Passing Mechanism in Token Bus
A token is a small message that circulates among the stations of a computer network providing permission to the stations for transmission. If a station has data to transmit when it receives a token, it sends the data and then passes the token to the next station; otherwise, it simply passes the token to the next station. This is depicted in the following diagram −
Differences between Token Ring and Token Bus
|Token Ring||Token Bus|
|The token is passed over the physical ring formed by the stations and the coaxial cable network.||The token is passed along the virtual ring of stations connected to a LAN.|
|The stations are connected by ring topology, or sometimes star topology.||The underlying topology that connects the stations is either bus or tree topology.|
|It is defined by IEEE 802.5 standard.||It is defined by IEEE 802.4 standard.|
|The maximum time for a token to reach a station can be calculated here.||It is not feasible to calculate the time for token transfer.|
- Related Articles
- Difference between Token Bus Network and Token Ring Network
- Token Bus (IEEE 802.4) Network
- What is early token release and delayed token release?
- What are the Token Ring Frame Formats in Computer Network?
- Explain the Token Ring Network (IEEE Standard 802.5) in Computer Network.
- What is the performance of ethernet and token ring under light traffic load?
- What is accounting token?
- Stringize and Token-pasting operator in C
- Token Passing in Bit-Map Protocol
- What is CSRF token in Django?
- What is Token Bucket algorithm in computer networks?
- Bus topology vs Ring topology
- Using djoser in Django for token authentication without views
- How to pass a CSRF token with an Ajax request in Laravel?
- Difference between Star and Ring Topology