| CPC H04L 45/021 (2013.01) [H04L 12/4633 (2013.01); H04L 12/4645 (2013.01); H04L 12/66 (2013.01); H04L 41/0803 (2013.01); H04L 41/0893 (2013.01); H04L 45/02 (2013.01); H04L 45/028 (2013.01); H04L 45/04 (2013.01); H04L 45/24 (2013.01); H04L 45/42 (2013.01); H04L 45/44 (2013.01); H04L 45/50 (2013.01); H04L 45/54 (2013.01); H04L 45/586 (2013.01); H04L 45/64 (2013.01); H04L 45/74 (2013.01); H04L 49/252 (2013.01); H04L 49/65 (2013.01); H04L 49/70 (2013.01); H04L 61/2592 (2013.01); H04L 61/5007 (2022.05); H04L 67/289 (2013.01); H04L 2101/622 (2022.05); H04L 2212/00 (2013.01)] | 18 Claims |

|
1. A method for implementing a logical router belonging to a logical network, the method comprising:
at a routing protocol application that executes on an edge computing device implementing the logical router:
exchanging routes from a first routing table associated with the logical router in a first routing protocol session with an external physical router in a network external to the logical network; and
exchanging routes from a second routing table in a second routing protocol session with another edge computing device that also implements the logical router,
wherein a datapath also executing on the edge computing device uses the first routing table and not the second routing table for processing data messages routed to the logical router;
wherein:
a network manager that manages the logical network configures the routing protocol application to use the first and second routing tables respectively for the first and second routing protocol sessions; and
the network manager configures the first routing table by adding routes relating to the logical network to the first routing table such that the datapath routes data messages received from the external network to destinations in the logical network using the first routing table.
|