Sylvain,

The Ethernet and PPP interfaces don't share the same subnet, actually they are 
in different subnet, i.e., Ethernet uses subnet 192.168.0.0 with netmask 
255.255.255.0 while PPP uses subnet 192.168.1.0 with netmask 255.255.255.0.

Any problem with the above settings?

Charles

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Sylvain Rochet
Sent: Tuesday, April 08, 2014 1:04 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] I cannot get PPP-new IP forwarding and 
pppapi_set_default() work

Hi Charles,

On Tue, Apr 08, 2014 at 03:55:29PM +0000, [email protected] wrote:
> Hi Sylvain,
> 
> Here's my scenario: 
> 
> I am developing a gateway between Ethernet and PPP using ppp-new 
> branch. The gateway device has one Ethernet port(IP 192.168.0.50, 
> i.e., 0x3200a8c0) and one PPP port (IP 192.168.1.105, i.e., 
> 0x6901a8c0). For testing purpose, I connected the Ethernet port to a 
> PC (IP 192.168.0.211, i.e., 0xd300a8c0) and connected the PPP port to 
> a Linux PPP server's PPP port(IP 192.168.1.106, i.e., 0x6a01a8c0). PPP 
> connection has been successfully built up. From my PC, I can ping my 
> gateway's PPP port (192.168.1.105) but I couldn't ping PPP server 
> (192.168.0.106). I am sure I have set PC routing correctly because the 
> ping packet can reach my gateway's serial port as the debug message 
> shows below. Here are the debug messages, the first part shows the 
> success of ping my gateway's PPP port while the second part shows the 
> failure of ping PPP server.

This setting looks wrong, lwIP does not support IP subnets shared by multiple 
interface.

But the PPP session is UP, which is a good news for me ;-)

Sylvain
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to