On Sat, Aug 02, 2014 at 11:51:33PM +0900, Baptiste Jonglez wrote:
> 2/ "tunlink" does not seem to work for anything else than "wan".  When
>    trying to set it to "lan" (which is properly defined in the network
>    config), the tunnel is not created.  There is no error in readlog.

After some debugging, it seems to be caused by this call:

  proto_add_host_dependency "$cfg" "0.0.0.0" "$tunlink"


If I understand this correctly, the script expects to find a default route
through the interface specified by "tunlink".  

Wouldn't it make more sense to depend on "$peeraddr" instead?  In my
use-case, the other end of the GRE tunnel is not necessarily reached
through the default route.

Thanks,
Baptiste

Attachment: pgp2hTE7KggMw.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to