Community discussions

MikroTik App
 
User avatar
Nevon
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Thu Sep 05, 2013 6:06 pm
Location: Sweden
Contact:

Convert BGP filter from V6 to V7

Tue Dec 14, 2021 9:38 pm

I would love to have some help to convert filters from V6 to V7

Transit filters eBGP:
Incoming filter:
add action=discard chain=bgp-in prefix=0.0.0.0/0
add action=discard chain=bgp-in prefix=xxx.xxx.xxx.xxx prefix-length=24-32
add action=discard chain=bgp-in prefix=xxx.xxx.xxx.xxx prefix-length=24-32

I want to discard default route and my own subnet incoming chain.
----------------------------------------------------------------------------------------------
Outgoing filter:
add action=accept chain=bgp-ipv4-out prefix=xxx.xxx.xxx.xxx prefix-length=24
add action=accept chain=bgp-ipv4-out prefix=xxx.xxx.xxx.xxx prefix-length=24
add action=discard chain=bgp-ipv4-out

To have control that I only advertise my own subnet to transit.
----------------------------------------------------------------------------------------------
iBGP:
If I dont want to filter anything localy between my routers do I have to do anything then?

If I have a PEER to a customer with his own AS and SUBNET and I want to be sure that those SUBNETs are advertised from me to my eBGP Peers... do I have to do anything then?

Who is online

Users browsing this forum: No registered users and 17 guests