Information Technology Reference
In-Depth Information
Foundation Topics
Static Routes
Before discussing dynamic routing protocols, this section reviews the configuration of static
routing protocols.
Static routes are manually configured. For each change in the network topology, an administrator
must manually change the static routes as necessary. You can use static routes in hub-and-spoke
networks with low bandwidth links so that bandwidth is not used by routing protocols. You can
also use static routes in network firewall architectures and at connections with external partners.
Static Route Configuration
Static routes are configured with the ip route global command. The format is as follows:
ip route destination-network mask destination-IP
or
ip route destination-IP mask egress-interface
The following shows some options for the destination:
Router(config)#ip route 10.0.0.0 255.0.0.0 ?
A.B.C.D Forwarding router's address
Ethernet IEEE 802.3
Null Null interface
Serial Serial
TokenRing IEEE 802.5
The following example reaches network 10.100.0.0/16 through IP address 192.172.1.1:
router(config)#ip route 10.100.0.0 255.255.0.0 192.172.1.1
The following example reaches network 10.100.0.0/16 through Ethernet 0:
router(config)#ip route 10.100.0.0 255.255.0.0 ethernet 0
You can redistribute static routes into a dynamic routing protocol. Some dynamic routing
protocols have the capability to distinguish between local routes and routes that were learned
from external resources. Intermediate System-to-Intermediate System (IS-IS), Open Shortest
Path First (OSPF), and EIGRP have the further capability to apply separate routing metrics to
externally learned routes. EIGRP is covered in this chapter. OSPF and IS-IS are covered in
Chapter 8, “IP Link-State Routing Protocols.”
Search WWH ::




Custom Search