Module 5-Static Routing
Module 5-Static Routing
Module 5-Static Routing
Instructor Materials
Static Dynamic
and Routing
Default
Routes
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
Static Routing
Why Use Static Routing?
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Types of Static Routes
Default Static Route
▪ Default route matches all packets and is used
when a packet does not match a specific
route in the routing table
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Configure IPv4 Static Routes
ip route Command
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
Configure IPv4 Default Routes
Default Static Route
▪ Default static routes are commonly used when connecting:
• An edge router to a service provider network
• A stub router (a router with only one upstream neighbor router)
▪ Default route is used when no other routes in the routing table match the destination IP
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Configure IPv4 Default Routes
Configure a Default Static Route
Any packets
not matching
route entries
are forwarded
to 172.16.2.2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Configure IPv4 Default Routes
Verify a Default Static Route
▪ show ip route static displays
just the static routes
• S indicates static route
• candidate default route
indicated by *
• /0 mask in route entry indicates
none of the bits are required to
match
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Configure Floating Static Routes
Floating Static Routes
Floating static routes have an administrative
distance greater than the dynamic routing protocol
or other static route
▪ Used as backup routes
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Configure Floating Static Routes
Test the IPv4 Floating Static Route
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Configure Floating Static Routes
Test the IPv4 Floating Static Route (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Troubleshoot IPv4 Static and Default Route Configuration
Troubleshoot a Missing Route
▪ Common IOS troubleshooting commands
include:
• ping
• traceroute
• show ip route
• show ip interface brief
• show cdp neighbors detail
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
Troubleshoot IPv4 Static and Default Route Configuration
Troubleshoot a Missing Route (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Troubleshoot IPv4 Static and Default Route Configuration
Solve a Connectivity Problem
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15