Source routing explained

Source routing should not be confused with Source-specific routing.

In computer networking, source routing, also called path addressing, allows a sender of a data packet to partially or completely specify the route the packet takes through the network. In contrast, in conventional routing, routers in the network determine the path incrementally based on the packet's destination. Another routing alternative, label switching, is used in connection-oriented networks such as X.25, Frame Relay, Asynchronous Transfer Mode and Multiprotocol Label Switching.

Source routing allows easier troubleshooting, improved traceroute, and enables a node to discover all the possible routes to a host. It does not allow a source to directly manage network performance by forcing packets to travel over one path to prevent congestion on another.

Many high-performance interconnects including Myrinet, Quadrics,[1] IEEE 1355, and SpaceWire support source routing.

Internet Protocol

In the Internet Protocol, two header options are available which are rarely used: "strict source and record route" (SSRR) and "loose source and record route" (LSRR).[2] Because of security concerns, packets marked LSRR are frequently blocked on the Internet. If not blocked, LSRR can allow an attacker to spoof an address but still successfully receive response packets by forcing return traffic for spoofed packets to return through the attacker's device.[3]

In IPv6, two forms of source routing have been developed. The first approach was the Type 0 Routing header.[4] This routing header was designed to support the same use cases as the IPv4 header options. As there were several significant attacks against this routing header, its utilisation was deprecated.[5] A more secure form of source routing was being developed within the IETF to support the IPv6 version of segment routing.[6]

Software-defined networking

Software-defined networking can also be enhanced when source routing is used in the forwarding plane. Studies have shown significant improvements in convergence times as a result of the reduced state that must be distributed by the controller into the network.[7] [8]

Myrinet

When using source routing with Myrinet, the sender of the packet prepends the complete route, one byte for every crossbar, to each packet header.Each crossbar examines the first routing byte of the packet.When using source routing, that byte indicates a particular port of that crossbar; when that port becomes available, the router discards that routing byte and sends the rest of the packet out that port.[1]

SpaceWire

Each packet traveling through a SpaceWire network can use path addressing (source routing) or logical addressing or some combination.The router examines the first data character of the packet; when it indicates some specific port of the router, the router discards that routing character and sends the rest of the packet out that port.[9] [10] [11]

See also

External links

Notes and References

  1. Patrick Geoffray . Torsten Hoefler . Adaptive Routing Strategies for Modern High Performance Networks. 16th IEEE Symposium on High Performance Interconnects. 26–28 August 2008 . IEEE. 10.1109/HOTI.2008.21. 978-0-7695-3380-3. 2.
  2. 791 . Internet Protocol . September 1981 . IETF.
  3. Web site: Source Address Spoofing . Rik Farrow. August 2007 .
  4. 2460 . Internet Protocol, Version 6 (IPv6) Specification . Deering . S. . Hinden . R. . December 1998 . IETF.
  5. 5095 . Deprecation of Type 0 Routing Headers in IPv6 . Abley . J. . December 2007 . IETF.
  6. draft-ietf-6man-segment-routing-header-07 . IPv6 Segment Routing Header (SRH) . Previdi . S. . July 2017 . IETF.
  7. Soliman . Mourad . Nandy . Biswajit . Lambadaris . Ioannis . Ashwood-Smith . Peter . Source routed forwarding with software defined control, considerations and implications . Proceedings of the 2012 ACM conference on CoNEXT student workshop. ACM . 2012-12-10 . 978-1-4503-1779-5 . 10.1145/2413247.2413274 . 43–44.
  8. Web site: SDN State Reduction . Peter Ashwood-Smith . .
  9. Steve Parkes."SpaceWire User’s Guide".2012.p. 20.
  10. Paul Walker, Barry Cook."SpaceWire: Key principles brought out from 40 year history".2006.p. 5.
  11. S.M. Parkes and C. McClements."SpaceWire Networks".2002.page 61.4.