Patent attributes
The present invention discloses a method for routing in a ring network, the ring network comprising multiple connected nodes, wherein, the method includes: each node in the ring network acquiring topology information of the ring network, obtaining under-ring routings learnt by the other nodes from a under-ring network, calculating a main path and a backup path to each routing according to the acquired topology information of the ring network, creating an FRR switch table, and switching between the main path and the backup path according to the FRR switch table when a failure occurs in the ring network. Accordingly, the present invention also provides a node in the ring network. Adopting technical scheme provided by the present invention, a simple routing implementation for ring network and fast convergence when a failure occurs can be provided.