Adding Static Routes
The ip route command syntax is:
- Router(config)#ip route [ip address of remote network] [subnet mask of remote network] [ip address of interface on next hop in the path] [administrative distance]
Notice that you must be in global configuration mode to issue this command.
Once a static route is configured, the router will use this path to get to the remote network specified in the command.
The exception to the above is if the administrative distance for the route is set higher than the administrative distance associated with other routing table information.