Configuring Cisco On-Demand Routing (ODR)
by Hunter Gorman, on Feb 11, 2020 11:30:00 AM
ODR is fundamentally pertinent in hub and spoke networks and a spoked arrangement where CDP can be utilized. It isn't alluring to include the overhead of a directing convention like RIP, EIGRP, or OSPF. The primary thought is that the prefixes can be traded from the spoke switches (otherwise called stub switches) to the center point switch. The center point switch can publicize a default course to the spoke switches. Prefixes, by means of ODR, can be redistributed into another direction convention to guarantee full start to finish availability with different pieces of the system.
ODR relies on Cisco Discovery Protocol (CDP), so only networks that support CDP can be part of an ODR configuration. This immediately eliminates Frame Relay with point-to-multipoint sub interfaces and other non-broadcast topologies.
Example with a given topology:
Prerequisites for Configuring On-Demand Routing:
Cisco Discovery Protocol must be enabled.
Benefits of On-Demand Routing
This module describes how to configure On-Demand Routing. The ODR provides IP routing for stub sites, along with minimum cost. The cost of a general, dynamic routing protocol is avoided without configuration and management burden of static routing. The configuration follows:
router ospf 1
redistribute odr subnets
network 10.0.0.0 0.0.0.255 area 0
After the network converges and routes are communicated via CDP, we can see the default route advertised via ODR on any spoke router:
On the hub router, we see the networks connected to the spoke routers advertised via CDP and included in the routing table as ODR routes.
With redistribution into OSPF, we can confirm end-to-end connectivity from the OSPF router and one of the spoke routers:
About PivIT Global
We’re here to improve the way you do your job by offering both new and certified refurbished IT infrastructure to shield you from forced upgrades — and to help keep your legacy networks up and running. We exist to help you do more for less by providing hardware maintenance services and unsurpassed technical support.