Patent ID: 9590901
Date: 2017-03-07
CPC Classifications: H04L

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.