Skip to main content
NETWORKING · TOPOLOGY

What Is Ring Topology?

Ring topology is a network layout in which each device connects to exactly two neighbours, so the links form a closed loop. Data travels around the ring from node to node. Modern industrial Ethernet rings keep one link blocked and open it when another link fails, typically restoring traffic in under 50 ms with ITU-T G.8032 ERPS.

01

How ring topology works

Ring topology is a network layout in which every device connects to exactly two others, one on each side, so the cables form a closed loop. A ring network passes data from node to node around that loop until it reaches the device it is addressed to. Each node receives the signal and sends it on, so the ring needs no central hub.

The first ring networks were token-passing LANs. In IBM Token Ring, standardised as IEEE 802.5, a short frame called a token circulated around the ring and only the station holding the token could transmit, so there were no collisions. FDDI, an ANSI standard for 100 Mb/s over fibre, used two counter-rotating rings so that a single cut could be wrapped around. Both have been replaced by switched Ethernet in offices.

The ring layout survives in industrial networks for a different reason: redundancy. A cable run that loops through every cabinet and back to the start gives each switch two paths to everywhere else, so one cut fibre or failed switch does not split the network.

02

Advantages and disadvantages of a ring network

A ring sits between a star and a mesh. It uses far less cable than a full mesh but still gives every node a second path.

  • //
    Advantage: a second path. With a redundancy protocol, traffic reroutes the other way around the ring when one link fails.
  • //
    Advantage: efficient cabling along a line. Plants, tunnels, roads and trains lay out in long lines, and a ring needs only one extra link to close the loop back to the start.
  • //
    Advantage: no single central device. There is no core switch whose failure takes down every link at once.
  • //
    Disadvantage: one break ends a simple ring. Without protection switching, a unidirectional ring stops working when any node or link fails.
  • //
    Disadvantage: two breaks split it. A protected ring survives one fault, but a second fault isolates the nodes between the two breaks.
  • //
    Disadvantage: changes disturb the loop. Adding or removing a node means breaking the ring, so work is planned around the redundancy.
03

How an Ethernet ring avoids loops

Ethernet cannot run on an active loop. A broadcast frame would circle the ring for ever and multiply, a broadcast storm that saturates every link within seconds. An Ethernet ring therefore blocks one link logically while keeping it cabled, and unblocks it only when a fault appears.

In Ethernet Ring Protection Switching (ERPS), defined in ITU-T G.8032, one switch is the ring protection link (RPL) owner and holds its port on the RPL blocked. When a switch detects a failed link it sends R-APS messages around the ring, the owner unblocks the RPL and traffic flows the other way. G.8032 targets switching in under 50 ms for rings within its design limits. The older answer, the Spanning Tree Protocol in IEEE 802.1D and its rapid version RSTP (now in IEEE 802.1Q), works on any layout but converges more slowly.

Most of our managed industrial switches support G.8032 ERPS with recovery in under 50 ms, alongside STP, RSTP and MSTP for other layouts.

04

How ERPS (ITU-T G.8032) protects a ring

ERPS is the ring protocol most managed industrial switches now share, because it is an open ITU-T recommendation rather than one vendor’s scheme, so switches from different makers can sit in the same ring.

When a link fails, the two switches next to it block their ports onto the failed link, flush their MAC address tables and send signal-fail messages both ways around the ring. The RPL owner then unblocks the protection link and traffic flows the other way. G.8032 sets a target of under 50 ms for this switch-over on a ring of up to 16 switches and 1,200 km of fibre, which is why datasheet recovery figures usually come with a maximum ring size.

Three timers shape what happens around the switch-over. A hold-off timer, zero by default, gives a lower-layer protection scheme time to act first. A guard timer, 500 ms by default, stops outdated messages still circling the ring from undoing a recovery. In revertive mode, a wait-to-restore timer, 5 minutes by default, keeps traffic on the backup path until the repaired link has stayed up long enough to trust; non-revertive mode leaves traffic where it is until an operator moves it.

