Network Configuration
route
Displays or modifies the IP routing table.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$route [OPTIONEN]
Examples
$route -n
$route add default gw 192.168.1.1
Typical use cases
?
Standard usage
route --help
Note
Legacy-Tool, replaced by <a class='link-badge' href='?query=ip+route'>ip route</a>.
Export