Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Here is an example of a gateway router for a leaf AS with several upstreams (multihoming). This config is an extension of [BGP example 1](BGP_example_1). We cannot use the default route locally, we import routes from BGP and use BGP to choose between upstreams for each prefix - some networks are closer using bgp_abc, other using bgp_def. But we don't want all these routes received from BGP (cca 300k routes) export to the OSPF. Therefore, we propagate the default route (from static_ospf protocol) to the OSPF protocol (it does not matter that the default route is an unreachable route, other OSPF routers that receive it will compute _via_ according to the shortest path to this gateway).
This config should be extended to contain proper import filters for bgp protocols to prevent upstreams to send us some bogus routes. For details see the [BGP filtering](BGP_filtering) for more examples.