Chat freely about anything...

User avatar
By Miquel
#30869 Hi !
I have a ESP 8266 working in AP mode (CWMODE=2 or 3), and I have two devices connected:
AT+CWLIF
192.168.4.3,38:aa:3c:ef:a5:e6
192.168.4.2,00:13:02:90:36:8d

OK

Up to this point ok.
But when I try a 'ping' from 192.168.4.3 to 192.168.4.2 and/or vice versa, it does not work. The 'ping' time expires.
If the ping is over the ESP8266 (192.168.4.1) then it works well.
It is as if the esp8266 not route the data packets.
Somebody knows why?.
Thanks

(Google translate) ;-)
User avatar
By kolban
#30879 Howdy Martin,
This is a great conversation. If I have two stations connected to an ESP8266 that is acting as an Access Point, what permutations can I do?

Let us assume a topology has an ESP8266 as an AP ... lets call it "ESP1".

Now I have two stations S1 and S2 connected to ESP1.

I think you are saying that S1 and S2 can not form IP connections between each other.

I am presuming that both S1 and S2 and form IP connections to ESP1.

Now let us go further and and assume that ESP1 is BOTH a Station to another access point (AP1) and is also an access point to S1 and S2. If S3 is also connected to AP1 ... can S1 and S2 form an IP connection to S3? From what you are saying, I think not.

(apologies for all the names S1, S2, S3, AP1 and ESP1).
User avatar
By martinayotte
#30880 Hi Kolban,
I don't understand what the second example would differ because the AP1 is in STA+AP mode, since its STA link isn't described here. Of course, this link can be with an external Wifi Router to get Internet on AP1.
But that doesn't change the fact that S1,S2 and S3 can only communicate with AP1, they cannot communicate each other.
The only way to have such thing would be to have low level packets re-routing, which the current SDK and/or Espressif chip don't offer.