Need to add a static route with nmcli to a device interface.
I would like to mimic a command like this with ip route (traffic sent to the interface NOT a next-hop ip)
ip route add 4.4.0.0/30 dev ens4
I already know how to use to add a next hop interface but I cant find any documentation on how to send a route to a specific interface
How can I accomplish this?
Asked by Dave
(700 rep)
Nov 22, 2021, 06:25 PM
Last activity: Aug 18, 2022, 10:51 AM
Last activity: Aug 18, 2022, 10:51 AM