GB2440461A - Determining shortest path through a network - Google Patents

Determining shortest path through a network Download PDF

Info

Publication number
GB2440461A
GB2440461A GB0719578A GB0719578A GB2440461A GB 2440461 A GB2440461 A GB 2440461A GB 0719578 A GB0719578 A GB 0719578A GB 0719578 A GB0719578 A GB 0719578A GB 2440461 A GB2440461 A GB 2440461A
Authority
GB
United Kingdom
Prior art keywords
path
node
bypass
network
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB0719578A
Other versions
GB0719578D0 (en
GB2440461B (en
Inventor
Andrew Reeve
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Roke Manor Research Ltd
Original Assignee
Roke Manor Research Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GBGB0519648.0A external-priority patent/GB0519648D0/en
Application filed by Roke Manor Research Ltd filed Critical Roke Manor Research Ltd
Priority to GB0719578A priority Critical patent/GB2440461B/en
Publication of GB0719578D0 publication Critical patent/GB0719578D0/en
Publication of GB2440461A publication Critical patent/GB2440461A/en
Application granted granted Critical
Publication of GB2440461B publication Critical patent/GB2440461B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • H04B1/745Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus using by-passing or self-healing methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/122Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/20Hop count for routing purposes, e.g. TTL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Abstract

A shortest path is determined through a network between source and destination nodes. The source node (A) broadcasts a path request message which propagates through the network. Intermediate nodes receiving the message for the first time store a hop count and broadcast identifier contained in the message, and subsequent request messages received from the source are only propagated if the hop count of the subsequent message is less than the stored count. The destination node (Z) returns a message to the source node indicating the path received with the shortest hop-count.

Description

<p>RESiLIENT NETWORK This invention relates to a network resilient to at
least two points of failure, in particular one which uses an ad hoc on-demand resilient path (AORP) protocol to set up and maintain resilient label switched paths (LSP).</p>
<p>For the purpose of this application, the following terms are used. A route is an ordered list of links connecting two nodes; a bypass is an ordered list of links connecting two nodes avoiding a set of nodes and or links; a virtual path is a logical path between a source and a destination node whose physical path through the network varies in time; an active path is the current path between a source and a destination node which should be used for transferring data packets belonging to a virtual path, the current instantiation of the virtual path; a section is part of a path; a backup section is a section which is available to replace a protected section; a resilient virtual path is a logical connection created to provide reliable unidirectional data transfer between a source node and a destination node; a path partner is one of a pair of disjoint paths used to provide a resilient virtual path.</p>
<p>In accordance with a first aspect of the present invention, a network resilient to at least two points of failure comprises a plurality of nodes; wherein a first path between a source node and a destination node is determined; wherein a second path between a source node and a destination node is determined; and wherein the first and second paths are node-disjoint.</p>
<p>Preferably, each node in the path has a primary link and a bypass to a subsequent node; and wherein, in use, each node determines the validity of its primary link and if that is not valid, the node switches to the bypass.</p>
<p>Preferably, a bypass of the first path is disjoint with the second path.</p>
<p>Similarly, a bypass of the second path is disjoint with the first path.</p>
<p>Preferably, the node disjoint paths arc set up by a routing protocol, which adapts a predetennined metric in each path.</p>
<p>Preferably the predetermined metric is to minimise the number of hops; or to maximise power.</p>
<p>For both disjoint paths and bypasses, the general goal is to minimize cost according to some metric. In one example, the metric is the number of hops, although other metrics are useful such as maximising power along the path.</p>
<p>Preferably, at least one of the nodes in the path does not have a fixed geographical location.</p>
<p>Preferably, transmission of a message packet from the source node niay begin before the bypasses are set for each node in the path.</p>
<p>Although, the transmission of messages can start as soon as the first shortest path is set up, it is important that a disjoint pair and the bypasses are set up as soon as possible to provide resilience throughout.</p>
<p>Preferably, the message packet includes a label; and each node switches the message packet to the primary link or the bypass according to the label.</p>
<p>Preferably, the label is used to derive an address in a memory store and each primary link and bypass link a node is stored in the memory store.</p>
<p>An example of this is an index into a RAM table.</p>
<p>In accordance with a second aspect of the present invention, a method of determining a shortest path in a network comprising a plurality of nodes comprises broadcasting a path request message from the source node; and propagating the path request message through the network from node to node; wherein, on first receipt of the path request message at each node, a hop count and broadcast identifier are stored; wherein, if a path request message is received a second time at any node, it is only propagated if the new hop count is less than the stored hop count; and wherein the destination node replies to the source node along the path with the lowest hop count to set up the shortest path.</p>
<p>Preferably, the method comprises detemiining a first shortest path and allocating each link in the path a cost of+l; determining a second shortest path and allocating to each link in that path which is also in the first shortest path a cost of-i; sending a path reply from the destination node back to the source node to create the disjoint pair from links belonging to the first and second shortest paths, but which do not belong to both paths.</p>
<p>In accordance with a third aspect of the present invention, a method of operating a network resilient to at least two points of failure; the method comprising setting first and second node-disjoint paths between a source node and a destination node; setting a primary link and a bypass at each node in the paths; propagating a message packet from the source node; at each subsequent node, checking validity of the primary link; and if the primary link is not valid, switching the message packet to the bypass.</p>
<p>Preferably, the first and second node-disjoint paths are determined according to the method of claim 10.</p>
<p>Preferably, the message packet includes a label and each node switches the message packet to the primary link or the bypass, according to the label.</p>
<p>Preferably, the label is used to derive an address in a memory store; and the node reads data from the memory store relating to the primary link or the bypass according to the label.</p>
<p>Preferably, the method further comprises setting bypasses at each node and if the bypass is determined to be shorter, then converting the bypass to be the primary link at that node.</p>
<p>In one example, the bypass shortens the overall path, an error is simulated at the point of local repair so that the path is re-routed along it.</p>
<p>In another example, the BREQ mutates into a PREQ and the shorter path gets set up An example of a resilient network and a method of setting up a resilient network according to the present invention will now be described with reference to the accompanying drawings in which: Figure 1 shows a splitter recombiner technique; Figure 2 shows an example topology for a network according to the present invention; Figure 3 illustrates a node disjoint path pair connecting a source and a destination node; Figure 4 illustrates replication of data across disjoint paths; Figure 5 shows a fast re-route bypass for Node D; Figure 6 illustrates local repair around the failed Node D of Fig. 5; Figure 7 shows fast re-route bypasses for all nodes on a primary path pair; Figure 8 is an example of a naïve algorithm causing blocking; Figure 9 is is an example of a sub-optimal nodedisjoint path pair; Figure 10 is an example of an incorrect choice of fast re- route bypass; Figure 1 I illustrates a resilient virtual path; Figure 12 illustrates physical connectivity in an example network; Figure 13 illustrates propagation of a path request (PREQ) through the network of Fig. 12; Figure 14 illustrates initial path set-up in the network of Fig.12; Figure 15 illustrates path activation in the network of Fig.12; Figure 16 shows an example initial primary path in the network of Fig. 12; Figure 17 shows an example bypass set-up in the network of Fig.12; Figure 18 shows bypasses in the network of Fig. 12; Figure 19 shows an example topology for disjoint pair set-up in the network of Fig. 12; Figure 20 shows an S-prinied path in the topology of Fig.19; Figure 21 shows shortest (S) path set-up in the topology of Fig.19; Figure 22 shows S-primed (S') path set-up; Figure 23 shows a configuration of disjoint pair by PREP-primed; Figure 24 illustrates activation of disjoint paths; Figure 25 is a message sequence chart for path setup; Figure 26 is a message sequence chart for bypass setup; Figure 27 is a message sequence chart for path error repair by detector; Figure 28 is a message sequence chart for path error repair by intermediate; Figure 29 is a message sequence chart for path error repair by source; Figure 30 is a message sequence chart for path error with no local repair; Figure 31 is a message sequence chart for bypass error.</p>
<p>Fig. I illustrates how splitter re-combiner technique resilience to network faults is provided by transmitting two copies of each packet. Each copy follows a separate path through one or more nodes I to its destination. A receiver selects one copy of each packet in order to reconstruct the original packet stream. Network faults will cause packet loss, but as long as both routes arc not affected, at least one copy of each packet will be received. A source node 2 is labelled A and the destination node 3 is labelled Z, a convention which is used in the network figures throughout this description. Two routes arc used for communication from A to Z, A-B-C-Z and A-D-E-Z. A sends a copy of every packet on each route and Z selects one copy of every packet received.</p>
<p>In order that the technique provides resilience to single points of failure, the two routes must be node-disjoint. Furthermore, in order to provide protection from more than one point of failure, bypasses for individual nodes are setup so that each path can effect local repair. In addition, in order to avoid packet loss or excessive jitter owing to congestion at a node or link, bandwidth resources must be reserved along each route.</p>
<p>The combination of a route and a bandwidth reservation is known as a path. The two members of a disjoint path pair are known as partner paths. A routing protocol is employed to set up node-disjoint path pairs with bandwidth reservations. The concept includes the provision of routing algorithms and protocols to set up protected disjoint path pairs.</p>
<p>Node-disjoint path pair routing is illustrated in Fig. 2 which provides an example topology used to describe the routing concepts. By convention A and Z arc the source 2 and destination 3 nodes of a traffic stream. Nodes B to M are intermediate nodes I for this connection. The lines connecting nodes are operational links 4. It is assumed that a broadcast wireless technique is used, but the signal reception between certain pairs of nodes, for example D and E, is too poor to allow communication.</p>
<p>Fig. 3 shows the shortest node-disjoint path pair 5 from A to Z, A-D-C-Z, A-B-E-Z. Other node-disjoint pairs arc possible, but they are longer and it is important to minimize the number of hops in order to minimize overall battery and link bandwidth consumption.</p>
<p>Fig. 4 illustrates the replication of data across the two disjoint paths 6, 7. In this example, communication from A to Z is unaffected by the failure of one of nodes I B, C. D and E. No packet loss is seen by Z. This contrasts with schemes which do not perform replication, but send packets over one path, the primary path, and switch over to a disjoint backup path in the case of error. In such schemes, the node detecting the error must inform the source node using signalling before the source can switch to the backup path. Packets are lost during this time.</p>
<p>Local repair using fast re-route addresses the problem that the scheme so far oitlined suffers from a lack of resilience to multiple points of failure, a situation which is relatively likely in the target network type. For instance, if nodes D and E fail, both paths are inoperable and communication is interrupted. Resilience is improved by the usc of a local repair technique employing multi-protocol label switching (MPLS) fast re-route. When a failure occurs on a path, the path is rerouted around the failure using a previously established bypass. Local repair is nianaged by a node termed the Point of Local Repair (PLR). The PLR is responsible for setting up the bypass and monitoring the status of the link or node it protects. Repair is very rapid because it is enacted by the node monitoring tile failed element using a pre-configured bypass. Fig. 5 shows the example of a bypass 8 A-J-K-L-C for D created by the source node A, the responsible PLR for D. Fig. 6 shdws how the path A-D-C-Z is rerouted around tile bypass following the failure of D, so that the path pair are now A-B-E-Z and A-J-K-L-C-Z, so excluding the failed or unreachable node 9.</p>
<p>Each node i on the disjoint path pair. with the exception of the destination 3, takcs on the role of PLR for an adjacent downstream link and attached node. For tile example disjoint path pair of Fig. 5, the protected nodes and the corresponding PLRs are as shown in Table I below. For the purpose of this example, it is assumed that each nodc uses only one communications media instance. This means that there is no need for a node to distinguish between failure of a neighbouring node I and failure of the corresponding communications link 4.</p>
<p>protected node point of local _________________ repair</p>
<p>D A</p>
<p>C D</p>
<p>B A</p>
<p>E B</p>
<p>Table 1: Responsible Points of Local Repair When the disjoint path pair is setup, each P[.R sets up the bypasses for which it is responsible. See the example in Fig. 7 and Table 2 below. Thus, D sets up the bypass A-J-K-L-C 10, C sets up a bypass D-L-M-Z I I and so on.</p>
<p>___________________ ___________________ ___________________</p>
<p>protected node point of local bypass _________________ repair __________________</p>
<p>D A A-J-K-L-C</p>
<p>C D D-L-M-Z</p>
<p>B A A-F-G-E</p>
<p>E B B-G-H-I-Z</p>
<p>Table 2: Example Bypass Configuration Routes for a disjoint path pair must be properly calculated. A naïve algorithm may not be able to tind a disjoint pair even when one does exist, The obvious naïve approach is to first find a shortest path from source to destination and then find a second path which is disjoint from the first. Consider the reduced topology shown in Fig. 8. If the first path 12 from A to Z is chosen to be A-B-C-Z, which is one possible shortest path, then no second disjoint path remains. However as has been seen earlier, the paths A-D-C-Z 6 and A-B-EZ 7 form a disjoint pair which the naïve algorithm is unable to find.</p>
<p>A naïve algorithm may also produce sub-optimal routing. Consider the usual topology shown in Fig. 9. Employing the same naïve algorithm, if the first path from A to Z is chosen to be A-B-C-Z 12, which is one possible shortest path, then any second disjoint path must traverse at least 3 intermediate nodes so that the disjoint pair traverses 5 intermediate nodes in total. The optimal pair {A-D-C-Z 6, A-B-E-Z 7} traverses only 4 intermediate nodes. Minimizing the number of intermediate nodes traversed is an important consideration for wireless mobile networks where total battery power consumption must be kept to a minimum and where minimum path lengths vi11 reduce the potential for packet loss or damage and minimizes jitter.</p>
<p>Care must be taken when selecting the routes for bypasses protecting nodes on a disjoint path pair. The route taken by a bypass protecting part of a path must not coincide with any part of the partner path. If it did, the integrity of the disjoint path pair would be destroyed. Consider for example Fig. 10, where nodes A and Z are connected by a disjoint path pair 6, 7. The shortest bypass which protects node D is A-B-C 12, but this must not be chosen because B is coincident with the partner path 7. If D fails, the path pair is repaired to become A-B-C-Z, A-B-E-Z} which is no longer disjoint since B is conimon to both members. The connection from A to Z is no longer protected against failure of B, and the link A B carries both copies of every packet.-The resulting architecture satisfies many requirenients. The architecture is capable of autonomous operation, i.e. it must not rely on any central infrastructure; The U-plane of the architecture supports the transfer of IPv4 packets; and it is assumed that the concept is applicable to networks where there are nodes which cannot communicate directly with other nodes, so communication between nodes which cannot communicate directly is via intermediate nodes, that is, the method employs hop by hop packet transfer.</p>
<p>The type of networks for which the architecture is developed is inherently ad hoc in nature, so ad hoc routing needs to be supported. Ad hoc routing is required for a number of reasons. The nodes are mobile and so have changing connectivity relationships resulting in a changing and unpredictable topology. Even if the nodes are static, the requirement to plan the network in advance is an unnecessary overhead, so ad hoc routing avoids the requirement to pre-configure nodes and assign roles prior to each mission. Communication conditions and topography may not be known with sufficient accuracy in advance of deployment, so the network must continue to operate following unpredictable changes in circumstances.</p>
<p>The architecture needs to be able to support mobile nodes with nodes moving in and out of each others communications range resulting in a more or less rapidly changing network topology. In particular the architecture must support networks where typically any initial topology will not persist. The architecture includes link monitoring which performs timely local detection of failure to enable local repair using fast re-route. Preferably, the specified link monitoring technique provides a confidence level indication for operational links which allows the routing function to distinguish between links which are likely to be more or less long lived.</p>
<p>The total amount of traffic, both signalling and data, is kept to a minimum since packet processing by a node consumes battery power which is a limited resource and the total network bandwidth is a limited resource which must be conserved in order to maximize the number of connections that may be supported. Similarly, the number of hops taken by a path is kept to a minimum because packet processing by a node consumes battery power. The number of intermediate nodes that are burdened with supporting a path is minimised due to the limits on total network bandwidth. It is desirable that the number of links that provide bandwidth for a path are kept to a minimum; as the larger the number of nodes that a path traverses, the higher the probability that it will be affected by failure of a node or link.</p>
<p>Link failure due to mobility, changing environmental conditions and node loss are common events in the type of networks for which the architecture is designed, so resilience against multiple points of failure is required to address the increased probability of multiple points of failure on active paths in these networks. The system carries out open path discovery, whereby the routing function finds an open path between endpoints, if any such path exists.</p>
<p>Active-Active 1+1 Protection means that the architecture can support resilience through data duplication over two disjoint paths as described above. This means that a connection will not experience an outage on single point of failure. Fast re-route local repair of failed paths using pre-established bypasses is supported as described above. It is desirable that local repair using fast re-route is performed in less than 5Oms. This means that, subject to the topology, connections will experience less than 50 ms outage on the loss of more than I node or link.</p>
<p>Multiple protection levels, as shown in Table 3 arc supported according to the combination of techniques employed.</p>
<p>outage on active-active outage on loss level fast re-route. loss of >1 1+1 of single node _________ _____________ ____________ ____________ node 0 no no undefined undefined 1 no yes <50 ms undefined 2 yes no NONE undefined 3 yes yes NONE <50 nis Table 3: Protection Levels and Outage Times Bandwidth is reserved along a path in support of critical data streams and real-time quality of service (QoS). Wherever possible the architecture adapts or employs existing standards or draft standards to reduce development time, increase confidence and reduce standardisation and implementation time.</p>
<p>Referring to Table 3, bypass and partner paths are disjoint and for protection level 3, every bypass protecting part of a path must be disjoint from the partner path as described above. The point of local repair (PLR) and the other nodes through which a bypass is routed monitor the health of the bypass and if the bypass fails, the PLR is signalled, then the PLR sets up a replacement bypass in order to maintain the protection level.</p>
<p>Multi protocol label switching (MPLS) is employed since packet forwarding is simple and can be implenîented with minimum processing overhead resulting in low power consumption and it can easily be implemented in an application specific integrated circuit (ASIC) which also helps to lower power consumption; MPLS also provides path routing and enables the fast re-route technique, as well as per path bandwidth reservation.</p>
<p>On the data path the MPLS label switching technique is employed. Each packet is prefixed by a shini header containing a label used by nodes to make forwarding decisions based on a simple table lookup. This allows implementation in hardware reducing power consumption.</p>
<p>In order to transfer packets from one node to another using the MPLS technique, a label switch path (LSP) must be setup between them. As part of the LSP setup and maintenance procedures, communication resource reservation can he pert ornied as an essential part of an overall quality of service (QoS) strategy. This is an important advantage. LSPs are unidirectional in the sense that they only carry packets in one direction, from the source to the destination.</p>
<p>In a wireless ad-hoc network, the route taken by packets between a source and a destination will not be constant. Accordingly the concept of a virtual path is employed.</p>
<p>A virtual path is a path between two nodes whose precise route through the network varies in time in response to changing network conditions. At any time, the current instantiation of the virtual path used for transferring data packets is termed the active path. An active path is realised by an LSP.</p>
<p>A reactive approach to routing is employed. This is based on the Ad hoc On-demand Distance Vector (AODV) protocol. This is chosen because it involves simple nodal behaviour and has lower signalling traffic which scales with the number of active LSPs. Fault tolerance and reduction of packet loss ratio during network state change is achieved by means of local repair using bypass LSPs. Within the internet engineering task force (IETF) this is termed a detour and the term bypass refers to a LSP which protects a number of LSPs. When a node on the active path detects a link failure, the path is immediately re-routed around a prc-established operational bypass, nhinimising the chance of losing packets.</p>
<p>The bypasses are setup when the virtual path is initially created. Each node and link on the active path is protected by at least one bypass. The links and nodes which provide a bypass are actively monitored to ensure its viability so that it provides an active standby for the section of the active path that it protects. Should a bypass fail, attempts to setup a replacement are immediately initiated to maximise that the chance that the virtual path is always fully protected. When a bypass is brought into service following the loss of an element that it protects, it becomes part of the active path, changing its route. Bypasses must now be setup for any newly added elements of the active path that are not currently protected.</p>
<p>As nodes niove or go out of service and network conditions change, there is a danger that the route currently taken by the active path becomes sub-optimal. This is addressed in two ways. First, whenever a node detects that replacing a section of the active path with a bypass would reduce the total path cost, it performs the replacement.</p>
<p>For the time being, the replaced section changes role to become a bypass, Second, the source will periodically initiate discovery of the current best route to the destination and replace the active path if that results in a sufficiently more optimal route. A more detailed description now follows. For simplicity, initially the case of a single path without disjoint partner is described and procedures for the setup and maintenance of disjoint pairs are discussed afterwards.</p>
<p>Fig. II illustrates an example of a resilient virtual path. The following formal definitions will be used: A resilient virtual path (RVP) 14 is a logical connection created to provide reliable unidirectional data transfer between a source node A and a destination node Z. The disjoint paths used to carry a resilient virtual path are called IS path partners 15. Each path partner is a LSP. The route of a path partner can vary during the lifetime of a RVP as network topology changes. A bypass 16 is an LSP set up in advance to protect a node 17 on a path partner. The bypass is set up by the predecessor of the protected node. This node 18 is called the point of local repair (PLR). The node 19 downstream of the protected node at which the bypass rejoins the path partner is called the join point (JP).</p>
<p>in order to provide unambiguous and convenient identification of virtual paths, each path has a global path identifier (GPI) comprising the source node internet protocol (IP) address, the destination node IP address and a path identifier. The path identifier is chosen by the source to be unique to the source and destination pair. Source nodes niust employ a suitable path identifier numbering strategy to ensure that ambiguity is avoided following re-boot.</p>
<p>A path sequence number (PSN) is used to identify the current path. The PSN is used in the correct routing of path partners and bypasses. The source initially sets the PSN to 0. The destination increments the PSN whenever it responds with a path reply (PREP) for a better path. The source increments the PSN whenever it re-initiates path setup on loss of both partners. The source will increment the PSN when activating a path pair following successful local repair which has modified the route. The PSN is used to detect out of date messages and is used to identify nodes on the current path during bypass setup.</p>
<p>Each disjoint path partner is identified by its own unique path partner identifier (PPfD) which may take the value 0 or 1. The PREQ and BREQ messages are flooded across the network by means of broadcast. The broadcast identifier (BID) is used to identi1' duplicate messages and prevent their unnecessary propagation or processing. The source periodically re-broadcasts a path request (PREQ) message until a successful PREP is received. The BID is used to identify old versions of messages which have already been forwarded. The source increments the BID before each re-broadcast. Each node which is in receipt of a PREQ will discard it if it has a lower BID than that already seen or if the PREQ does not represent an improvement. A point of local repair periodically re-broadcasts a BREQ messages until a successful BREP is received. The BID is used to identify old versions of messages which have already been forwarded. The source increments the BID before each re-broadcast. Each node which is in receipt of a BREQ will discard it if it has a lower BID than that already seen or if the BREQ does not represent an improvement.</p>
<p>Fig. 12 shows the physical connectivity for the example network used below.</p>
<p>The circles 20 centred on each node show the extent of a usable radio signal from the node. A transmitting node's packets can be reliably received by a receiving node if the transmitters signal fully or partially overlaps the receiver. The figure shows an idealised situation in which the transmit and receive capabilities of all nodes are identical and in which signal propagation is independent of location. For example, node C has a signal which fully overlaps node E and partially overlaps nodes A and F, but does not reach other nodes, such as D and H. Basic route discovery is based in part on the mechanism of ad hoc on-demand distance vector (AODV) as described by Perkins C et al, AODV routing (Request forComment RFC3561), July 2003.. As shown in Fig. 13, route discovery is initiated by the source node A broadcasting a PREQ message 21 containing the GPI (source IP address, destination IP address and path identifier) and a hop count which is initialised to zero. The PREQ is propagated through the network.</p>
<p>When it reaches the destination Z, the destination responds with a PREP 22 which is propagated back to the source node along a shortest route, as shown in Fig. 14.</p>
<p>Each node, on receiving the PREQ for the first time, creates a path table entry for the GPT, containing the hop count from the PREQ and its BID. Then, unless it is the destination, it increments the hop count and broadcasts it to its neighbours, causing the PREQ to be propagated across the network. When a node receives a PREQ for which it already has a path record, it first checks if it has an out of date BID and discards it if it does. Otherwise the PREQ will only be propagated if it has a better (lower) hop count than previously seen or if it has a newer BID. The path record is updated if the PREQ is propagated.</p>
<p>Path set up messages contain route objects as follows: The record route object (RRO) is an ordered list of IP addresses recording the route taken by a PREQ. Each node propagating a PREQ will first append its IP address to the RRO object. The explicit route object (ERO) is a an ordered list of IP addresses and associated pointer (PTR) specifying the route to be taken by a PREP. Each node propagating a PREP will decrement the pointer and unicast the PREP to the IP address pointed to in the ERO.</p>
<p>The destination will respond to the PREQ for the best route it has seen with a PREP.</p>
<p>The PREP sets up the LSP for the initial path by configuring the MPLS forwarding tables in each node along it. The PREP contains the GPI and an ERO derived by the destination from the RRO provided by the PREQ. It is forwarded upstream along a shortest path between the source and destination by following the ERO. Each node forwarding the PREP, the destination and each intermediate node, forwards it to the node specified in the reverse route entry for the path. Before transmitting the PREP, the sending node selects from its own label space the label to be used for packets from the immediately preceding upstream node and updates the corresponding field in the PREP. On receipt of the PREP, each node stores the next hop label in its forwarding table entry for the path.</p>
<p>In the example shown in Fig.14, Z has received the PREQ froni F before it receives one from G. Normally the first PREQ seen by a destination will be for a shortest path. However, in the event that a PREQ is received for a better path, it will respond with a PREP with a higher PSN. The source will always use the path with the highest PSN. The source can start transmitting data along the path as soon as it has processed the PREP. Once the initial route has been established for the path, the path has to be activated. This is shown in Fig. 15. The source sends a path activate (PACT) message 23 to the destination along the path's. The destination replies with a path activate confirm (PACF) message 24 which retraces its steps. Activation functions to store the final distance from the source (hops) at each node in a node -this is needed for later bypass routing; to store the final PPID for the path partner -this is required for disjoint path setup as is discussed below; to store the current PSN for the path; to initiate protection of the network elements along the path -when a node receives the PACF message, it initiates the setup of bypasses for any downstream network elements it owns; and to initiate link monitoring. The SOUCC does not have to wait for completion of the activation process before it starts using the path for data transfer. It can send packets as soon as it has received the PREP providing the next hop label.</p>
<p>Fig. 16 shows the initial primary path 25 set up in the example used above. The path is susceptible to the loss of the links A-C, C-F AND F-Z due to failure or movement of nodes C or F. or change in radio conditions. Since it is currently assumed that each node will only have a single transceiver, the path is in effect susceptible to the loss of the nodes C and F. Additional resilience is provided by creating bypasses around these nodes. The node upstream of the protected node is responsible for setting up the bypass and performs the role of point of local repair, re-routing traffic if an error occurs.</p>
<p>In order to set up a backup, a modified form of route discovery is performed, initiated by the point of local repair (PLR). The PLR broadcasts a bypass request (BREQ) 26 containing the GPI of the resilient virtual path and the IP address of the node to be protected. The actions carried out by nodes receiving the BREQ arc the same as those when receiving a PREQ except for the following: If the receiver finds itself to be the protected node, it silently discards the message. If the receiver is not on either of the RVP's path partners it appends its own IP address to the RRO object, increases the hop count aiid broadcasts the BREQ. If the receiver is on the path partner but is closer to the source than the PLR, it silently discards the message. If the receiver is on the path partner and is further from the source than the PLR it is a potential join point. It returns a BREP containing the cost of the bypass. The cost of the bypass is the number of hops by which the length of the partner path would increase if it were rerouted via the bypass. The join point will now have two forwarding entries for the GPI, each with identical next hop information, one for packets arriving from the predecessor hop on the path partner, the other for packets arriving from the predecessor hop on the bypass.</p>
<p>An example message flow for the set up of a backup for C, initiated by A, is shown in Fig. 17. The PLR will use the best bypass based on cost. If it detects failure of thc protected node it will immediately update the MPLS forwarding database so that packets will follow the bypass. Example backup sections for C and F are shown in Fig. 18. A-C-F-Z is a path partner 27 and A-D-F forms a bypass 28 for C, whilst C-E-H-Z forms a bypass 29 for F. Tn general the number of hops in a bypass is kept small, rejoining the primary path shortly after the node being backed up. This means that the well known expanding ring search (ERS) technique can be employed in order to reduce the overall signalling load required for backup path setup. This technique uses the time to live (TTL) field in the BREQ to restrict the number of hops that it may propagate.</p>
<p>The TTL is set to the required hop limit by the initiator. Each node receiving the BREQ 26 decrements the TTL and only forwards the packet if it is still greater than zero. The point of local repair uses successively larger search radiuses until a BREP 30 is received. Tuning of this aspect would require simulation, but an initial TTL of 2 seems to be a good starting point.</p>
<p>Generally, ERS has the disadvantage that it increases setup time in the case where a response is not received to the first broadcast. However minimising setup time is not important for the backup LSPs since they arc not required until the protected node is lost. As has been discussed above, a naïve algorithm will sometimes be unable to find a disjoint pair or will find a sub-optimal pair. The algorithm employed by AORP is a distributed one based on a centralised algorithm due to Bhandari described in Bhandari R, Survivable networks:algorithms for diverse routing, Kulwer Academic Publishers, 1999. The algorithm will be explained using the example topology shown in Fig. 1 9. Iii this topology, a disjoint pair is possible with A-F-C-D-G-Z 32.and A-B-H-l-J-E-Z 33. However the shortest path A-B-C-D-E-Z 31 cannot be a member of a shortest disjoint pair.</p>
<p>Fig. 20 introduces what is termed the S-primed path. This is a shortest path which includes all links which belong to the disjoint pair but are not on the shortest path and all links which are on the shortest path but are not on the disjoint pair, i.e. there is no duplication, hence the S-primed path in this example is A-F-C-B-H-l-J-E-D-G-Z, for disjoint pairs A-F-C-D-G-Z and A-B-H-l-J-E-Z. The shortest path in this case is A-B-C-D-E-Z The disjoint pair is produced from the shortest path and the S-primed path by adding the links from both except those which belong to both. Thus the strategy for finding a shortest disjoint pair is as follows: Find a shortest path (S); find all S-primed path; eliminate the links which are common to S and S-primed; combine the remaining links to produce the shortest disjoint pair. When finding the S-primed path, each link which is common to S is given a cost of-I. This is because these links arc not present in the resulting disjoint pair and make no contribution to its cost. Thus the cost of the disjoint pair is minimized by minimizing the cost of the S-primed path.</p>
<p>The means by which the disjoint pair is found using the distributed AORP protocol is now explained. The first step is illustrated in Fig. 21. The source A initiates a PREQ for the shortest path A-B-C-D-E-Z propagating in this direction and specifying a PPTD of 0 (the first). The best PREQ seen by the destination will be that for A-B-C-D-E-Z. The PREQs propagated for paths which are not the shortest are not shown. The destination responds with a PREP along the shortest path. Each node on S will now have a record of the path.</p>
<p>On receipt of the PREP for S, the source initiates the search for S-primed by broadcasting a PREQ with PPID = I. This is termed the PREP-primed. Fig. 22 shows the propagation of the PREQ-primed in the example and shows the hop accounting as it traverses each node. Only the PREQs for the S-primed path are shown. When processing the PREQ-primed, intermediate nodes, those which are neither source nor destination, belong to one of two sets: those that are on the shortest path, termed on-shortest or on-S; and those that are not on the shortest path, termed off-shortest or off-S. Nodes which are off-S have no current path matching the GPI. They are not aware that the PREQ is for an S-primed. They propagate the PREQ by broadcast in the normal way. Nodes which are on-S process the PREQ-prirned according to the following rules. In all cases, a PREQ is only propagated if it has a new BID or a better (lower) hop count. If it is received from a node which is off-S, its hop count is decrernented and it is propagated by unicast to the predecessor node on S. For example, if C receives a PREQ-primed from F, it unicasts it to B. If it is received from a node which is on-S and closer to the source, i.e. from the predecessor on S, it is discarded.</p>
<p>For example, if C receives a PREQ-primed from B, it discards it. if it is received from a node which is on-S but further from the source, i.e. from the successor on S, its hop count is incremented and it is propagated by broadcast. For example, if C receives a PREQ-primed from D, it broadcasts it.</p>
<p>It is important to realise that the PREP for S will configure a LSP along S so that data transfer from A to Z can begin immediately without waiting for subsequent signalling to complete. The path remains unprotected at this stage however.</p>
<p>In the simple case where the disjoint pair can include the path S without modification, S-primed will be disjoint from S. In such a case, the AORP algorithm will find a pair that could be found by a naïve algorithm. On receipt of a PREQ-primed which is an improvement on that seen befbre, the destination responds with a PREP 34 which follows the ERO derived froni the PREQ-prirned, as shown in Fig. 23. Processing of the PREP by the intermediate nodes depends whether they arc on-S or off-S. Nodes which are off-S process the PREP in the normal way. They set up the label switching state for the path and unicast the PREP to next node in the ERO.</p>
<p>Nodes which are on-S process the PREP according to the following rules. If it is received from a node which is off-S, the label switching state for the path is modified so that the path is now switched from the upstream link on S to the link on S-primed on which the PREP arrived. The PREP is unicast to next node in the ERO, which will be the downstream on-S. For example, when D receives the PREP from G, D modifies the label switching state for the LSP so that packets arriving from C are switched to G. D IS then unicasts the PREP to F. If the PREP is received from a node which is on-S, which will be the node upstream on-S, the PREP is unicast to the next node in the ERO, which will be off-S, specifying the label already allocated for S and previously communicated to the upstream node on S. For example, when E receives the PREP from D, E unicasts it to J, providing the label previously provided to D. The management of the label switching state during PREP processing is such that there is always a contiguous LSP from source to destination so that data can always be transferred end to end. The route taken by the LSP changes whenever a PREP is processed from off-S. When the PREP has been processed at the source, the two disjoint LSPs will be set up. Data can now be transferred end to end along both. On receipt of the PREP signalling that the disjoint pair is setup, the source activates both paths by sending a PACT on each, as shown in Fig. 24. Each PACT has a different PPID so that the paths will take different PPIDs.</p>
<p>Link monitoring is necessary for a technique which performs re-routing on failure, since this relies on early detection of link and node failure. It is possible that the underlying media access control (MAC) layer will provide suitable mechanisms.</p>
<p>However, if this is not the case, link monitoring must be pcrRrmed by a higher layer.</p>
<p>The AORP protocol is independent of the particular link monitoring technique employed, although rapid detection of failure is required in order to provide low fail over times. The topic has already been the subject of research in the Mobile ad-hoc network (MANET) area. A sophisticated mechanism is defined in Ogler R, et at: Topology Disseniiiiaiion Based on Reverse Path Forwarding (RFC3684) February 2004, which could be used.</p>
<p>Failure of a link or node on the primary path is detected by the node on the primary path upstream of the failure. The node acts as point of local repair. The node detecting the failure has an operational bypass protecting the failed element and performs local repair procedures as follows. The node simply updates its LSP forwarding table to use the bypass LSP section and in so doing alters the active path of the virtual path to avoid the point of failure. The active patti may now have unprotected elements. The point of local repair sends a path error (PERR) (rcpaired=TRUE) upstream to trigger the source to reactivate the path. The failed element is un-protected. It is assumed that this can only happen because the point of local repair has been unable to create a bypass. It sends a PERR message upstream. The PERR is intercepted by the first node that has a bypass which avoids the failed element. This perfoims local repair procedures as described above and sets repairedTRUE before propagating it. In the event that the PERR reaches the source node without repair having occurred, the source node must re-establish a complete active path. If a node detects failure on a bypass, if it is the owner, it immediately attempts to re-establish a replacement. If the detecting node is not the owner, it sends a BERR upstream to the owner to trigger it to re-establish a replacement.</p>
<p>Ef local repair is not possible for one partner of a disjoint pair, the source node will commence re-establishment. The remaining partner is treated as the shortest path and a new s-primed path is sought using repeated PREQ-prirned. It does not matter if the remaining partner is not physically a shortest path, the algorithm will still succeed in finding a disjoint pair once such is possible, that is once the changing topology allows. Neither does the PPID of the remaining path matter. Search for the S-primed path is independent of the PPID of the effective shortest path. As is the case for initial disjoint pair establishment, the pair may include links from the shortest path or the second partner may be disjoint from the shortest path.</p>
<p>As nodes move and errors occur, the active path taken by an path will change as a result of the local repair, so that it becomes significantly sub-optimal. Two nieasures are taken to reduce this problem. Whenever a point of local repair creates a bypass, if it detects that the path to the destination via the bypass is actually shorter than that via the primary path, it simulates local repair of the protected node. The part of the original active path that is replaced takes on the role of bypass for the time being. Each PLR periodically attempts to set up an alternative lower cost bypass. Each node performs ageing of LSP forwarding table entries and deletes those that arc not used. In order to maintain primary LSPs and bypass LSP sections, the initiators may send null data packets with no user data, when there is no real traffic. In order to provide quality of service (QoS), each node only propagates a PREQ or BREQ if it has sufficient free bandwidth to support it. A node reserves bandwidth on receipt of a PREP or BREP. If on receipt of a PREP or BREP there is no longer sufficient bandwidth to support the request, then the message is discarded.</p>
<p>Protocol definition and message formats are illustrated in tables 4 to 15 below.</p>
<p>Path request (PREQ)</p>
<p>Field Usage</p>
<p>Type Type 1 (PREQ) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Bid Broadcast id Hops Number of hops sender is from the path source Rro Record route object</p>
<p>Table 4: PREQ message fields</p>
<p>Path Reply (PREP)</p>
<p>Field Usage</p>
<p>Type Type 2 (PREP) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Hops Number of hops sender is from path source Ero Explicit route object Ptr Pointer into the explicit route object Label Label to be used by the upstream node Ppsn Psn of the other partner</p>
<p>Table 5: PREP message fields</p>
<p>Path activate (PACT)</p>
<p>Field Usage</p>
<p>Type Type = 3 (PACT) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Hops Number of hops sender is from path source Protected IP address of the protected node which was bypassed during local repair. Only set when PACT is following a bypass. Set to _________________ 0.0.0.0 otherwise.</p>
<p>Bpsn PSN of the bypass which was used during local repair. Only set ___________________ when PACT is following a bypass. Set to 0 otherwise</p>
<p>Table 6: PACT message fields</p>
<p>Path Activate Confirm (PACF)</p>
<p>Field Usage</p>
<p>Type Type =4 (PACF) Psa Path source IP address Pda Path destination [P address Pid Path identifier Psn Path sequence number Ppid Path partner identifier</p>
<p>Table 7: PACF message fields</p>
<p>Path Error (PERR)</p>
<p>Field Usage</p>
<p>Type Type = 5 (PERR) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Repaired Set to TRUE if local repair of the fault was achieved. Set to ________________ FALSE otherwise.</p>
<p>Table 8: PERR message fields</p>
<p>Path Error Confirm (PECF)</p>
<p>Field Usage</p>
<p>Type Type6(PECF) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier</p>
<p>Table 9: PECF message fields</p>
<p>Bypass Request (BREQ)</p>
<p>Field Usage</p>
<p>Type Type =7 (BREQ) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Bid Broadcast id Hops Number of hops sender is from PLR Rro Record route object PIr IP address of the point of local repair pirllops Distance in hops of the point of local repair from the path source Protected IP address of the node which is to be protected by the bypass</p>
<p>Table 10: BREQ message fields</p>
<p>Bypass Reply (BREP)</p>
<p>Field Usage</p>
<p>Type Type = 8 (BREP) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Plr IP address of the point of local repair Cost Number of hops the bypass would add to the partner Ero Explicit route object Ptr Pointer into the explicit route object Label Label to be used by the upstream node</p>
<p>Table 11: BREP message fields</p>
<p>Bypass Activate (BACT)</p>
<p>Field Usage</p>
<p>Type Type 9 (BACT) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Pir IP address of the point of local repair Protected IP address of the node which is to be protected by the bypass</p>
<p>Table 12: BACT message fields</p>
<p>Bypass Activate Confirm (BACF)</p>
<p>Field Usage</p>
<p>Type Type = 10 (BACF) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier Pir IP address of the point of local repair Protected IP address of the node which is to be protected by the bypass</p>
<p>Table 13: BACF message fields</p>
<p>Bypass Error (BERR)</p>
<p>Field Usage</p>
<p>Type Type = 11 (BERR) Psa Path source IP address Pda Path destination TP address Pid Path identifier Psn Path sequence number Ppid Path partner identifier PIr IP address of the point of local repair Protected IP address of the node which is to be protected by the bypass</p>
<p>Table 14: BERR message fields</p>
<p>Bypass Error Confirm (BECF)</p>
<p>Field Usage</p>
<p>Type Type 12 (BECF) Psa Path source IP address Pda Path destination IP address Pid Path identifier Psn Path sequence number Ppid Path partner idcntifier Pir IP address of the point of local repair Protected IP address of the node which is to be protected by the bypass</p>
<p>Table 15: BECF message fields</p>
<p>Figures 25 to 31 arc message sequencing charts. As shown in Fig. 25, for path setup, each path partner sends a PREQ 35, 36 with its respective path partner identifier (ppid) and path sequence number (psn) and receives a PREP 37, 38. A PACT 39, 40 is sent for each path partner and the destination replies with PACF message 41, 42 for each. The bypass set up is shown in Fig. 26 where a BREQ 43 is sent for the path partner, sequence number and protected node of concern and a BREP 44 is sent back, The bypass activated by BACT 45 and confirmed by BACF 46.</p>
<p>Fig. 27 illustrates repair of a path error by the detecting node. A path error message 47 is sent froni the detecting path 48, via an intermediate node 49, to the source 50 showing that a repair has been effected. The intermediate node sends a path error confirmation 57 and the source confirms 52 to the intermediate node. The source then sends a PACT 53 to the detecting point.</p>
<p>In Fig.28, the example shows path error repair by the intermediate node. The detecting point 48 sends a path error message 54 to the intermediate node indicating that there is no bypass and this is confirmed 55 to the detecting part. The intermediate node renders the repair and forwards the PERR 56 indicating that there has been a repair. A PECF 57 is returned to the intermediate node and a PACT 58 is sent to the detecting point.</p>
<p>Fig 29 shows a path error repair by the source 50. The detecting point 48 sends a PERR 59 indicating a fault and no bypass to the intermediate node, which does not effect a repair, so the PERR 60 is forwarded to the source and a PECF 61 returned to the detecting point. After the source has effected a repair 64, a PECF 62 and PACT 63 are sent to the intermediate node and detecting point respectively.</p>
<p>Where no local repair is possible the same series of messages arc sent, with the distinction that instead of a repair at the source there is no bypass 65 found, as shown in Fig 30.</p>
<p>If a fault occurs in a bypass rather than in a path partner, then a bypass error message 68 is sent to the intermediate node 49 and a point of local repair node 66. A BECF 69 is sent back from the intermediate node to the detecting point 48 and another from the PLR to in intermediate node. The PLR then sends a BREQ to a new join point 63 which need not be the old join point.</p>
<p>In message processing, a field in the received message currently being processed is denoted rx.field (e.g. rx.psn, rx.bid); a variable in a path record currently being processed is denoted p.variable (e.g. p.psn, p.hops); and in the case that a path record has a variable for each partner, each instance is denoted p[ppid].variable (e.g. p[01.hops forthe hops variable of ppid Oat the destination). A PSN is out of date if it is numerically lower than the highest seen before for the partner or bypass of resilient virtual path. A PREQ BID is out of date if it is numerically lower than the highest seen before for the resilient virtual path. A BREQ BID is out of date if it is numerically lower than the highest seen before for the resilient virtual path.</p>
<p>The source broadcasts a PREQ when a resilient virtual path is requested. The source starts a timer whenever it broadcasts a PREQ. On cxpiry of the timer, the PREQ is re-broadcast. For each GPI, the BID is set to 0 in the PREQ first broadcast. The BID is incremented prior to each subsequent broadcast. On receipt of a PREP for the first path partner, a PREQ is broadcast for the second partner specifying a different PPTD.</p>
<p>Any PREQ received at the source is ignored. At the intermediate node, if the PREQ has an out of date PSN it is discarded and if the PREQ has an out of date BID it is discarded. If the node has seen this GPI before and rx.psn does not match p.psn, then the PREQ is treated as a PREQ-primed, otherwise it is treated as PREQ-s. Hop accounting depends on whether the PREQ is PREQ-primed or PREQ-s. In the case of PREQ-s, assessment of the cost of a route is independent of the route by which it arrives at the node and a single record of the hops is maintained, in the case of PREQ-primed, assessment of the cost of a route depends on the route by which it arrives at the node and a record of the hops is maintained per adjacent node from which the PREQ can arrive. In the case of a PREQ-primed, if it arrived from the predecessor node on the shortest path, the PREQ is ignored. In the case of PREQ-prinied arriving from the successor node on the shortest path, the cost of the route to this point is calculated as rx.hops -I. Otherwise the cost of the route to this point is calculated as rx.hops + 1. If the PREQ has the current BID, but does not represent an improved route (smaller number of hops) it is discarded. The node's IP address is added to the RRO object and the hops field is set to the cost to this point. In the case of RREQ-prirned received from a node not on the shortest path, the RREQ is unicast to the predecessor on the shortest path. Otherwise it is broadcast.</p>
<p>The destination is responsible for selecting the best path partner for a given GPI, PSN and BID. The destination will allocate one label for the resilient virtual path which shall be used for both partners. If the PREQ has an out of date PSN it is discarded. If the PREQ has an out of date BID it is discarded. If the PREQ has the current BID, but does not represent an improved route (smaller number of hops) it is discarded. If the PREQ was received from a node which is the predecessor of the other partner it is discarded. Otherwise, an ERO is constructed from the RRO of the PREQand the PSN is incremented. A PREP is transmitted to the next hop in the ERO containing the destination's label, the ERO and with the PPSN set to the PSN of the other partner. At the source node, if the PREP has an out of date PSN it is discarded.</p>
<p>The label switching state for the path partner is updated with the label provide by the neighbour sending the PREP. The successor node for the partner is set to the node from which the RREP was received. If only one partner is now setup, the PREQ for the other partner is broadcast containing the PSN provided by the destination. If both partners are now setup, both partners are activated.</p>
<p>At the intermediate node, if the PREP has an out of date PSN it is discarded.</p>
<p>Each intermediate will allocate one label for each resilient virtual path.</p>
<p>If the rx.psn does not match p.psn, the PREP is treated as a PREP-primed.</p>
<p>Otherwise it is treated as PREP-s. Receipt of a PREP-primed from the successor node of the shortest path is a protocol error. On receipt of a valid PREP the label switching state and the routing state (predecessor and successor) arc updated. On receipt of a PREP-s, the label switching state for the path partner is updated with the label provide by the neighbour sending the PREP. The predecessor is set to the next hop in the ERO and the successor is set to the node from which the RREP was received. On receipt of a PREP-primed from a node which is not on the shortest path, the label switching state for the path partner is updated with the label provide by the neighbour sending the PREP. The predecessor is left unchanged and the successor is set to the node from which the RREP was received. On receipt of a PREP-s from the predecessor on the shortest path, the predecessor is set to the next hop in the ERO and the successor is left unchanged. The label switching state for the path partner is updated to expect packets from the iiew predecessor. The ERO is decreniented and the PREP containing the node's label is transmitted to the next hop in the ERO. Receipt of a PREP at the destination is a protocol error.</p>
<p>At the source node, on receipt of the PREP for the first path partner, an activation tinier will be started. The timer is cancelled when the PREP for the second partner is received. Tf the tinier expires, a PACT is sent for the single open path so that this may be protected with bypasses. On receipt of the PREP for the second partner, a PACT is sent for each partner. A PACT tinier is started when a PACT or pair of PACTs is sent. if the tinier expires, each outstanding, unconfirmed PACT is resent.</p>
<p>When any outstanding PACTs are confirmed by receipt of corresponding PACFs, the tinier is cancelled. Receipt of a PACT at the source is a protocol error.</p>
<p>At the intermediate node, receipt of a PACT with an out of date PSN or from a node which is not the predecessor is a protocol error. If rx.protected is not 0.0.0.0, then the node carries a bypass that has been used for local repair. The predecessor and successor for the partner are set to those of the bypass. If the LSP is now down, a PERR should be generated towards the source and processing of the PACT terminated.</p>
<p>The updated PPID, PSN and the hop count is stored. The hop count is incremented and the PACT is forwarded to the successor on the path. If local repair has been effected at this node, the PROTECTED field is set to the IP address of the failed node and BPSN to the PSN at the tinie of the failure. If this is a node on the bypass but not the endpoint of the bypass. these fields are left unchanged. Otherwise they are set to 0.0.0. 0 and 0 respectively.</p>
<p>At the destination node, receipt of a PACT with an out of date PSN or from a node which is not the predecessor is a protocol error. A PACF is sent in response by unicasting to the predecessor on the path partner.</p>
<p>PACF processing at source node -Receipt of a PACF with an out of date PSN or from a node which is not the successor is a protocol error. Monitoring of the downstream link I node must be started, if this has not already been done. If the node's successor on the partner is hot the destination, creation of a bypass to protect it is initiated by broadcasting a BREQ. Each time a BREQ is broadcast, the BiD is incremented and a timer is started. If the timer expires, the broadcast of the BREQ is repeated. Receipt of a PACF confirms that routing via any bypasses following local repair is complete.</p>
<p>At the intemidiate node, receipt of a PACF with an out of date PSN or from a node which is not the successor is a protocol error. Monitoring of the downstream link / node must be started, if this has not already been done. If the node's successor on the partner is not the destination, creation of a bypass to protect it is initiated by broadcasting a BREQ. Each time a BREQ is broadcast, the BiD is incremented and a tinier is started. If the tinier expires, the broadcast of the BREQ is repeated. Receipt of a PACF confirms that routing via any bypasses following local repair downstream is complete. At the destination node, receipt at the destination is a protocol error.</p>
<p>At the source node, a PECF is unicast to the sender of the PERR. If rx.repaired is FALSE local repair via a bypass is attempted. If a bypass exists, the label switching state is updated to route the partner via the bypass. The state of the path partners is now assessed. If both are now up, the PSN is incremented and a PACT is transmitted for each. The PACT timer is started. Otherwise a set up of a partner is initiated by broadcast of a BREQ for a PPID that is down.</p>
<p>At the intermediate node, a PECF is unicast to the sender of the PERR. If rx.repaired is TRUE, the PERR is unicast to the predecessor node on the path partner.</p>
<p>If rx.repaired is FALSE local repair via a bypass is attempted. If a bypass exists, the label switching state is updated to route the partner via the bypass. If local repair was achieved, a PERR with repaired set to TRUE is unicast to the predecessor node on the path partner. if local repair was not achieved, a PERR with repaired set to FALSE is unicast to the predecessor node on the path partner. A timer is started. If the timer expires, the PERR is retransmitted.</p>
<p>At the destination node a PERR is never generated, since the node will not detect path failure, so receipt of a PACF at the destination is a protocol error.</p>
<p>Similarly, at the source node, receipt of PECF is a protocol error since the source node never generates a PERR. At the intermediate node, if the PECF matches an outstanding PERR, the PERR retransmission tinier is cancelled and at the destination node, receipt of a PECF is a protocol error since the destination node never generates a PERR.</p>
<p>Any node on a path, other than the destination can act as a PLR for the successor on the path. The successor is termed the protected node. When the PACF is received the PLR initiates bypass setup by broadcast of a BREQ. The BREQ contains the IP address of the node to he protected, the partner PSN, and the distance of the PLR from the source node (PLRHOPS field). The HOPS field is initialised to 0. The source starts a timer whenever it broadcasts a BREQ. On expiry of' the tinier, the BREQ is re-broadcast. The timer is cancelled on receipt of a corresponding BREP. For each GPI and node protected by the PLR, the BID is set to 0 in the BREQ first broadcast. The BID is incremented prior to each subsequent broadcast. Any BREQ received at the PLR is ignored.</p>
<p>In PECF processing at the bypass node, i.e. one that is not on either partner -the source and destination arc not bypass nodes -if the BREQ has an out of date PSN it is discarded. If the BREQ has an out of date BTD it is discarded. Otherwise the cost of the route to this point is calculated as rx.hops + 1. Tf the BREQ has the current BID, but does not represent an improved route (smaller cost) it is discarded. Otherwise, the node's IP address is added to the RRO object and tl1c BREQ is broadcast with the</p>
<p>HOPS field set to the cost.</p>
<p>In PECF processing at the join point, i.e. at a node other than the protected node which is on the same partner as the protected node and is further from the source node than the PLR -the destination may be a join point, but the source is not a join point -if the BREQ has an out of date PSN it is discarded. If the BREQ has an out of date BID it is discarded. Otherwise the cost of the route to this point is calculated as rx.hops + 1 + rx.plrhops -p.hops where p.hops is the partner hop count at this node. If the BREQ has the current BID, but does not represent an improved route (smaller cost) it is discarded.</p>
<p>Otherwise, a BREP is transmitted along the bypass towards the PLR. In PECF processing at other nodes, the BREQ is ignored.</p>
<p>The PLR may receive BREPs from more than one join node. The PLR is responsible for selecting the bypass with least cost. If the BREP has an out of date PSN it is discarded. If the BREP does not have a lower cost than that seen before, it is discarded. The label switching state for the path partner is updated with the label provided by the neighbour sending the BREP. The successor node for the bypass is set to the node from which the RREP was received and the bypass is activated. If the BREP has au out of date PSN it is discarded. Each bypass node will allocate one label for each resilient virtual path. On receipt of a valid BREP, the label switching state for the path partner is updated with the label provide by the neighbour sending the BREP.</p>
<p>The predecessor is set to the next hop in the ERO and the successor is set to the node from which the BREP was received. The ERO is decremented and the BREP containing the node's label is transmitted to the next hop in the ERO.</p>
<p>At a join point, if a BREQ represents an improvement on any seen before, a BREP is transmitted along the bypass towards the PLR. An ERO is constructed from the RRO of the BREQ. A BREP is transmitted to the next hop in the ERO containing the destination's label, the ERO and the bypass COST. The predecessor on the bypass is recorded. This is the node which forwarded the BREQ. At other nodes, receipt of a BREP is a protocol error.</p>
<p>On receipt of the best BREP for the second partner, a BACT is sent towards the Join Point along the bypass by unicasting it to the successor node on the bypass. A BACT timer is started when a BACT is sent. If the tinier expires, the BACT is resent.</p>
<p>When the BACT is confirmed by receipt of corresponding BACF, the timer is cancelled. Receipt of a BACT at the source is a protocol error.</p>
<p>At a bypass node, receipt of a BACT with an out of date PSN or from a node which is not the predecessor is a protocol error. If the LSP is now down, a BERR should be generated towards the source and processing of the BACT terminated.</p>
<p>Otherwise, the BACT is forwarded towards the Join Point along the bypass by unicasting itto the successor node on the bypass. At a join point, receipt of a BACT with au out of date PSN or froni a node which is not the predecessor is a protocol error.</p>
<p>A BACF is sent in response by unicasting to the predecessor on the path partner. At a PLR node, receipt of a BACF with an out of date PSN or from a node which is not the successor is a protocol error. Monitoring of the downstream link / node must be started, if this has not already been done and the BACT retransmission timer stopped.</p>
<p>At a bypass node, receipt of a BACF with an out of date PSN or from a node which is not the successor is a protocol error. Monitoring of the downstream link / node must be started, if this has not already been done. At a join point, receipt of a BACF at the destination is a protocol error. At a PLR node, aBECF is unicast to the sender of the BERR and if the PSN is out of date for the bypass, the PSN is ignored.</p>
<p>Otherwise a set up of a replacement bypass is initiated by broadcast of a BREQ.</p>
<p>At a bypass node, if the node detects failure of the bypass downstream, a BERR is unicast to the predecessor node on the bypass and a tinier is started. If the timer expires, the BERR is retransmitted. On receipt of a BERR from the successor node on the bypass, a BECF is unicast to the sender of the BERR. If the PSN is out of date for the bypass, this is ignored, otherwise, the BERR is unicast to the predecessor node on the bypass.</p>
<p>At a join point, if the node detects failure of the partner downstream, a BERR is unicast to the predecessor node on the bypass and a tinier is started. If the tinier expires, the BERR is retransmitted. Receipt at the destination is a protocol error.</p>
<p>At a PLR node, receipt at the source is a protocol error since it never generates a BERR. At a bypass node, if the BECF matches an outstanding BERR, the BERR retransmission tinier is cancelled and at a join point, if the BECF niatches an outstanding BERR, the BERR retransmission timer is cancelled.</p>
<p>The invention addresses the problem of resilient communications for applications requiring bandwidth reservations in an ad hoc network, providing protection from loss of 2 nodes with path repair being performed in less than a few tens of milliseconds. This makes the invention suitable for the support of applications such as critical real-time voice, video or multimedia feeds. The invention is based on the AORP path setup and routing protocol, which has a number of attributes in that it provides distributed routing requiring simple algorithms at each node and avoiding use of central management entities or nodes requiring special capabilities; setup of disjoint paths for use in conjunction with our patented splitter combiner technique is possible; aiid setup of bypasses to allow rapid local repair following loss of node or link as may be caused by node failure, node movement or change in radio conditions. The protocol allows continuous re-optirnisation of path routes to adapt to changing topology; and path management which performs re-routing in a nianner which is transparent to the carried traffic.</p>

Claims (6)

  1. <p>CLAIMS</p>
    <p>1. A method of determining a shortest path in a network comprising a plurality of nodes; comprises broadcasting a path request message from the source node; and propagating the path request message through the network from node to node; wherein.</p>
    <p>on first receipt of the path request message at each node, a hop count and broadcast identifier arc stored; wherein, if a path request message is received a second time at any node, it is oniy propagated if the new hop count is less than the stored hop count; and wherein the destination node replies to the source node along the path with the lowest hop count to set up the shortest path.</p>
    <p>
  2. 2. A method of forming a disjoint pair in a network using a method of determining a shortest path according to claim 1, the method comprises determining a first shortest path and allocating each link in the path a cost of + 1; determining a second shortest path and allocating to each link in that path which is also in the first shortest path a cost of-i; sending a path reply fron1 the destination node back to the source node to create the disjoint pair from links belonging to the first and second shortest paths, but which do not belong to both paths.</p>
    <p>
  3. 3. A method of operating a network resilient to at least two points of failure; the method comprising setting first and second node-disjoint paths between a source node and a destination node; setting a primary link and a bypass at each node in the paths; propagating a message packet from the source node; at each subsequent node, checking validity of the primary link; and if the primary link is not valid, switching the message packet to the bypass.</p>
    <p>
  4. 4. A niethod according to claim 3, wherein the first and second node-disjoint paths are determined according to the method of claim I.
  5. 5. A method according to claim 3, wherein the message packet includes a label and each node switches the message packet to the primary link or the bypass, according to the label.</p>
    <p>6. A method according to claim 5, wherein the label is used to derive an address in a memory store; and the node reads data froni the memory store relating to the primary link or the bypass according to the label.</p>
    <p>7. A method according to any of claims I to 6, wherein the method further comprises sefting bypasses at each node and if the bypass is determined to be shorter, then converting the bypass to bc the primary link at that node.</p>
    <p>8. A network resilient to at least two points of failure, the network comprising a plurality of nodes; wherein a first path between a source node and a destination node is determined: wherein a second path between a source node and a destination node is determined; and wherein the first and second paths are node-disjoint.</p>
    <p>9. A network according to claim 8, wherein each node in the path has a primary link and a bypass to a subsequent node; and wherein, in use, each node determines the validity of its primary link and if that is not valid, the node switches to the bypass.</p>
    <p>10. A network according to claim 9, wherein a bypass of the first path is disjoint with the second path.</p>
    <p>11. A network according to any of claims 8 to 10, wherein the node disjoint paths are set up by a routing protocol, which adapts a predetermined metric in cach path.</p>
    <p>1 2. A network according to claim II, wherein the predetermined metric is to minimise the number of hops; or to maximise power.</p>
    <p>13. A network according to any of claims 8 to 12, wherein at least one of the nodes in the path does not have a fixed geographical location.</p>
    <p>14. A network according to any of claims 9 to 13, wherein transmission of a message packet from the source node may begin before the bypasses are set for each node in the path.</p>
    <p>15. A network according to claim 14, wherein the message packet includes a label; and each node switches the message packet to the primary link or the bypass according to the label.</p>
    <p>1
  6. 6. A network according to claim 15, wherein the label is used to derive an address in a memory store; and each primary link and bypass link a node is stored in the memory store.</p>
GB0719578A 2005-09-27 2006-09-11 A method of determining a shortest path in a network Expired - Fee Related GB2440461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB0719578A GB2440461B (en) 2005-09-27 2006-09-11 A method of determining a shortest path in a network

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
GBGB0519648.0A GB0519648D0 (en) 2005-09-27 2005-09-27 Resilient path protocol
GB0719578A GB2440461B (en) 2005-09-27 2006-09-11 A method of determining a shortest path in a network
GB0617780A GB2432494B (en) 2005-09-27 2006-09-11 Resilient network

Publications (3)

Publication Number Publication Date
GB0719578D0 GB0719578D0 (en) 2007-11-21
GB2440461A true GB2440461A (en) 2008-01-30
GB2440461B GB2440461B (en) 2008-07-16

Family

ID=39540651

Family Applications (1)

Application Number Title Priority Date Filing Date
GB0719578A Expired - Fee Related GB2440461B (en) 2005-09-27 2006-09-11 A method of determining a shortest path in a network

Country Status (1)

Country Link
GB (1) GB2440461B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020108799A1 (en) * 2018-11-27 2020-06-04 Telefonaktiebolaget Lm Ericsson (Publ) Methods for multi-lane discovery with partially disjoint paths

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065936A1 (en) * 2000-07-10 2002-05-30 International Business Machines Corporation Multi-platform application
US20040246901A1 (en) * 2003-06-03 2004-12-09 Palo Alto Research Center, Incorporated Time-aware strategy for message-initiated constraint-based routing
US20040258064A1 (en) * 2003-05-16 2004-12-23 Oki Electric Industry Co., Ltd. Communication terminal and communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065936A1 (en) * 2000-07-10 2002-05-30 International Business Machines Corporation Multi-platform application
US20040258064A1 (en) * 2003-05-16 2004-12-23 Oki Electric Industry Co., Ltd. Communication terminal and communication network
US20040246901A1 (en) * 2003-06-03 2004-12-09 Palo Alto Research Center, Incorporated Time-aware strategy for message-initiated constraint-based routing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Proc. 1st Internat. Symposium on Wireless Communication Systems, 20-22 Sep 2004, Mauritius, pub. IEEE, US, ISBN 0-7803-8472-5, pp.215-219, Chao et al, "Least-hop routing analysis of on-demand routing protocols" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020108799A1 (en) * 2018-11-27 2020-06-04 Telefonaktiebolaget Lm Ericsson (Publ) Methods for multi-lane discovery with partially disjoint paths

Also Published As

Publication number Publication date
GB0719578D0 (en) 2007-11-21
GB2440461B (en) 2008-07-16

Similar Documents

Publication Publication Date Title
US7961626B2 (en) Resilient network
US8473633B2 (en) Method of routing packets in a packet network
Li et al. LEPR: Link stability estimation-based preemptive routing protocol for flying ad hoc networks
KR101423331B1 (en) System, method and computer readable medium for mobile ad hoc network routing based upon hardware address
US20160072663A1 (en) Robust Routing of Data in Wireless Networks
JP4142962B2 (en) Radio base station apparatus and network interface apparatus
WO2006014512B1 (en) System and method for selecting stable routes in wireless networks
JP2008167451A (en) Data-path dynamic link management in mobile ad hoc network
CN103260211B (en) A kind of AOMDV method for routing of improvement
Crisostomo et al. Improving AODV with preemptive local route repair
Yujun et al. The research on an AODV-BRL to increase reliability and reduce routing overhead in MANET
CN106954243A (en) Route implementation method based on wireless chain network
JP2004159146A (en) Communication network and packet transfer device
WO2002006918A2 (en) A method, system, and product for preventing data loss and forwarding loops when conducting a scheduled change to the topology of a link-state routing protocol network
EP1944924A1 (en) System, method and computer-readable medium for mobile Ad-hoc network routing based upon hardware address (MAC)
Riaz et al. FRP: A novel fast rerouting protocol with multi-link-failure recovery for mission-critical WSN
KR100955246B1 (en) Group dynamic source routing method for wireless mobile ad hoc network
GB2440287A (en) Disjoint pair formation in a network using shortest path determination
GB2440461A (en) Determining shortest path through a network
Che-Aron et al. An enhancement of fault-tolerant routing protocol for wireless sensor network
Milner et al. Performance and scalability of mobile wireless base-station-oriented networks
JP2009124303A (en) Message transfer method in ad hoc network
Zhou et al. A distributed cache based reliable service execution and recovery approach in MANETs
JP4564442B2 (en) Route search device
Cucor et al. Properties of topology based data routing protocols for vehicular ad-hoc networks

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20140911