$linuxjunkies
>

static route

also: manual route, persistent route

A network route that is manually configured and remains fixed in the routing table, directing packets to a specific destination network via a predetermined gateway or interface.

A static route is a manually defined path that tells your system how to reach a particular network or host. Unlike dynamic routing (which adjusts automatically based on network changes), static routes don't change unless you explicitly modify them.

Static routes are defined using the route or ip route commands. For example, ip route add 192.168.2.0/24 via 192.168.1.1 tells the system that to reach the 192.168.2.0 network, packets should be sent through the gateway at 192.168.1.1.

They're useful in small networks, for directing traffic to specific destinations, or as a fallback when dynamic routing isn't available. However, routes added this way are temporary and disappear after a reboot unless saved in configuration files like /etc/network/interfaces or network service files.

Related terms