Community discussions

MikroTik App
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

BGP - Default Route

Fri Sep 29, 2006 1:14 am

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.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Fri Sep 29, 2006 10:55 am

 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Fri Sep 29, 2006 2:14 pm

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
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Fri Sep 29, 2006 2:42 pm

you could find some routing filter examples in the wiki:
http://wiki.mikrotik.com/wiki/Routing
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Fri Sep 29, 2006 4:03 pm

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.
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Fri Sep 29, 2006 4:40 pm

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
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Fri Sep 29, 2006 5:29 pm

the configuration is the same and I strongly suggest you to upgrade.
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Fri Sep 29, 2006 5:39 pm

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

Thanks !
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Mon Oct 02, 2006 8:53 am

just upgrade, no changes :wink: