Did you use: netif_set_default(), specifying the PPP interface? For some reason you can't negotiate the netmask in lwip PPP, so you have to use that function.
Sent from my iPhone > On May 13, 2015, at 1:59 AM, Sylvain Rochet <[email protected]> wrote: > > Hello Damien, > >> On Tue, May 12, 2015 at 11:33:23PM +0000, COOKE, Damien wrote: >> >> We have a system that we are using lwip for our tcp engine. It is a >> system without an OS running on ARMV9 hardware. It has a tcp >> connection to a server and a ppp connection to a peripheral client >> device. The tcp connection to the server is faultless and the PPP >> connection comes up fine we can see ping packets between the client >> and the system over the ppp connection but we are unable to send >> packets over the ppp connection. I suspect a routing issue and was >> wondering if anyone else had seen something like this and if someone >> could guide me as to where I should be looking to find my issues? > > Which lwIP version are you using ? > > Which PPP link protocol are you using ? PPPoS ? PPPoE ? PPPoL2TP ? > > Are you trying to do SNAT ? lwIP doesn't support NAT at all. > > Is LwIP IP routing enabled ? > > Note that IP routing between Ethernet and PPPoS was recently fixed in > git master head. > > Sylvain > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
