-->
Page 1 of 4

IP forwarding/routing intra network (it doesn't)

PostPosted: Mon Jan 12, 2015 3:46 pm
by tz1
Here's something simple that it doesn't do as far as I know.
Start up the ESP8266 as an AP.
Connect to it from 2 devices.
The 2 devices can't see each other, but with any usual wifi router it would pass IP packets from one connection to the other.

Can this be made to work? I have a device that can't act as an AP that I'd like to connect with an Android tablet, and this would be all that would be required.

Re: IP forwarding/routing intra network (it doesn't)

PostPosted: Mon Jan 12, 2015 9:34 pm
by wizhippo
You would have to recompile lwip with forwarding enabled.

Re: IP forwarding/routing intra network (it doesn't)

PostPosted: Mon Jan 12, 2015 10:34 pm
by tz1
wizhippo wrote:You would have to recompile lwip with forwarding enabled.

lwip? I've just started with the SDK. How would I do this?

Re: IP forwarding/routing intra network (it doesn't)

PostPosted: Sun Feb 01, 2015 10:05 pm
by kerpz
@lwipopts.h

#ifndef IP_FORWARD
#define IP_FORWARD 1
#endif