1. A method for configuring a set of logical routers in a logical network, the method comprising: receiving a configuration of an advertised route for a first logical router and a set of allowable routes for a second logical router to which the first logical router connects; determining whether the set of allowable routes for the second logical router includes the advertised route as an allowed route from the first logical router; and only when the advertised route is an allowed route from the first logical router, adding the advertised route to a routing table for at least one component of the second logical router.