[Xorp-hackers] Quick Question on RIP implementation in XORP

Pallavi Gupta guptalavi at gmail.com
Mon Feb 26 01:10:25 PST 2007


Just a quick question, RIP was originally designed to send routing
updates in a time driven fashion, by default, every 30 secs. In
Cisco's  implementation, RIP also uses triggerred updates in addition
to the timed updates. I was just wondering if RIP implementation in
XORP uses just the time driven updates or triggered updates as well. I
am curious because if XORP doesnt , then I would like to implement the
triggered updates in RIP in XORP as part of my project. Thanks a

Pallavi Gupta,
University College of the Fraser Valley.

On 2/19/07, Orion Hodson <oho at acm.org> wrote:
> RIP notifies the RIB of the routes as it updates their state.  The
> RIB arbitrates which of the routes it learns from routing protocols
> make it into the routing table.  The RIB can also redistribute
> routes, for instance static routes, through RIP.
> RIP's routing decision code is in rip/route_db.cc.  The packet
> formats are in rip/packets.hh and the packetization is rip/
> packet_assembly.hh.
> The RIB notification code is rip/xrl_rib_notifier.{hh,cc}.  The
> redistributed route information is managed by the *redist* files.
> For the most part the string "cost" identifies the routing metric at
> any point in RIP, with a few exceptional places that use "metric".
> Replacing the type of cost in the RouteEntry (route_entry.hh) with
> my_metric_t would probably give you the transitive closure of all the
> places in RIP that would need changing to support a more
> sophisticated metric (and a tonne of code that doesn't compile for a
> while :-).
> Happy Hacking
> - Orion
> On Feb 18, 2007, at 1:20 PM, Pallavi Gupta wrote:
> > Hello,
> >
> > I am a 4th year undergraduate student at a university in Canada. I am
> > doing a research project based on RIP and I am using XORP for
> > implementation of the changes that I intend to make in the protocol. I
> > am trying to understand the XORP code and I was wondering if someone
> > could point me out in the right direction. At the moment, I am trying
> > to figure out how XORP processes the routing metrics during path
> > selection, specifically for RIP.
> > I intend to change the metric for RIP into a compound of Hop count and
> > delay, if possible.
> > Thanks soo much, in advance, for your time and help.
> >
> > Sincerely,
> > Pallavi Gupta,
> >
> > --
> > "Little things make big differences in life"
> >
> > _______________________________________________
> > Xorp-hackers mailing list
> > Xorp-hackers at icir.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

"Little things make big differences in life"

More information about the Xorp-hackers mailing list