default gateway

Ondrej Filip feela at
Mon Jan 9 18:19:36 CET 2012

On 9.1.2012 17:13, Jaroslav Jirásek wrote:
>> On Mon, Jan 09, 2012 at 04:53:35PM +0100, Jaroslav Jirásek wrote:
>>> How can I export default route from router which does not have default
>>> gateway?
>>> Now I am exporting default gateway with
>>> export where source = RTS_STATIC;
>> Yes, having a static default route is the usual way.
> Export with this command works. But now I have router, which does not
> have default gateway.
> And from this router I need to export default gateway to ospf areas

The usual way is to define default static route as a "drop route":

protocol static {
        route drop;

Then you can export it to OSPF and it shouldn't affect your routing,
as any other route is more specific.


> Jirasek

More information about the Bird-users mailing list