SE544512C2

Methods and apparatuses for routing data packets in a network topology

Abstract

The embodiments herein relate to methods, a source host device (600), an edge router device (700) and a hop router device (800) for routing data packets in a network topology. A method includes sending (201) a request to a server for requesting an autonomous system number of an autonomous system to which a destination host belongs; receiving (202) a response including the autonomous system number; inserting (203) the received number between layer 2 and layer 3 of the data packet and sending (204) the data packet towards the autonomous system hosting the IP address of the destination host. When a router belonging to the autonomous system receives the packet, the number is removed and forwarded to the destination host.

SE544512C2, drawing sheet 1
Sheet 1 of 9

Term

No projected expiry on record.

  1. Priority and filed
  2. Granted
  3. Today

19 claims: 7 independent, 12 dependent

  1. 1
    CLAIMS 1. A method for routing of data packets in a network topology, the method comprising:- at a first device of said network topology, - (201) sending a request to a server for requesting an Autonomous System, AS, number, of an AS to which a destination host belongs, said request including a name of the destination host or an IP destination address of the destination host;wherein the AS number is requested from a DNS server or a IANA server;- (202) receiving a response including the AS number;- (203) inserting the AS number between Layer 2 and Layer 3 at Layer 2.5 of a data packet;and - (204) sending, based on the AS number, the data packet including the AS number, a source IP address and the IP destination address towards the AS hosting the IP destination address.
  2. 10
    A method performed by a source host device (600) in a network topology, the method comprising:- (301) sending a request to a DNS server for requesting a Autonomous System, AS, number, of an AS to which a destination host belongs, said request including a name of the destination host;- (302) receiving, from the DNS server, a response including the AS number, an IP destination address of the destination host and the name of the destination host;- (303) inserting the AS number between Layer 2 and Layer 3 at Layer 2.5 of a data packet;and - (304) sending, based on the AS number, the data packet including the AS number, a source IP address of the source host device and the IP destination address to a source edge router device that is connected to the source host device.
  3. 11
    A source host device (600) in a network topology, the source host device (600) comprising a processor (610) and a memory (620), said memory (620) containing instructions executable by the processor (610), wherein the source host device (600) is operative to:- send a request to a DNS server for requesting an Autonomous System, AS, number, of an AS to which a destination host belongs, said request including a name of the destination host;- receive, from the DNS server, a response including the AS number, an IP destination address of the destination host and the name of the destination host;- insert the AS number between Layer 2 and Layer 3 at Layer 2.5 of a data packet;and 544 512 - send, based on the AS number, the data packet including the AS number, a source IP address of the source host device and the IP destination address to a source edge router device that is connected to the source host device.
  4. 12
    A method performed by an edge router device (700) for routing a data packet in a network topology, the method comprising:- (401) receiving a data packet from a source host device (600), the data packet including an IP address of a destination host;- (402) determining a AS number of a AS to which the destination host belongs based on the IP address of the destination host;- (403) inserting the AS number between Layer 2 and Layer 3 at Layer 2.5 of the data packet;- (404) determining from a AS routing table, based on the AS number, the next hop router (800) to which the data packet is to be forwarded, and - (405) sending the data packet including the AS number, a source IP address of the source host device and the IP address of the destination host to the next hop router device (800).
  5. 15
    A edge router device (700) for routing a data packet in a network topology, the edge router device (700) comprising a processor (710) and a memory (720), said memory (720) containing instructions executable by the processor (710), wherein the edge router (700) is operative to:544 512 - receive a data packet from a source host device (600), the data packet including an IP address of a destination host;- determine a AS number of a AS to which the destination host belongs based on the IP address of the destination host;- insert the AS number between Layer 2 and Layer 3 at Layer 2.5 of the data packet;- determine from a AS routing table, based on the AS number, the address of the next hop router device (800) to which the data packet is to be forwarded, and - send the data packet including the AS number, a source IP address of the source host and the IP address of the destination host to the next hop router device (800).
  6. 18
    A method performed by a hop router device (800) for routing a data packet in a network topology, the method comprising:- (501) receiving a data packet including an AS number between Layer 2 and Layer 3 at Layer 2.5 of the received data packet and an IP destination address of a host;- (502) comparing the AS number with a AS number associated to the hop router device (800);- (503) if the AS number included in the data packet differs from the AS number associated to the hop router device (800), determining from a 544 512 AS routing table, the address of a subsequent next hop router device to which the data packet including the AS number is to be forwarded;and sending the data packet to the subsequent next hop router device;- (504) if the AS number included in the data packet corresponds to the AS number associated to the hop router device (800), removing the AS number from the data packet and forwarding the data packet to the IP destination address of the host.
  7. 19
    A hop router device (800) for routing a data packet in a network topology, the hop router device (800) comprising a processor (810) and a memory (820), said memory containing instructions executable by the processor (810), wherein the hop router device (800) is operative to:- receive a data packet including an AS number between Layer 2 and Layer 3 at Layer 2.5 of the received data packet and an IP destination address of a host;- compare the AS number with a AS number associated to the hop router device (800);- if the AS number included in the data packet differs from the AS number associated to the hop router device (800), determine from a AS routing table, the address of a subsequent next hop router device to which the data packet including the AS number is to be forwarded;and send the data packet to the subsequent next hop router device;- if the AS number included in the data packet corresponds to the AS number associated to the hop router device (800), remove the AS number from the data packet and forward the data packet to the IP destination address of the host.