I have been working with a water flow counter which sends data over wifi. I'm using an ESP8266 wifi module. Everything is correctly connected and I've gotten to the point where it's correctly connected to the wifi network and everything, except when I try to ping its IP adress from the cmd ( it times out.

I know this info has something to do: I have read it's something about my ipv4 not being in the 192.168... range. But i'm not sure if that's the issue or if so, how to fix it.

I should state that the network is my company's and not my home wi-fi so I would not be able to change the network's IP adress (Maybe if it's really necessary I could speak to the network manager). Would the solution be to match the ESP8266's IP adress to the range of that of the network?) (192.192...)

ESP2866 Module IP adress: My IPV4 Adress is: Subnet mask: DNS servers: Default gateway:

  • 1
    The ESP8266 is in one subnet and your PC in another is the routing between these networks functional?
    – MatsK
    Commented Jul 12, 2018 at 9:21
  • They have the same subnet mask: I recently changed the module's IP adress to the same of the computer. I don't know how this is not creating any conflict. Now if y try to ping from the cmd it does respond, but Idon't know if it's the computer or the module the one responding as they now have the same IP adress: Commented Jul 12, 2018 at 10:25
  • 1
    iot.stackexchange.com/q/2409/14 Commented Jul 12, 2018 at 11:05
  • So, should I forward a port on my router as well? Commented Jul 12, 2018 at 13:13

1 Answer 1

4 is the value that determines the SIZE of the subnet.

192.168.1.xxx with the subnet mask is a subnet spanning from to

192.168.10.xxx with the subnet mask is a subnet spanning from to

A router is needed for transporting IP from one subnet to another. Ref. https://en.wikipedia.org/wiki/Router_(computing)

All devices in the subnet MUST have a unique IP & MAC address!

Cisco has a good "IP Addressing and Subnetting for New Users"


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.