Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit ebcf931a7e6ad0010c63ee083e1bbc424d67c71b Author: Marek Lindner mareklindner@neomailbox.ch Date: Sun May 31 17:54:50 2009 +0000
doc: batmand/AnnouncingNetworks
ebcf931a7e6ad0010c63ee083e1bbc424d67c71b batmand/AnnouncingNetworks.textile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
diff --git a/batmand/AnnouncingNetworks.textile b/batmand/AnnouncingNetworks.textile new file mode 100644 index 00000000..3fc16d3f --- /dev/null +++ b/batmand/AnnouncingNetworks.textile @@ -0,0 +1,22 @@ +'''Announcing networks''' + +Under certain circumstances its desirable to make non-batman hosts (such as servers, subnets, other routing domains or simple notebooks) known to the batman network. Batman can announce these network addresses (also known as HNA) which tells every other batman node to send the data for this network segment back to the announcing host (assuming this host knows how to reach the destination). + +All following examples can also be applied as startup parameters. For the sake of simplicity we assume there is a running batman daemon on the system that we can connect to. + +Adding the announcement for e.g. the local network: +batmand -c -a 192.168.1.0/24 + +Adding multiple announcements in one go: +batmand -c -a 192.168.1.0/24 -a 192.168.100.123/32 + +Removing an announcement: +batmand -c -A 192.168.1.0/24 + +Removing multiple announcements in one go: +batmand -c -A 192.168.1.0/24 -A 192.168.100.123/32 + +It is worth noting that globally announced networks always give precendece to locally announced networks. + +Batman 0.3.2 (and later versions) allow multiple nodes to announce the same network segment. You may have one non-batman network but several entry points to it. All border nodes can announce the same network. Receiving batman nodes choose their entry point based on the best TQ value available. +