What does ip route add do?
Add route on Linux using ip. The easiest way to add a route on Linux is to use the “ip route add” command followed by the network address to be reached and the gateway to be used for this route. By default, if you don't specify any network device, your first network card, your local loopback excluded, will be selected.
How do I make an ip route?
To enable IP routing, use the ip routing command in switch configuration mode. To disable IP routing, use the no form of this command. This command has no arguments or keywords. IP routing is disabled.
What does ip route add default mean?
A default route is the route that takes effect when no other route is available for an IP destination address. If a packet is received on a routing device, the device first checks to see if the IP destination address is on one of the device's local subnets.