Route advertisement by managed gateways
First Claim
1. For a network controller that manages a plurality of logical networks, a method comprising:
- receiving a specification of a logical network that comprises a logical forwarding element with at least two logical ports that each connect the logical network to an external network and that each peer with a physical router of the external network in order to advertise network address reachability information for at least two subnets of the logical network to the external network, wherein a first logical port peers with a first physical router on a first subnet of the external network and a second logical port peers with a second physical router on a second subnet of the external network, wherein the first and second subnets are different from each other and from the at least two subnets of the logical network;
selecting host machines from a plurality of host machines to host gateways for implementing each of the ports that connect the logical network to the external network; and
generating, for distribution to each of the gateways, data tuples defining (i) a routing table for implementing the connection between the logical network and the external network for the port implemented by the gateway and (ii) a configuration for a routing protocol application that enables the gateway to peer with the physical router of the external network with which the port implemented by the gateway peers.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a network system. The network system includes a first set of host machines for hosting virtual machines that connect to each other through a logical network. The first set of host machines includes managed forwarding elements for forwarding data between the host machines. The network system includes a second set of host machines for hosting virtualized containers that operate as gateways for forwarding data between the virtual machines and an external network. At least one of the virtualized containers peers with at least one physical router in the external network in order to advertise addresses of the virtual machines to the physical router.
285 Citations
22 Claims
-
1. For a network controller that manages a plurality of logical networks, a method comprising:
-
receiving a specification of a logical network that comprises a logical forwarding element with at least two logical ports that each connect the logical network to an external network and that each peer with a physical router of the external network in order to advertise network address reachability information for at least two subnets of the logical network to the external network, wherein a first logical port peers with a first physical router on a first subnet of the external network and a second logical port peers with a second physical router on a second subnet of the external network, wherein the first and second subnets are different from each other and from the at least two subnets of the logical network; selecting host machines from a plurality of host machines to host gateways for implementing each of the ports that connect the logical network to the external network; and generating, for distribution to each of the gateways, data tuples defining (i) a routing table for implementing the connection between the logical network and the external network for the port implemented by the gateway and (ii) a configuration for a routing protocol application that enables the gateway to peer with the physical router of the external network with which the port implemented by the gateway peers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory machine readable medium storing a network controller program which when executed by at least one processing unit manages a plurality of logical networks, the network controller program comprising sets of instructions for:
-
receiving a specification of a logical network that comprises a logical forwarding element with at least two logical ports that each connect the logical network to an external network and that each peer with a physical router of the external network in order to advertise network address reachability information for at least two subnets of the logical network to the external network, wherein a first logical port peers with a first physical router on a first subnet of the external network and a second logical port peers with a second physical router on a second subnet of the external network, wherein the first and second subnets are different from each other and from the at least two subnets of the logical network; selecting host machines from a plurality of host machines to host gateways for implementing each of the ports that connect the logical network to the external network; and generating, for distribution to each of the gateways, data tuples defining (i) a routing table for implementing the connection between the logical network and the external network for the port implemented by the gateway and (ii) a configuration for a routing protocol application that enables the gateway to peer with the physical router of the external network with which the port implemented by the gateway peers. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification