Page 1 of 1

BGP - Default Route

Posted: Fri Sep 29, 2006 1:14 am
by fpascual
Hi, I need help.
I have mikrotik with version 2.9.17 packages.
I don't know why but I'm announcing all my networks (including the default route, the main problem !) to all my providers (6).
If I disable redistributed-static in /routing bgp instance I lost my connection with local NAP in my country.

Please, help me and sorry for my english.


Thanks.

Posted: Fri Sep 29, 2006 10:55 am
by janisk

Posted: Fri Sep 29, 2006 2:14 pm
by fpascual
janisk, I read this article, but can't understand what I must to do ...
I have some prefixes in /routing filter, but I don't know how filter the default route (0.0.0.0).
Can someone give me an example to filter some prefixes and the default too ?

Thanks a lot

Posted: Fri Sep 29, 2006 2:42 pm
by Eugene
you could find some routing filter examples in the wiki:
http://wiki.mikrotik.com/wiki/Routing

Posted: Fri Sep 29, 2006 4:03 pm
by fpascual
Thanks, I'm going to apply a filter like this:

add chain=test-nap as-path=**** action=discard
add chain=test-nap as-path=**** action=discard
add chain=test-nap as-path=**** action=discard
add chain=test-nap prefix=200.X.X.0/26 prefix-length=26 action=discard
add chain=test-nap prefix=200.X.X.128/27 prefix-length=27 action=discard
add chain=test-nap prefix=200.X.X.64/28 prefix-length=28 action=discard
add chain=test-nap prefix=200.X.X.X action=discard
add chain=test-nap prefix=200.X.X.0/22 prefix-length=22 action=accept
add chain=test-nap prefix=200.X.X.0/24 prefix-length=24 action=accept
add chain=test-nap prefix=200.X.X.0/23 prefix-length=23 action=accept
add chain=test-nap prefix=0.0.0.0/0 action=discard


First deny some subnets, then accept my own networks and the last one is deny the "default route".
Is this correct ?, thanks.

Posted: Fri Sep 29, 2006 4:40 pm
by fpascual
I read about bgp bugs in my MK version (2.9.17), what's happend if I upgrade to new 2.9.30 ?, are this version stable ?, the configuration of 2.9.17 is the same in 2.9.30 or I'm going to make changes in my configuration file ?.

Thanks

Posted: Fri Sep 29, 2006 5:29 pm
by Eugene
the configuration is the same and I strongly suggest you to upgrade.

Posted: Fri Sep 29, 2006 5:39 pm
by fpascual
Eugene, if I upgrade not need to do some changes to work ?, I mean, just upgrade only ?

Thanks !

Posted: Mon Oct 02, 2006 8:53 am
by Eugene
just upgrade, no changes :wink: