BGP - Default Route

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.

BGP routing filters
http://www.mikrotik.com/docs/ros/2.9/routing/filter

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

you could find some routing filter examples in the wiki:
http://wiki.mikrotik.com/wiki/Routing

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.

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

the configuration is the same and I strongly suggest you to upgrade.

Eugene, if I upgrade not need to do some changes to work ?, I mean, just upgrade only ?

Thanks !

just upgrade, no changes :wink: