i need to disable connected network routes of an ethernet-interface which goes down (no link).
automatically
i.e.
ether4 has 192.168.0.1/24
if ether4 link is down route list says:
“192.168.0.0/24 ether4 unreachable” state DynamciActiveConnected
is it possible to get rid of “Active”
Those are routes created by merit of there being an IP address on that interface, so you can’t disable those routes.
They do disappear when you disable the interface (“/interface ethernet disable ether4”), but then of course they’ll still be down when a link potentially comes up.