Hello,
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?
In DTN2 conf file I set up a ALWAYSON link to a multicast address (224.0.0.1):
link add virtual 224.0.0.1 ALWAYSON null
And in the discovery part of conf. file I add two lines for actually making the discovery:
discovery add middle ip local_addr=10.0.0.1 port=36911 addr=10.0.0.10 unicast=true discovery announce virtual middle tcp cl_addr=10.0.0.1 cl_port=4556 interval=1
Thanks in advance!
Hi!
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?
In fact, IBR-DTN supports the DTN2 discovery format. However, IBR-DTN by default uses discoveries compliant to the the IP-ND internet draft.
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:
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!
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?
In fact, IBR-DTN supports the DTN2 discovery format. However, IBR-DTN by default uses discoveries compliant to the the IP-ND internet draft.
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
Just found it.
At /usr/share/ibrdtn/build-config.sh it's necessary to add a line next to the discovery parameters declaration.
I just added: add_param $CONFFILE "ibrdtn.discovery.version" "discovery_version"
And in the /etc/config/ibrdtn I added "option version 0" at discovery section.
I think it's interesting to add this config. option as default in future releases of ibrdtn for openwrt.
On Thu, Nov 24, 2011 at 1:40 PM, Daniel Costa amazondani@gmail.com wrote:
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!
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?
In fact, IBR-DTN supports the DTN2 discovery format. However, IBR-DTN by default uses discoveries compliant to the the IP-ND internet draft.
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
Am 24.11.2011 18:53, schrieb Daniel Costa:
I think it's interesting to add this config. option as default in future releases of ibrdtn for openwrt.
Correct! I added it to our development repository and the change will appear in the next release. :-)
Thanks! Johannes
participants (3)
-
Daniel Costa
-
Johannes Morgenroth
-
Wolf-Bastian Pöttner