[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 17:23:58 +0000 |
You're right. It was a typo.
Charles
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Sylvain Rochet
Sent: Tuesday, April 08, 2014 1:31 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 04:19:12PM +0000, address@hidden wrote:
> 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.
I assumed the netmask was 255.255.0.0 (default for 192.168.0.0/16
subnets) because it was not specified.
What about 192.168.0.106 you told before ?
Is it a miswritten 192.168.1.106 ?
> Any problem with the above settings?
It should works, but I am not a lwIP expert when used with IP forwarding
between multiple interfaces, lwIP is not really designed to act as an IP router.
Sylvain