How to Propagate Default Route in RIP

We can advertise a default route using RIP. Route propagation is useful when there is a single exit point in the network to reach the Internet or any other service. The default-information originate command in the router configuration mode allows default static route advertisement, so we need to configure the router with the default-information originate command.

Refer to Figure 1. In this topology, Router0 is a single way to the webserver. So, all that is required for Router0 to reach the web server is a default static route going out of the FastEthernet 0/1 interface. Similar default static routes are also needed on Router1 and Router2, so it is much easier to configure a static default route on the edge router (Router0 in this topology). Then, Router0 propagate it to all other routers using RIP. To provide web connectivity to all other networks in the RIP routing domain, the default static route also needs to be advertised to all other routers that use the dynamic routing protocol. To propagate a default route, the Router0 must be configured with:

  • Router0>enable
  • Router0#config terminal
  • Router0(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet 192.168.0.2
  • Router0(config#router rip
  • Router(config-router)#network 192.168.0.0
  • Router(config-router)#network 10.10.10.0
  • Router(config-router)#default-information originate
  • Router(config-router)do wr

The default-information originate command propagates the static default route in RIP updates. Router0 now has a Gateway of Last Resort and default route installed in its routing table. Now configure a RIP (Routing Information Protocol) on Router1 and Router2 to propagate the default static route to Router1 and Router2. We can verify the default static route on the routing table of Router1 and Router2 using the show ip route command. If we check the routing table of Router1 and Router2, it will display a default static route and the gateway of last resort, but when we check the show startup-config, there will be no default route configured in the startup configuration file.