DC-RIP Architecture
The block diagram below shows the software architecture
of the DC-RIP stack.
For an overview of the DC-RIP software and its features, see
DC-RIP Product Overview.
Components
In the architecture diagram above, the outer boxes show the main
components. These are linked by well-defined asynchronous interfaces. This architecture is described in
IP Routing Product Family Architecture. Metaswitch's graphical debugging tools can be used
to track the message across these interfaces, which provides a very clear picture of the operation of the product.
The DC-RIP Protocol Manager itself is split into subcomponents with
well-defined synchronous interfaces between them. This split ensures a clean design and aids the long-term maintainability
of the product.
Route Store
The Route Store component
- tracks all routes stored in DC-RIP
- implements the soft state mechanism for timing out old routes
- calculates the updates needed to keep RIP peers and connected
instances of DC-RTM in sync with all changes to active routes
- provides the RIP Route MIB for querying the routes in the DC-RIP
routing table.
Interface Manager
The Interface Manager component
- monitors the state of the interfaces and updates routes accordingly
- adds connected routes into the RIP routing table
- provides the Interface Configuration MIB
- records per-interface and per-peer statistics and presents these
in the Interface Statistics and Peer MIBs.
Sockets Manager
The Sockets Manager component
- sends and receives RIP protocol messages (Requests and Responses)
- adds routes learnt from the RIP protocol into the routing table
- carries out packet verification and authentication
- calls customizable functions for applying policy on incoming
or outgoing routes
- configures UDP sockets for use by DC-RIP.
Redistribution Manager
The Redistribution Manager component
- communicates with one or more instances of DC-RTM across the RPI
interface, and sends and receives all RPI messages
- adds redistributed routes into the RIP routing table.
For more information about Metaswitch's
RIP product and expertise contact
.