In this post we see how to add a static route in Ubuntu using ip route and netplan.
The ip route command is useful for adding a temporary route. To keep the route configured persistently in Ubuntu 18.04, 20.04, 22.04 and 24.04, we will use netplan.
