ip route
Manage the IP routing table with iproute2.
Syntax
$ip route [show|add|del|...] [OPTIONS]
Examples
Examples
$ip route show
Examples
$ip route add default via 192.168.1.1
Typical use cases
ip route --help
man ip route
Note
Modern alternative to route.
Export