[B.A.T.M.A.N.] 0.3 final <-> quagga
by Antony Chazapis
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
14 years, 8 months
[B.A.T.M.A.N.] BATMAN-ADVANCED OpenWRT Package
by cipollone
Hi,
I'm trying to install Batman-Adv Package on OpenWRt but the Makefile
doesn't work correctly. It try to download from an incorrect path. I
have tried changing the URL Source but I think that I haven't download
from the correct source (becouse I have errors in compiling the package
after). Someone could tell me the correct URL source? Are other errors
on the makefile?
Thanks
Paolo Cipollone
14 years, 8 months
[B.A.T.M.A.N.] problems detecting gw
by Francesc Artigas
Hi all,
I'm new in batman. Recently I have installed batman-0.3 and vis as well, but
it seems not detecting the gw. Actually I have two questions:
1- What is the procedure to identify gw?
I have initiated the daemon in the node switched into a ethernet like -a
1.2.3.4/16 -g 7 -s 2.3.4.5
Then in other nodes I begin the daemon in second option and always "No
gateways in range..." is displayed.
2- How to use the visualization server?
Is possible to use the same interface of batman protocol to receive
visualization info? or it should be an alias or something like that?
As I understood I have to download s3d to display the vis info, is that
correct?
Sorry for my english and Thanks a lot!
Francesc
14 years, 8 months
[B.A.T.M.A.N.] using gateway of other node, instead local gateway
by Freifunk Dresden
Hi,
I have a node that uses its own internet connection to establish a vpn
connection to another node. Therefore the node has a local default route.
I have setup my policy routing in that way that all public wifi packets should
be routed through the vpn connection. These packets should not go through
the local gateway.
The wifi interface and vpn interface are under control of batmand.
(batmand -r 1 vpn eth1)
When I call batmand -cd2 I see the gateway that is offered by the other node
behind the vpn connection. But no default route (bat0) is present and I also
can not use the parameter "-p" to select the gateway.
How can I tell batmand to use the best gateway when the current node
has a local
gateway that should not be used by batmand or the batman-network?
I'm running batman-exp rev1066.
Regards
/Stephan
14 years, 8 months
[B.A.T.M.A.N.] deactivated/reenabled interfaces needs batmand restart
by Freifunk Dresden
Hello again,
I'm running batman-experimental rev1023. Batman is running with two interfaces, one for wifi and one for
backbone. The backbone interface is created by tincd a vpn deamon. If I have an active vpn connection
batman recognizes the nodes at the other end of this connection. When the connection dead because the client
has closed the vpn connection, batman is still working correctly.
The problem occurres when the client re-creates the vpn connection. Batman ignores the interface. the log does not
show incomming packages from the vpn-client. If I just restart batmand with the two interfaces, batman shows
the packets within seconds and the node is reachable.
Is there a way that the inactive interfaces are reactivated and used automatically?
/Stephan
14 years, 9 months
[B.A.T.M.A.N.] 0.3 final released
by Marek Lindner
Hello everybody,
after a long release cycle (almost one year) the B.A.T.M.A.N. team is proud to
announce the release of:
- batman 0.3 stable
- vis server 0.3 stable
- batman advanced kernelland 0.1 beta
We used the Wireless Community Weekend 2008 in the c-Base to release our
newest version. Here are the main features in brief:
batman 0.3:
- TQ based routing algorith to overcome BATMAN III limitations
- policy routing (see: http://open-mesh.net/batman/doc/RoutingVodoo)
- policy routing script to fully control the routing table (see:
http://downloads.open-mesh.net/batman/useful-scripts-and-tools/policy_rou...)
- tunneling rewritten (only UDP based, blackhole detection and kernel module
batgat for performance boosting)
- parameters can be changed at runtime (routing_class, gateway_class, hna,
preferred gateway)
- routing_class support 4 different settings (see:
http://open-mesh.net/batman/doc/InternetTuning)
- interface watchdog (interfaces can be (de)activated dynamically)
- packet aggregation (experimental)
- official IANA port 4035 is used
- RFC draft published
batman advanced kernelland:
- layer 2 meshing based on BATMAN TQ algorithm in kernelland
- operates on any ethernet like interface
- supports IPv4, IPv6, DHCP, etc
- is controlled via /proc/net/bvatman-adv/
- bridging via brctl is supported
- interface watchdog (interfaces can be (de)activated dynamically)
- offers integrated vis server which meshes/syncs with other vis servers in
range
The latest version of batman layer 3 obsoletes batman 0.2 which is not
supported anymore. The current version (batman 0.3) is the stable version
from now on. Even though a version 0.4 might emerge we will continue
supporting 0.3 for a long time period with security fixes and stability
patches.
Download our code and have fun ! :-)
Greetings,
Marek
14 years, 9 months
[B.A.T.M.A.N.] Multiple radios to improve throughput
by Shane Chao
Hello,
I have a 3 node mesh network with layout as follows:
node #1 node #2 node #3
192.168.2.1 192.168.2.5 192.168.2.9
Each node has only one radio and #1 talks to #3 via #2 and vice versa.
If I want to improve the throughput between #1 and #3, logically I would
add another radio to #2 so it can communicate to both #1 and #3
simultaneously w/o having the single radio switching back and forth
between #1 and #3.
However, I ran IPERF between #1 and #3 before and after adding the
second radio to node #2 and the bandwidth didn't really improve.
In my node #2 configuration, I did not bridge the two wifi interfaces so
I have ath0 and ath1 with their own IP addresses. All three nodes are
configured with the same channel. My batmand command line for node #2
is: batmand ath0 ath1.
Can anyone advise me on what I did wrong?
Thanks,
Shane
14 years, 9 months