×

Routing loop determining method and device

  • US 10,003,524 B2
  • Filed: 11/23/2015
  • Issued: 06/19/2018
  • Est. Priority Date: 11/26/2014
  • Status: Active Grant
First Claim
Patent Images

1. A routing loop determining method, wherein the method comprises:

  • recording, by a forwarding device in a layer 3 network, a destination Internet Protocol (IP) address of a first packet when a time to live (TTL) value of the first packet is 1 and is reduced to 0 by the forwarding device;

    discarding, by the forwarding device, the first packet;

    acquiring, by the forwarding device, a second packet whose destination IP address is the same as that of the first packet;

    recording, by the forwarding device, a feature of the second packet, wherein the feature of the second packet comprises a source IP address, the destination IP address, and a sequence number of the second packet;

    forwarding, by the forwarding device, the second packet based on the destination IP address and a routing table when a TTL value obtained by reducing a TTL value of the second packet by 1 is greater than 0;

    acquiring, by the forwarding device, a third packet according to the feature of the second packet, wherein a feature of the third packet is the same as the recorded feature of the second packet, wherein a source IP address of the third packet is the same as the source IP address of the second packet, wherein a destination IP address of the third packet is the same as the destination IP address of the second packet, and wherein a sequence number of the third packet is the same as the sequence number of the second packet; and

    determining that a routing loop exists in response to acquiring the third packet.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×