Nullroute (blackhole/unreachable)

Íñigo Huguet ihuguet at redhat.com
Thu Apr 18 12:21:11 UTC 2024


nmcli con modify CONN_NAME +ipv6.routes "2001:db8::/56 type=unreachable"

On Thu, Apr 18, 2024 at 1:17 PM Marco Moock <mm at dorfdsl.de> wrote:
>
> Hello!
>
> In some circumstances it is necessary to route a net to /dev/null
> (called Null0 on Cisco). This can result in an ICMP unreachable message.
>
> e.g.
> ip route add unreachable 2001:db8::/56 #gives ICMP no route to dest
> ip route add blackhole 2001:db8::/56 #silently discards packet
>
> Is there any way to configure that within NM?
>
> --
> kind regards
> Marco Moock
>


-- 
Íñigo Huguet



More information about the Networkmanager mailing list