Community discussions

MikroTik App
 
edalb1979
just joined
Topic Author
Posts: 10
Joined: Mon Jan 15, 2018 3:02 pm

BGP Peer to only advertise default gateway

Mon Apr 16, 2018 9:25 am

Good day

I have a issue where I have a peer configured to send out a default gateway.

add default-originate=always name=Default-GW-Advertise remote-address=xxx.xxx.xxx.xxx remote-as=200 ttl=default

But due to me not having any Out-Filter I am advertising my whole routing table to the remote peer and that is not correct.
All I want to advertise is the Default-GW.

How should I create my Out-Filter. Also I am not going to receive anything from the remote peer.

Regards
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: BGP Peer to only advertise default gateway

Mon Apr 16, 2018 1:14 pm

Be sure that your instance has:
  • redistribute-connected: no
  • redistribute-ospf: no
  • redistribute-other-bgp: no
  • redistribute-rip: no
  • redistribute-static: no
  • client-to-client-reflection: no
And you will have no need to use any filter.
If this doesn' work, please export here your BGP configuration for both Peer.

Who is online

Users browsing this forum: sindy and 27 guests