Set up static routes in OpenWRT

Hi,
I want to set static connections from dtn://host2 to dtn://host4 and dtn://host5 in parallel and send file to dtn://host6 which is unreachable by all. What should I configure at the configuration file in OpenWRT? I have made the following but packets did not arrive to 4 and 5 respectively.
config 'daemon' 'main' # values: none | default | epidemic | flooding | prophet option routing default
# static routing rules # - a rule is a regex pattern # - format is <target-scheme> <routing-node>
# config 'static-route' # list pattern .... # option destination ....
config 'static-connection' option uri dtn://host4 option address 10.0.1.4 option port 4556 option protocol tcp option immediately yes
config 'static-connection' option uri dtn://host5 option address 10.0.1.5 option port 4556 option protocol tcp option immediately yes
I missed sth for sure, but what?
Best, Theodoros

Hello Theodoros.
Am 28.02.2014 18:21, schrieb Theodoros Bourchas:
I have made the following but packets did not arrive to 4 and 5 respectively.
Additionally to your settings you need to specify a route, "static-route" entries are used for that. At the moment, you only define static neighbors but there is no instruction to route data to them, except for direct delivery which is done by the "default" routing.
Kind regards, Johannes Morgenroth
participants (2)
-
Johannes Morgenroth
-
Theodoros Bourchas