2 types of routing

Static routing

Skeleton for the command:

1
r (config)# ip route <dst network> <dst mask> [next hop IP addr|exit interface] <admin distance>
dst network
the network where the router will try to route to
admin distance
trustworthiness of a routing protocol the lower the admin distance, the better the router will trust that router
Admin distance Number
Connected 0
Static 1
120
90
110

The router will prefere the route the minimum admin distance.

Static routing in the LAB