Just realized I replied to Shyam instead of the list. So here goes :
Hello Shyam,
These are my assumptions on your setup : Node A : local_uri = dtn://OpenWrt10 Node B : local_uri = dtn://OpenWrt20 Node C : local_uri = dtn://OpenWrt30
First you need to set the routing to default (might actually be none
instead of default) using :
routing = default
Then you need to add the routes manually :
- On node A :
static1_address = <address_of_node_B> static1_port = <port> static1_uri = <eid> (dtn://OpenWrt20 in your case) static1_proto = tcp static1_global = no
static2_address = <address_of_node_C> static2_port = <port> static2_uri = <eid> (dtn://OpenWrt30 in your case) static2_proto = tcp static2_global = no
Do the same for nodes B and C changing Addresses and EIDs when necessary.
Then add the routes :
- On node A:
route dtn://OpenWrt30 dtn://OpenWrt20
- On node C :
route dtn://OpenWrt10 dtn://OpenWrt20
Disclaimer : I am in no way affiliated to the IBR DTN developpers, use my
advice with caution. If I am wrong someone more knowledgeable will hopefully correct me.
Best Regards, Jawad
2014-02-24 15:12 GMT+01:00 Shyam B shyambs85@gmail.com:
Hi Sebastian/ Johannes,
I have three nodes (A, B, C) running ibr-dtn. I would like the packets
to be forwarded from A->B->C and C->B->A but never directly from A->C or vice-versa. How could I achieve this? I wonder if the static configuration can help me and if this can be setup via the configuration file? I couldn't find the answer to this in the forum.
In the configuration file, I see two parts relating to static
configurations:
# route all bundles for "~dtn://*.moon.dtn..." via "dtn://*..." route1 = ....
### node-five.dtn### static2_address = .... .....
- Could you tell me if this is possible to do?
- Could you give me an example of how to set this up?
- The static URI is ended with .dtn. Why is this necessary? The dtn
address on my nodes is like dtn://OpenWrt20, dtn://OpenWrt30, etc.
-- Best Regards, Shyam
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or
adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de
!! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.