3. Static Routing - metrafonic/Cisco-Cheatsheet GitHub Wiki

Configure a static route

Example

It is important to remember that in a scenario where you may not need to add a static route on your gateway router to access a different router, you will most likely need to configure a route back to the client. The remote router will need a route to your internal subdomain via your access router.

Recursive

(config)# ip route [nettID] [subnet] [router ip to use]

Directly Connected

(config)# ip route [ip-address] [subnet] [interface]

Set a default route

(config)# ip route 0.0.0.0 0.0.0.0 [gateway router]

Check route

# show ip route