CPC H04L 45/745 (2013.01) [H04L 45/122 (2013.01); H04W 4/80 (2018.02); H04W 84/18 (2013.01)] | 15 Claims |
1. A method comprising:
receiving a packet at a first network device in a network;
determining an optimal route for the packet to a neighbor network device in the network using a Source Routing Table (SRT), wherein the SRT includes an optimized routing table and a standard routing table;
routing the packet to the neighbor network device using the optimal route; and
maintaining the SRT, wherein maintaining the SRT comprises:
determining whether a route in the SRT is one-hop optimized; and
in response to determining the route to be one-hop optimized or not to be one-hop optimized, sending a test packet directly to the neighbor network device with no intermediary hops,
wherein maintaining the SRT further comprises:
when the route is determined not to be one-hop optimized, sending the test packet directly to the neighbor network device with no intermediary hops using a one-hop optimized route,
when sending the test packet fails, canceling a maintaining process for the route, and
when sending the test packet succeeds, resending the test packet directly to the neighbor network device with no intermediary hops a predetermined number of times at predetermined intervals, such that if the resending is successful each time, routing all future non-test packets to the neighbor network device using the one-hop optimized route.
|