This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-TCPNet: Simultaneous PPP and ethernet interfaces

Hi,

I have a board that has both an ethernet interface and a GSM/GPRS-module. Currently I am using RL-TCPNet only for the ethernet interface. For the GSM-module I am using the embedded IP stack in the module, but for different reasons I am considering to use the PPP-interface of RL-TCPNet instead.

The docs state that this is indeed possible to do, but as far as I can see there are absolutely no provisions to (on runtime) decide which interface to use (which is kind of stupid).

In my application, I need to be able to decide which interface a specific TCP-connection should use, and given that the server(s) I need to connect to is on a different subnet from both of the ethernet and PPP-interface, RL-TCPNet will always just dump the packets to the default gateway. It is possible to statically configure RL-TCPNet to use the default gateway on either ethernet or PPP, but that doesn't help me the slightest.

There are no provisions for static routes either, so basically RL-TCPNet is useless with multiple interfaces, in my opinion.

Has anyone found a solution/workaround to this problem (other than just dumping RL-TCPNet entirely)?

Best regards
-Øyvind

0