Skip to contentSkip to conversation

TTL-Interface specific

B.A.T.M.A.N. Freifunk Dresden 2 participants 2 messages Jul 21, 2007 – Jul 22, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

thanks for your explainations. Of cource I mean processes instead of "instances".
As setting up a TTL per interface and per command line you may extent the interface name like the following examble:
batmand eth1:32 bbs:2 bbc

which could mean to setup the eth1 with TTL 32, bbs with TTL 2 and bbc with the default TTL value.

Question: the olsrd allows to send a list of services (http,ftp) provided by the node. Is there a way to send such messages with batmand?

Regards
Stephan

#2 lore raw

Hello

Quoted 1 line · Freifunk Dresden

As setting up a TTL per interface and per command line you may extent

done!
can be tested from trunk/batman-experimental revision rv 479 available from e.g.:
http://downloads.open-mesh.net/batman/development/i386/batmand-exp_0.3-exp-current_i386-gc-elf-32-lsb-dynamic.tgz
or using:
svn co https://dev.open-mesh.net/svn/batman/trunk/batman-experimental

Quoted 2 lines

the interface name like the following examble:
batmand eth1:32 bbs:2 bbc

however, the ":" is reserved because it is used to differentiate alias interfaces from the physical interface name.
The (optional) syntax is now: /t number-of-ttl to be given behind the interface name. According to your example use:
batmand eth1 /t 32 bbs /t 2 bbc

Quoted 2 lines

which could mean to setup the eth1 with TTL 32, bbs with TTL 2 and bbc with the default TTL value.

You can also specify the default TTL value with -t like batmand -t 60 eth1 /t 32 bbs /t 2 bbc

ciao,
axel