Community discussions

MikroTik App
 
stefan@on4sh.be
just joined
Topic Author
Posts: 3
Joined: Wed May 31, 2006 2:21 pm
Location: Belgium
Contact:

BGP Routing troubles with default route

Fri Aug 21, 2009 1:35 pm

I'm trying to rebuild my backbone to 802.11n, but therefore i need the RouterOS 4.0 Beta 3 or 4.

I use bgp routing, and it looks like big changes are made in bgp between 3.x and 4.x

Simple routing test: 3.2x router (433ah) announces 0.0.0.0/0 to next hop/peer by bgp, this is an 4.0 b4 router and receives the 0.0.0.0/0 route, next hop also an 4.0 b4 router receives all routes for the previous hop/peer by bgp execpt the 0.0.0.0 route.
All routers peer'd to an 4.0 b3 or b4 router don't receive a 0.0.0.0/0 route from gateway, 3.x of 4.0 bx clients both same problem.

I noticed this already on 3 independend test sites, and on more then 10 eindnodes.
All boxes are rb433ah boards with 3.x of 4.0 bx Routeros installed, mini-pci cards as links.


I use bgp already for al long time, there more the 100 bgp nodes/devices routered by it and multiple isp-gateways.
All routing worked fine on routeros 3.x devices

Regards,
Stefan
wirelessbelgium
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP Routing troubles with default route

Fri Aug 21, 2009 2:25 pm

you have to set in bgp peer's configuration default-originate=always or if-installed
 
stefan@on4sh.be
just joined
Topic Author
Posts: 3
Joined: Wed May 31, 2006 2:21 pm
Location: Belgium
Contact:

Re: BGP Routing troubles with default route

Fri Aug 21, 2009 3:14 pm

Tnx !

Works like a charm
Time to upgrade some nodes :D

Regards,
Stefan
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: BGP Routing troubles with default route

Thu Sep 17, 2009 3:12 pm

ROS 3.28
package routing-test

I know i have to go to CLI on the peer and set default-originate=always because winbox has only 2 choices: if-installed and never
everything works ok but if i disable and enable the peer (from winbox), without touching any configuration, on re-enable the default-originate is set as "if-installed".
It took me a while to figure out what was the problem..
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: BGP Routing troubles with default route

Thu Sep 17, 2009 4:03 pm

I believe, it's connected with latest changes in BGP 'Networks' behaviour (Synchronize now is always On), now you should have a route in your routing table for the Network you want to redistribute. so, I think, switch to if-installed, and, if you don't have default route, add 0.0.0.0/0 unreachable route to your routing table
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: BGP Routing troubles with default route

Thu Sep 17, 2009 5:42 pm

that's a workaround..
i need it as it is working... setting default-originate=always works for me.. but i've to be aware of disabling the peer, because on re-enable it is set on "if-installed".
Not like i'm disabling bgp peers every day :lol: but last time i did it was after 3 months ... so i'm not sure i will recall this behaviour again..
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: BGP Routing troubles with default route

Thu Sep 17, 2009 7:31 pm

unfortunately, seems like it's not workaround, but is how it should be now