Each ring is built from a few defined roles:

  • //
    RPL owner. The one switch that keeps its port on the ring protection link blocked while the ring is healthy, and unblocks it when a fault is reported.
  • //
    RPL neighbour. The switch at the other end of the protection link. Version 2 of G.8032 lets it block its end too, so the link is held at both ends.
  • //
    R-APS channel. Ring Automatic Protection Switching messages travel on their own control VLAN, separate from user traffic, and carry the signal-fail and recovery states around the ring.
  • //
    Sub-rings and interconnection nodes. G.8032 version 2 (2010) lets further rings attach to a main ring through interconnection nodes, so a large site can run several joined rings instead of one very long loop.
05

Ring redundancy protocols compared

Recovery time is the figure that matters on a control network, because a controller that loses its I/O for longer than its watchdog time trips the process.

Protocol Standard Typical recovery Where it is used
STP IEEE 802.1D Around 30 to 50 s Legacy networks, any layout
RSTP IEEE 802.1w, now 802.1Q Hundreds of ms to a few seconds Mixed layouts, interoperability
MRP IEC 62439-2 Around 10 to 500 ms by class PROFINET plants
ERPS ITU-T G.8032 Under 50 ms target Industrial and carrier rings
DLR ODVA (EtherNet/IP) Around 3 ms or less Device-level rings of I/O and drives

Recovery times depend on ring size, link speed and the switch, so take the figure from the datasheet. Many switch vendors also offer proprietary ring protocols. They can be fast, but every switch in the ring then has to come from the same vendor.

FAQ · 01
Do you need a managed switch for a ring?
Yes. Ring redundancy is a managed switch feature, because each switch has to run the ring protocol and block or unblock its ports. Unmanaged switches cannot take part in a ring, and connecting them in a loop causes a broadcast storm.
Read the full FAQ —
06

Where ring networks are used today

Rings are common wherever the equipment is spread along a line and an outage is expensive.

  • //
    Factory and process plants. Cabinet-to-cabinet rings link PLCs, drives and HMIs along a production line or around a site.
  • //
    Utilities and substations. Fibre rings link substations, pumping stations and treatment works back to a control room.
  • //
    Road, rail and tunnels. Switches in roadside or trackside cabinets form rings so one cable fault does not black out a stretch of cameras or signs.
  • //
    Trains. Rolling stock networks chain switches carriage to carriage and close the loop for redundancy.
  • //
    Carrier and metro networks. Telecom operators run SONET/SDH and Ethernet rings around cities.
07

Building an industrial Ethernet ring

Plan the ring around the longest link and the harshest cabinet. Fibre suits long or electrically noisy runs between buildings, and our guide to choosing single-mode or multimode fibre covers the distance limits. Copper suits short links inside a building.

Use the same ring protocol on every switch, keep the ring within the size the protocol is specified for, and decide which switch owns the blocked link. On rolling stock, M12 Ethernet switches with locking connectors suit vibration, and some include bypass protection that keeps a daisy chain passing traffic if one switch loses power. Our guide to choosing managed or unmanaged industrial switches explains where a ring is worth the extra configuration.

08

Quick answers on ring topology

Ring topology: common questions

What happens if a device in a ring topology fails?

It depends on the ring. A simple unidirectional ring stops at the break. A protected Ethernet ring detects the fault, unblocks its standby link and sends traffic the other way, so only the failed device drops off.

Is ring topology still used?

Yes, mainly in industrial and carrier networks. Token Ring and FDDI have gone from offices, but Ethernet rings with ERPS, MRP or DLR are standard in plants, utilities and transport.

Is Token Ring the same as ring topology?

No. Ring topology is the physical or logical layout. Token Ring was one network technology, IEEE 802.5, that used a ring and token passing.

How many switches can be in a ring?

Typically tens. The limit comes from the protocol and the recovery time you need. Check the switch datasheet, as the fast recovery figures usually assume a stated maximum number of switches.

Ring vs star topology: which is better?

It depends on the job. A star is simpler and suits devices in one cabinet or room. A ring adds a second path between cabinets. Many plants use both: stars at the edge and a ring between switches.

What is ERPS in networking?

A ring protection protocol. Ethernet Ring Protection Switching, ITU-T G.8032, keeps one link of an Ethernet ring blocked and unblocks it when another link fails, typically restoring traffic in under 50 ms.

We supply managed industrial switches for Ethernet rings and set up the ring protocol, VLANs and IP addressing before they ship, so the ring is ready to connect on site.