Computer Network & Network Security System β Data Link Layer, NEC licence examination syllabus (Nepal Engineering Council).
IEEE 802.5 β Token Ring
A deterministic LAN where permission to transmit circulates as a token β and why it lost to Ethernet despite being better engineered.
π Where this lives: Token Ring is obsolete, and understanding why it lost is more instructive than the protocol itself. It was technically superior to early Ethernet β deterministic, no collisions, graceful under heavy load β and it still lost, because it was proprietary (IBM), more expensive per port, and Ethernet got switching. The lesson recurs constantly in engineering: the better-engineered option loses to the cheaper, more open one that is good enough. Token passing itself survives where determinism is mandatory β FDDI, and industrial fieldbuses like PROFIBUS and Token Bus-derived standards still used in factory automation. Search "why Token Ring lost to Ethernet".
How it works
Stations are connected in a physical or logical RING. A small
control frame β the TOKEN β circulates continuously. A station
may transmit ONLY while it holds the token.
THE TRANSMIT CYCLE:
1. a station wanting to send WAITS for the free token
2. it CAPTURES the token by flipping one bit (the token bit)
in the frame header, converting the token into the start of
a data frame
3. it appends its data and transmits
4. the frame travels around the ring; every station forwards
it, and the DESTINATION copies it while also forwarding
5. the frame returns to the SENDER, which removes it from the
ring ("drains" it)
6. the sender releases a NEW free token
Note step 5: the frame makes a complete circuit. The sender is
therefore the one that removes it, which conveniently provides
an implicit acknowledgement β if the frame comes back with the
address-recognised bit set, the destination existed and saw it.
WHY NO COLLISIONS ARE POSSIBLE:
exactly one token exists, and only its holder transmits. This
is not collision *detection* (Ethernet) or collision
*avoidance* (Wi-Fi) β it is collision *impossibility* by
construction.
THE 802.5 FRAME:
SD AC FC DA SA DATA FCS ED FS
β β β β β β β β frame status
β β β β β β βββ ending delimiter
β β β β β βββββββ frame check sequence
β β β β βββββββββββββββββ source address
β β β βββββββββββββββββββββ destination address
β β βββββββββββββββββββββββββ frame control
β βββββββββββββββββββββββββββββ access control
βββββββββββββββββββββββββββββββββ starting delimiter
The ACCESS CONTROL byte carries:
PPP T M RRR
β β β βββ reservation bits (request a priority)
β β ββββββ monitor bit (loop detection)
β βββββββββ token bit: 0 = free token, 1 = data frame
ββββββββββββββ priority bits (0β7)
So the difference between "a token" and "a data frame" is one
bit. That is why capturing the token is cheap β no new frame
needs to be generated.
Priority and the monitor
PRIORITY OPERATION β the feature Ethernet had no answer to:
Β· the token carries a current PRIORITY (0β7) in the PPP bits
Β· a station may transmit only if its frame's priority β₯ the
token's priority
Β· a station wanting higher priority writes its request into
the RESERVATION bits as the frame passes
Β· the station that releases the token raises the token's
priority to the highest reservation seen, and REMEMBERS the
old value so it can lower it again later
β real quality of service in 1985. Voice or control traffic
could be given guaranteed precedence, which is exactly what
Ethernet needed VLANs and 802.1p to approximate a decade
later.
THE ACTIVE MONITOR β one station is elected to police the ring:
Β· removes ORPHANED frames β a frame whose sender has died and
which would otherwise circulate forever. It uses the MONITOR
BIT: the monitor sets it to 1 on first pass; if it sees a
frame already carrying 1, that frame has been round twice
and is drained.
Β· regenerates a LOST token if none is seen within a timeout
Β· provides the master clock for the ring
Β· detects and removes duplicate tokens
STANDBY MONITORS watch the active monitor and elect a new one
if it fails.
THE COST OF THIS DESIGN: the ring has a single point of
coordination and β physically β a single point of failure. One
broken cable or dead NIC breaks the ring for everyone.
IBM's answer was the MAU (Multistation Access Unit), a wiring
concentrator that bypasses a failed station automatically,
which made the physical topology a star while the logical
topology stayed a ring. That is the same physical-star idea
Ethernet hubs used, arrived at from the opposite direction.
Token Ring versus Ethernet β the comparison that matters
TOKEN RING (802.5) ETHERNET (802.3)
access method token passing CSMA/CD contention
collisions IMPOSSIBLE possible, detected
determinism YES β bounded wait NO β statistical
behaviour under DEGRADES GRACEFULLY COLLAPSES: more
heavy load (throughput holds) collisions β more
backoff β less
throughput
behaviour under WORSE β token BETTER β a station
light load passing overhead transmits at once
even with one
station wanting
to send
priority support YES (8 levels) no (until 802.1p)
single point of yes (ring/monitor) no (with a hub or
failure switch)
speed (historical) 4 / 16 Mbps 10 / 100 / 1000+
cost per port HIGH (proprietary) LOW (commodity)
vendor IBM-dominated multi-vendor
WHY ETHERNET WON, in order of importance:
1. COST. Commodity NICs and cabling from many vendors versus
IBM's proprietary MAUs. Price beat elegance.
2. SWITCHING. Once Ethernet switches replaced hubs
(mid-1990s), each port became its own collision domain β
and Ethernet's one real weakness, collisions, VANISHED.
Token Ring's central advantage evaporated overnight.
3. SPEED. Ethernet went 10 β 100 β 1000 Mbps while Token Ring
stalled at 16.
4. SIMPLICITY. No monitor election, no token maintenance, no
ring-break recovery.
THE DECISIVE POINT is (2). Token Ring's determinism was worth
paying for only while Ethernet had collisions. Switched
Ethernet is ALSO collision-free, at lower cost, so the
trade-off that justified Token Ring simply stopped existing.
WHERE DETERMINISM STILL WINS: industrial and safety-critical
networks, where a bounded worst-case delay is a requirement
rather than a preference β the same hard-real-time argument as
in ACtE0705. PROFIBUS, and modern Time-Sensitive Networking
(TSN, IEEE 802.1Q extensions) bring scheduled, deterministic
transmission back to Ethernet itself, which is the idea Token
Ring had, implemented on the hardware that won.
The reason Token Ring's story is worth knowing: its one great advantage β no collisions β was neutralised not by a competing token protocol but by a change in topology. Switched Ethernet removed collisions as a side effect of giving every port its own segment. When a rival makes your central advantage irrelevant rather than beating you at it, superior engineering does not save you.
π‘ Exam angle: describe the token-passing cycle β wait for the free token, flip the token bit to capture it, transmit, drain the returning frame, release a new token β and state that collisions are impossible by construction, not merely detected. Know that the access control byte holds the priority, token and monitor bits, and that the active monitor removes orphaned frames using the monitor bit and regenerates a lost token. The comparison table is the likely question: Token Ring is deterministic and degrades gracefully under load but is slower and costlier; Ethernet won on cost and switching, which removed collisions anyway.
Syllabus points
Ring operation, token passing, priority
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.