
Static Routes
91
In a relatively simple network, you only need to configure static routes to make the
router work normally. The proper configuration and usage of the static route can
improve network performance and ensure bandwidth for important applications.
The following routes are static routes:
■
Reachable route — The normal route in which the IP packet is sent to the next
hop towards the destination. It is a common type of static route.
■
Unreachable route — When a static route to a destination has the
reject
attribute, all the IP packets to this destination are discarded, and the originating
host is informed that the destination is unreachable.
■
Blackhole route — When a static route to a destination has the
blackhole
attribute, all the IP packets to this destination are discarded, and the originating
host is not informed.
The attributes
reject
and
blackhole
are usually used to control the range of
reachable destinations of this router, and to help troubleshoot the network.
Default Route
A default route is also a static route. A default route is used only when no suitable
routing table entry is found. In a routing table, the default route is in the form of
the route to the network 0.0.0.0 (with the mask 0.0.0.0). You can determine
whether a default route has been set by viewing the output of the
display ip
routing-table
command. If the destination address of a packet fails to match any
entry of the routing table, the router selects the default route to forward this
packet. If there is no default route and the destination address of the packet fails
to match any entry in the routing table, the packet is discarded, and an Internet
Control Message Protocol (ICMP) packet is sent to the originating host to indicate
that the destination host or network is unreachable.
In a typical network that consists of hundreds of routers, if you used multiple
dynamic routing protocols without configuring a default route then significant
bandwidth would be consumed. Using the default route can provide appropriate
bandwidth, but not high bandwidth, for communications between large numbers
of users.
Configuring Static Routes is described in the following sections:
■
Configuring Static Routes
■
Troubleshooting Static Routes
Configuring Static
Routes
Static route configuration tasks are described in the following sections:
■
Configuring a Static Route
■
Configuring a Default Route
■
Deleting All Static Routes
■
Displaying and Debugging Static Routes
Summary of Contents for Switch 7700
Page 10: ...2 ABOUT THIS GUIDE ...
Page 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Page 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 195: ...Route Capacity 187 ...
Page 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 197: ...Route Capacity 189 ...
Page 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Page 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Page 270: ...262 CHAPTER 7 QOS OPERATION ...
Page 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Page 330: ...322 CHAPTER 10 RELIABILITY ...
Page 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...