22-1
22
Static Route Configuration
Wh n configuring a static route,
e
go to these sections for information you are interested in:
z
Introduction to Static Route
z
Static Route Configuration
z
Displaying and Maintaining Static Routes
Static Route Configuration Example
z
shooting a Static Route
z
Trouble
The term
router
in this chapter refers to a router in a generic sense or an Ethernet switch running a
uting protocol.
ro
Introduction to Static Route
Static
onfigure static routes to make routers work normally. Proper
cause they cannot
cally, thus resulting in network interruption. In this case, the
Stat
z
le route: normal route. If a static route to a destination is of this type, the IP packets
z
a static route to a destination has the
reject
z
, the outgoing interface of this route is the Null 0 interface regardless of the next
The attributes
reject
and
blackhole
are usually used to limit the range of the destinations this router
nd help troubleshoot the network.
Route
Static routes are special routes. They are manually configured by the administrator. In a relatively
simple network, you only need to c
configuration and usage of static routes can improve network performance and ensure sufficient
bandwidth for important applications.
When the network topology changes, static routes may become unreachable be
adapt themselves to the change automati
network administrator needs to modify the configuration of static routes manually.
ic routes are divided into three types:
Reachab
destined for this destination will be forwarded to the next hop. It is the most common type of static
routes.
Unreachable route: route with the
reject
attribute. If
attribute, all the IP packets destined for this destination will be discarded, and the source hosts will
be informed of the unreachability of the destination.
Blackhole route: route with
blackhole
attribute. If a static route destined for a destination has the
blackhole
attribute
hop address, and all the IP packets addressed to this destination will be dropped without notifying
the source hosts.
can reach, a