Skip to content

Glossary: Networking Basics

ip route

Also written: ip route add, ip route replace, ip route del

Shows the routing table and changes it. `ip route add default via 192.168.20.1` sets the gateway, `replace` swaps the route for another and `del default` removes it.

Where the book teaches it

Related terms

routing tabledefault routeviaip route get