"unreachable" routes

Hello @all,

currently I'm trying to update an old server running CentOS 6, which
doesn't use NetworkManager, to a system with Networkmanager 1.26.0.
I'm strugging to find the correct syntax to define "unreachable" routes.

In CentOS 6 this could be done by creating a file, e. g.
/etc/sysconfig/network-scripts/route-eth0, with the content:

unreachable metric 3

If I read
correctly, NM 1.26.0 should still support this syntax, but when I try
it, reading the interface configration fails, without any error message.

The nmcli man page doesn't mention "unreachable" or "blackhole" routes.
nmcli does not accept this syntax when I try to set the ipv4.routes
property of a connection.

Any hints?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]