Just found it.
Thank You Bastian for the Help!My last question is how I can write the option discovery_version = 0 in openwrt's config file style?Thanks,Daniel.
On Thu, Nov 24, 2011 at 4:27 AM, Wolf-Bastian Pöttner <poettner@ibr.cs.tu-bs.de> wrote:Hi!
In fact, IBR-DTN supports the DTN2 discovery format. However, IBR-DTN by default uses discoveries compliant to the the IP-ND internet draft.
> I'm trying to make a DTN2 and a IBR-DTN nodes discover each other automatically but I'm having a hard time. Does the discovery of IBR-DTN nodes only work with other IBR-DTN nodes? If not so, can some one provide an example of configuration?
For DTN2 and IBR-DTN to discover each other, you should add the following lines to the respective configuration files:
IBR-DTN:
discovery_version = 0
DTN2:
discovery add discovery_auto ip port=4551 addr=10.42.255.255
discovery announce tcp_announce_cl discovery_auto tcp interval=1
Whereas the "addr" should be the broadcast address of the respective network interface.
Bastian
Am 23.11.2011 um 21:06 schrieb Daniel Costa:
--
Wolf-Bastian Pöttner Institut für Betriebssysteme & Rechnerverbund
Tel.: +49-531-391-3265 Mühlenpfordtstrasse 23
Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig
--
------------------------------------------------------------
Daniel da Costa Bittencourt
Bacharel em Ciência da Computação
dcb@dcc.ufam.edu.br
------------------------------------------------------------