Community discussions

MikroTik App
 
rooneybuk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Fri Feb 20, 2015 12:09 pm

Route Filter v6 to v7

Sun Feb 18, 2024 5:39 am

Can someone help me convert this from v6 to v7 I'm mainly struggling with the prefix length

/routing filter
add action=discard address-family=ip chain=dn42-in prefix=192.168.0.0/16 prefix-length=16-32 protocol=bgp
add action=discard address-family=ip chain=dn42-in prefix=169.254.0.0/16 prefix-length=16-32 protocol=bgp
add action=discard address-family=ip chain=dn42-out prefix=192.168.0.0/16 prefix-length=16-32 protocol=bgp
add action=discard address-family=ip chain=dn42-out prefix=169.254.0.0/16 prefix-length=16-32 protocol=bgp
 
User avatar
loloski
Member
Member
Posts: 420
Joined: Mon Mar 15, 2021 9:10 pm

Re: Route Filter v6 to v7

Sun Feb 18, 2024 10:54 am

discard is not supported in v7
 
User avatar
baragoon
Member
Member
Posts: 382
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: Route Filter v6 to v7

Sun Feb 18, 2024 11:08 am

if (dst in 192.168.0.0/16 && dst-len in 16-32) {reject}
 
jaclaz
Forum Guru
Forum Guru
Posts: 1981
Joined: Tue Oct 03, 2023 4:21 pm

Re: Route Filter v6 to v7

Sun Feb 18, 2024 12:47 pm

Who is online

Users browsing this forum: No registered users and 0 guests