Logical router with multiple routing components
Abstract
Some embodiments provide a method for handling failure at one of several peer centralized components of a logical router. At a first one of the peer centralized components of the logical router, the method detects that a second one of the peer centralized components has failed. In response to the detection, the method automatically identifies a network layer address of the failed second peer. The method assumes responsibility for data traffic to the failed peer by broadcasting a message on a logical switch that connects all of the peer centralized components and a distributed component of the logical router. The message instructs recipients to associate the identified network layer address with a data link layer address of the first peer centralized component.
Claims
exact text as granted — not AI-modified1 - 22 . (canceled)
23 . A method for processing data messages between a logical first network implemented in a datacenter and a second network external to the logical network, the method comprising:
at an edge node that operates at an edge of the datacenter:
from the external second network, receiving a data message that is addressed to a logical network data compute node (DCN);
applying, to the data message, configuration for (i) a centralized routing component of a logical router that is one of a plurality of centralized routing components of the logical router that are each implemented by different edge nodes, (ii) a distributed routing component of the logical router that is implemented by each of the edge nodes and a plurality of additional forwarding elements, and (iii) a logical switch of the logical network; and
based on the configuration for the logical switch, forwarding the data message through the datacenter to the DCN.
24 . The method of claim 23 , wherein the logical switch is logically connected to (i) the DCN and (ii) the distributed routing component of the logical router.
25 . The method of claim 24 , wherein forwarding the data message through the datacenter comprises tunneling the data message to a host computer on which the DCN executes.
26 . The method of claim 23 further comprising applying configuration for a transit logical switch that logically connects the plurality of centralized routing components of the logical router to the distributed routing component of the logical router.
27 . The method of claim 23 , wherein:
the logical router is a first logical router; the method further comprises applying configuration for a distributed routing component of a second logical router after applying the configuration for the centralized and distributed routing components of the first logical router; and the logical switch is logically connected to (i) the DCN and (ii) the distributed routing component of the second logical router.
28 . The method of claim 27 , wherein the first logical router is a provider-configured logical router that provides connection to the external second network and the second logical router is a tenant-configured logical router that enables a tenant to configure specific services and policies.
29 . The method of claim 23 , wherein:
the logical router is a first logical router; the method further comprises applying configuration for (i) a centralized routing component of a second logical router that is one of a plurality of centralized routing components of the second logical router that are each implemented by different edge nodes and (ii) a distributed routing component of the second logical router; and the logical switch is logically connected to (i) the DCN and (ii) the distributed routing component of the second logical router.
30 . The method of claim 29 further comprising applying configuration for (i) a first transit logical switch that logically connects the plurality of centralized routing components of the first logical router to the distributed routing component of the first logical router, (ii) a second transit logical switch that logically connects the distributed routing component of the first logical router to the plurality of centralized routing components of the second logical router, and (iii) a third transit logical switch that logically connects the plurality of centralized routing components of the second logical router to the distributed routing component of the second logical router.
31 . The method of claim 23 , wherein:
the logical router is a first logical router and the edge node is a first edge node; the logical switch is logically connected to the distributed routing component of the first logical router and a plurality of centralized routing components of a second logical router; forwarding the data message through the datacenter to the DCN comprises tunneling the data message to a second edge node that implements one of the centralized routing components of the second logical router; and the second edge node applies configuration for the (i) centralized routing component of the second logical router and (ii) a distributed routing component of the second logical router and tunnels the data message to a host computer on which the DCN executes.
32 . The method of claim 31 , wherein both the first edge node and the second edge node apply configuration for the logical switch, wherein the second edge node also applies configuration for a second logical switch that is logically connected to the DCN and the distributed routing component of the second logical router.
33 . A non-transitory machine-readable medium storing a program which when executed by at least one processing unit of an edge node, that operates at an edge of a datacenter, processes data messages between a logical first network implemented in a datacenter and a second network external to the logical network, the program comprising sets of instructions for:
from the external second network, receiving a data message that is addressed to a logical network data compute node (DCN); applying, to the data message, configuration for (i) a centralized routing component of a logical router that is one of a plurality of centralized routing components of the logical router that are each implemented by different edge nodes, (ii) a distributed routing component of the logical router that is implemented by each of the edge nodes and a plurality of additional forwarding elements, and (iii) a logical switch of the logical network; and based on the configuration for the logical switch, forwarding the data message through the datacenter to the DCN.
34 . The non-transitory machine-readable medium of claim 33 , wherein the logical switch is logically connected to (i) the DCN and (ii) the distributed routing component of the logical router.
35 . The non-transitory machine-readable medium of claim 34 , wherein the set of instructions for forwarding the data message through the datacenter comprises a set of instructions for tunneling the data message to a host computer on which the DCN executes.
36 . The non-transitory machine-readable medium of claim 33 , wherein the program further comprises a set of instructions for applying configuration for a transit logical switch that logically connects the plurality of centralized routing components of the logical router to the distributed routing component of the logical router.
37 . The non-transitory machine-readable medium of claim 33 , wherein:
the logical router is a first logical router; the program further comprises a set of instructions for applying configuration for a distributed routing component of a second logical router after applying the configuration for the centralized and distributed routing components of the first logical router; and the logical switch is logically connected to (i) the DCN and (ii) the distributed routing component of the second logical router.
38 . The non-transitory machine-readable medium of claim 37 , wherein the first logical router is a provider-configured logical router that provides connection to the external second network and the second logical router is a tenant-configured logical router that enables a tenant to configure specific services and policies.
39 . The non-transitory machine-readable medium of claim 33 , wherein:
the logical router is a first logical router; the program further comprises sets of instructions for applying configuration for (i) a centralized routing component of a second logical router that is one of a plurality of centralized routing components of the second logical router that are each implemented by different edge nodes and (ii) a distributed routing component of the second logical router; and the logical switch is logically connected to (i) the DCN and (ii) the distributed routing component of the second logical router.
40 . The non-transitory machine-readable medium of claim 39 , wherein the program further comprises a set of instructions for applying configuration for (i) a first transit logical switch that logically connects the plurality of centralized routing components of the first logical router to the distributed routing component of the first logical router, (ii) a second transit logical switch that logically connects the distributed routing component of the first logical router to the plurality of centralized routing components of the second logical router, and (iii) a third transit logical switch that logically connects the plurality of centralized routing components of the second logical router to the distributed routing component of the second logical router.
41 . The non-transitory machine-readable medium of claim 33 , wherein:
the logical router is a first logical router and the edge node is a first edge node; the logical switch is logically connected to the distributed routing component of the first logical router and a plurality of centralized routing components of a second logical router; the set of instructions for forwarding the data message through the datacenter to the DCN comprises a set of instructions for tunneling the data message to a second edge node that implements one of the centralized routing components of the second logical router; and the second edge node applies configuration for the (i) centralized routing component of the second logical router and (ii) a distributed routing component of the second logical router and tunnels the data message to a host computer on which the DCN executes.
42 . The non-transitory machine-readable medium of claim 41 , wherein both the first edge node and the second edge node apply configuration for the logical switch, wherein the second edge node also applies configuration for a second logical switch that is logically connected to the DCN and the distributed routing component of the second logical router.Join the waitlist — get patent alerts
Track US2024007419A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.