I actually want to use my Mikrotik router as a router. But the “type” option has been omitted for the routes as an example.
How do I set a network block to be unreachable?
# DST-ADDRESS GATEWAY DISTANCE
0 A SU xxxx:xxxx:xxx::/48 1
/ipv6 route
add distance=1 dst-address=xxxx:xxxx:xxx::/48 type=unreachable
A function that I used very intensively no longer exists:
/ip(v6) route check
In addition, in many places (or everywhere?) it no longer works by entering a question mark to display the available options. Does it work differently now?
6.x:
7.1rc4:
Sorry for my maybe stupid question.
But how can i mimic this behaviour as simply as possible as a firewall rule?
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable
# DST-ADDRESS GATEWAY DISTANCE
0 A S 2000::/3 fe80::333:8400:fb0e:7... 1
1 A SU 2001:db8::/32 1
2 A S 2001:db8:bec0::/48 ether2 1
3 A S 2001:db8:bec1::/48 ether3 1
4 A SU 2001:db8:bec2::/48 1
3 A S 2001:db8:bec2:beef::/64 ether4 1
/ipv6 route
add distance=1 dst-address=2000::/3 gateway=fe80::333:8400:fb0e:7c0%ether1
add distance=1 dst-address=2001:db8::/32 type=unreachable
add distance=1 dst-address=2001:db8:bec0::/48 gateway=ether2
add distance=1 dst-address=2001:db8:bec1::/48 gateway=ether3
add distance=1 dst-address=2001:db8:bec2::/48 type=unreachable
add distance=1 dst-address=2001:db8:bec2:beef::/64 gateway=ether4
I know how I would do it, but that would inflate my firewall further.
Thank you for your answer, but using a bridge looks like a bloody hack/ugly workaround to me.
I can’t understand why mikrotik removes a working solution…
I am upset
The question “Is blackhole or unreachable better?” cannot be answered clearly for all users. My concern is that the DECISION whether you WANT blackhole or unreachable should be in the hands of the respective network administrator. There are certainly legitimate reasons for both.
I don’t see any reason to delete features that were already implemented in the substructure (Linux kernel / Netfilter / IPRoute2).
There are various ways to protect yourself from abuse.
icmp/*:
ratelimit - INTEGER
Limit the maximal rates for sending ICMPv6 messages.
0 to disable any limiting,
otherwise the minimal space between responses in milliseconds.
Default: 1000
Linux limits the rate of ICMP error packets to each destination.
ICMP_REDIRECT and ICMP_DEST_UNREACH are also limited by the
destination route of the incoming packets.