I’m having difficulty routing traffic through a Q24Plus from a PPP over UART2 connection to a GPRS connection, and vice versa. At the moment I’m using the WIPSoft AT commands, but will write some code using the WIP Library further down the track.
My setup consists of:
A serial > ethernet device acting as a PPP server, connected to the Q24Plus via UART2. I can successfully create a PPP connection over the serial link, and ping devices on our office network, and they can ping back.
I can also create a GPRS connection from the Q24Plus and ping our server, and can ping the Q24Plus.
I can have both these bearers running at once, however it seems to get confused about how to route traffic, ie it will let me ping external servers on the internet (over GPRS) but not local computers (via the PPP connection), despite both bearers being started. Individually these bearers work perfectly though.
So my trouble lies in bringing these two connections together. Is there any way to route the traffic within the Q24Plus so data coming in on the GPRS connection is sent out through the PPP connection? Something similar to the routing table in Windows I guess. If there’s no built in feature for this, I assume I can implement this functionality in code using the WIP Library?
I’m sort of thinking aloud here, any comments or help would be great