[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] I cannot get PPP-new IP forwarding and pppapi_set_defau

From: LMao
Subject: Re: [lwip-users] I cannot get PPP-new IP forwarding and pppapi_set_default() work
Date: Tue, 8 Apr 2014 16:19:12 +0000


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

Any problem with the above settings?


-----Original Message-----
From: address@hidden [mailto:address@hidden 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, address@hidden 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, 
> i.e., 0x3200a8c0) and one PPP port (IP, i.e., 
> 0x6901a8c0). For testing purpose, I connected the Ethernet port to a 
> PC (IP, i.e., 0xd300a8c0) and connected the PPP port to 
> a Linux PPP server's PPP port(IP, i.e., 0x6a01a8c0). PPP 
> connection has been successfully built up. From my PC, I can ping my 
> gateway's PPP port ( but I couldn't ping PPP server 
> ( 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 

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]