Community discussions

MikroTik App
 
User avatar
surfnet
Member Candidate
Member Candidate
Topic Author
Posts: 277
Joined: Wed Sep 01, 2004 6:38 pm

BGP is not sending default routed

Sat Aug 07, 2021 12:47 am

we have a Mk that will not send its default route upstream
routing bgp peer
add default-originate=always hold-time=30s in-filter=Andy-in keepalive-time=10s name=Andy out-filter=Andy-out remote-address=10.x.x.5 remote-as=65302 ttl=default
add default-originate=if-installed hold-time=30s in-filter=Newsom-in keepalive-time=10s name=Newsom out-filter=Newsom-out remote-address=10.x.x.10 remote-as=65202 ttl=default
add default-originate=if-installed in-filter=MurphyBH2-In name=MurphyBH2 out-filter=MurphyBH2-out remote-address=10.x.x.82 remote-as=65318 ttl=default
add default-originate=if-installed hold-time=30s in-filter=LaetitiaHS-In keepalive-time=10s name=LaetitiaHS out-filter=LaetitiaHS-out remote-address=10.x.x.98 remote-as=65321 ttl=default
add default-originate=if-installed hold-time=30s in-filter=TalleyBH-In keepalive-time=10s name=Talley out-filter=TalleyBH-out remote-address=10.x.x.114 remote-as=65324 ttl=default
add default-originate=if-installed hold-time=30s in-filter=Ranchita-In keepalive-time=10s name=Ranchita out-filter=Ranchita-out remote-address=10.x.x.118 remote-as=65325 ttl=default
..
this is what my advertisments look like
[admin@MurphyBH] /routing bgp advertisements> pr where prefix ="0.0.0.0/0"
PEER PREFIX NEXTHOP AS-PATH ORIGIN LOCAL-PREF
Newsom 0.0.0.0/0 10.x.x.9 65302,65300,174 igp
Murph... 0.0.0.0/0 10.x.x.81 65302,65300,174 igp
Laeti... 0.0.0.0/0 10.x.x.97 65302,65300,174 igp
Talley 0.0.0.0/0 10.x.x.113 65302,65300,174 igp
Ranchita 0.0.0.0/0 10.x.x.117 65302,65300,174

5 out of 6, Andy never get advertised a default route?
what Im a doing wrong?
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: BGP is not sending default routed

Sat Aug 07, 2021 2:21 am

you got five peers. on which one it doesn't send the default route?
 
User avatar
surfnet
Member Candidate
Member Candidate
Topic Author
Posts: 277
Joined: Wed Sep 01, 2004 6:38 pm

Re: BGP is not sending default routed

Sat Aug 07, 2021 2:31 am

the line in bold, with the name Andy
 
joegoldman
Forum Veteran
Forum Veteran
Posts: 766
Joined: Mon May 27, 2013 2:05 am

Re: BGP is not sending default routed

Sat Aug 07, 2021 9:23 am

What does the Andy-out filter look like, do you have an allow rule for the default route or a deny rule that'd count it out?
 
User avatar
surfnet
Member Candidate
Member Candidate
Topic Author
Posts: 277
Joined: Wed Sep 01, 2004 6:38 pm

Re: BGP is not sending default routed

Sat Aug 07, 2021 10:03 pm

here are my andy-out filters

chain=Andy-out prefix=10.110.0.4/30 invert-match=no action=discard set-bgp-prepend-path=""

chain=Andy-out locally-originated-bgp=yes invert-match=no action=accept set-bgp-prepend-path="" set-bgp-communities=230:1 append-bgp-communities=230:2

Who is online

Users browsing this forum: No registered users and 12 guests