[zebra 23193] netlink and zebra

warptrosse warptrosse at gmail.com
Wed Jul 15 13:51:30 PDT 2009


Hi, I'm developing a provider for *sblim* (
http://sblim.wiki.sourceforge.net/) using *netlink sockets*, this provider
must give a routes list based on user specified parameters. My question is,
I can see that routes created by *zebra* uses the *rtm_protocol* flag equals
to *RTPROT_ZEBRA*, but how can I identify what protocol had created that
route.
What's the way that zebra manage routes? It creates all routes on kernel
route table? if this is correct, how can I differenciate between a static
route and a dynamic route (created by ospf as example)...

Other question is: Where is stored the administrative distance configuration
used by ospf, bgp, etc...?

thanks.

-- 
WARPTROSSE {The knowledge of a man belongs to all the humanity}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.zebra.org/pipermail/zebra/attachments/20090715/aa9c6c31/attachment.html


More information about the Zebra mailing list