Explain the Token Ring Network (IEEE Standard 802.5) in Computer Network.

Computer NetworkInternetMCA

In a token ring, a special bit pattern, known as a token, circulates around the ring when all the stations are idle. Token Ring is formed by the nodes connected in ring format, as shown in the diagram below.

The principle used in the token ring network is that a token is circulating in the ring, and whichever node grabs that token will have the right to transmit the data.

Whenever a station wants to transmit a frame, it inverts a single bit of the 3-byte token, which instantaneously changes it into a normal data packet. As there is only one token, there can be only one transmission at a time.

Since the token rotates in the ring, it is guaranteed that every node gets the token within some specified time. So there is an upper bound on the time of waiting to grab the token so that starvation is avoided. There is also an upper limit of 250 on the number of nodes in the network.

The ring network is depicted in the figure given below −

Modes of Operation

There are various modes of operations which are as follows −

  • Listen Mode − In the listen mode, the incoming bits are simply transmitted to the output line with no further action taken.

  • Talk or Transmit Node − The ring interface is set to the talk or transmit node when the station connected to the ring interface has acquired a token. The direct input to output connection through the single bit buffer is disconnected.

  • By-pass Mode − This mode reaches when the node is down. Any data is just bypassed. There is no one-bit delay in this mode.

Handling Breakage

The main problem with a ring network is that the network goes down when the ring cable breaks down or gets tempered. The solution to this problem is the use of a wire centre, as shown in the figure.

This wire center bypasses the terminals that have gone down from the ring. This is done by connecting the bypass relay for that station. These relays are generally controlled by the software that operates automatically in case of station failure. The use of a wire center improves the reliability and maintainability of the ring network.

Priority and Reservation

In IEEE 802.5, each station has a priority code. As a token circulates on the ring, any station which wants to transmit the frame may reserve the token by entering its priority code in the Access Control (AC) field of the token frame or data frame.

Time Bounding

A station that is in possession of the token only can transmit his frames. It may transmit one or more data frames but before the expiry of Token Holding Time (THT). Typically, this time is 10 milliseconds. After the THT, the token frame must be handed over to some other station.

The Monitor Station

The monitor station sets the timer on when each time the token passes. If the token does not regenerate in the allotted time, it is assumed to be lost, and then the monitor station generates a new token and sends it to the ring. If the monitor fails, a second station is designated as back-up.

Published on 04-May-2021 12:27:12