Community discussions

MikroTik App
 
shanecaznet
just joined
Topic Author
Posts: 15
Joined: Thu Jul 13, 2017 10:52 am

BGP not adveristing default route

Sun May 19, 2019 6:24 am

Hi All

We have 2 routers, both with a default route that speak BGP to each other (over multiple sessions, one for each link).

Router A is advertising a default route to Router B and I can see that in my route table, but Router B doesn't appear to be advertising one back to Router A even though it has its own route. Both routers have "default-originate: if installed".

This is what I see on Router B:
[admin@bdr1.edpk.xyz.com.au] > ip route print where dst-address=0.0.0.0/0
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 0 ADb  0.0.0.0/0          103.AAA.BBB.3     103.AAA.BBB.22             15
 1  Db  0.0.0.0/0                          27.CCC.DDD.165            90
 2   S  0.0.0.0/0          27.CCC.DDD.165   27.CCC.DDD.165            99
 3  Db  0.0.0.0/0          103.AAA.BBB.3     103.AAA.BBB.30             15

[admin@bdr1.edpk.xyz.com.au] > routing bgp advertisements print "XYZ - MOR (DF)" where prefix=0.0.0.0/0
PEER     PREFIX               NEXTHOP          AS-PATH                                                                        ORIGIN     LOCAL-PREF
All of the dynamic routes here are learned by BGP and 103.AAA.BBB.22 and 103.AAA.BBB.30 is Router A, 27.CCC.DDD.165 is Router B's upstream.

What I'm trying to achieve is that each router knows that there is a default route via the other side should its own upstream fail. We're also, through weights, trying to make sure that Router B only uses its own upstream if Router A is not reachable. Ultimately I want Router B to advertise a Route (for 27.CCC.DDD.165) to Router A that can be used by Router A if its normal default route is lost (which it also learns by BGP).

Filters definitely allow the default route to go out to the other side.

Can anyone tell me what I'm misunderstanding?
 
User avatar
IPATEAM
newbie
Posts: 26
Joined: Mon Jan 08, 2018 8:28 pm
Contact:

Re: BGP not adveristing default route

Mon Jun 03, 2019 4:18 pm

please put your configurations here for both routers.

Who is online

Users browsing this forum: No registered users and 61 guests