< Free Open Study > |
RIP Default RoutingA default route is necessary whenever connecting the Internet. Without it, the router would need a path to every single network in its routing table. A default route is configured to point to a gateway of last resort. When a router cannot find a specific match in its route table for a packet, it forwards that packet to the gateway of last resort. Cisco routers always perform classful route lookups, which means that they will not forward packets to a gateway of last resort unless the global ip classless command is set. The ip classless command is enabled by default in Cisco IOS Software Release 11.3 and later. The concept of default routing varies by each routing protocol. Each routing protocol uses a specific method when defining and advertising a default route. There are two steps to perform when configuring default routing with RIP:
In Figure 9-6, the dr_xavier router was added to the network from the previous examples. This router has a default route to the Internet, through Internet_router/Firewall. This example uses a default static route to mark the route as the default. Adding the ip route 0.0.0.0 0.0.0.0 206.191.240.2 command to the dr_xavier router propagates a default route to rogue and cyclops. The route table for the dr_xavier router marks this route with an *, meaning that the route is the candidate default. When the route is propagated to a downstream router, it becomes a gateway of last resort, as shown in Figure 9-6. Figure 9-6. RIP Default Routing
Example 9-11 lists the configuration of the dr_xavier router. Example 9-11 Relevant Portions of the dr_xavier Configuration! router rip network 128.200.0.0 network 206.191.240.0 ! ip classless ip route 0.0.0.0 0.0.0.0 206.191.240.2 ! |
< Free Open Study > |