Page 1 of 1

BGP Default Route

Posted: Mon Jul 07, 2008 4:32 pm
by plucchetti
Hi all,


How I can advertise a default route, like Cisco "default-originate" command? I'm using 2.9.51 version.


Thanks,

P

Re: BGP Default Route

Posted: Mon Jul 07, 2008 4:58 pm
by mrz
default-originate feature is not yet implemeted in RouterOS.

Re: BGP Default Route

Posted: Mon Jul 07, 2008 5:13 pm
by plucchetti
Thanks for your informartion, but is another way to do?

Re: BGP Default Route

Posted: Mon Jul 07, 2008 5:52 pm
by mrz
one way is to add 0.0.0.0/0 to BGP networks.

Re: BGP Default Route

Posted: Mon Jul 07, 2008 6:08 pm
by plucchetti
Ok,
I'll try with 0.0.0.0/0 prefix lenght=32


Thank you man!

Re: BGP Default Route

Posted: Mon Jul 07, 2008 11:54 pm
by plucchetti
That's works fine, the default route was advertised, but need to filter to other peers, putting on a rule at the end with discard action not working properly. Any help?

Re: BGP Default Route

Posted: Tue Jul 08, 2008 10:41 am
by mrz
you have to add rule

/routing filter
add chain=bgp-out prefix=0.0.0.0/0 prefix-length=0 action=discard