Hi all.
I have made a new version of the patch posted by acinonyx (rv502), for interfacing batmand with the zebra routing daemon. There are 2 versions available: One for the latest svn (rv1060) and one for the stable 0.3 release. Take a look at:
http://www.cslab.ece.ntua.gr/~chazapis/batman/
Please consider this code experimental. Some initial tests are promising, but there may be bugs... :)
For now, the plug-in just supports sending routes to zebra, not the opposite (redistributing routes from other protocols). That was also the case with the older - rv502 - version.
What the patch does is: - Adds a flag "-z" to the batmand executable which may be used to enable zebra communication and accepts as an argument the path to the corresponding zebra unix-domain socket. - If zebra is enabled: - No rules are added to the kernel. - All UNICAST routes are sent to zebra.
All routes are also sent to the kernel (in linux/route.c), but the extra routing tables are not used by linux, because of the lack of rules. These routing tables remain, just to help with route management, so batmand can successfully remove all added routes on shutdown.
Antony