-->
Page 1 of 1

2 IP addresses from DHCP?

PostPosted: Fri Apr 03, 2015 2:11 pm
by shuntera
I just received my ESP-01 and hooked it up to my Arduino UNO, got them chatting and started trying out the AT commands.

All went well, but I was a bit confused when I used the AT+CIFSR
command to see what DHCP IP address my wireeless router had assigned.

There were two addresses:

192.168.4.1
192.168.0.74


The 74 address is within the DHCP range of my wireless router, but I don't know where the 4.1 address is coming from. Anyone have a clue?

Re: 2 IP addresses from DHCP?

PostPosted: Fri Apr 03, 2015 3:51 pm
by Dave S
192.168.4.1 is the default IP for the ESP8266 acting as and access point (AP).

Your module is configured as both a station (192.168.0.74) and an AP (192.168.4.1)

The ESP8266 SDK provides an API to change the default AP IP, but I have not seen this capability in the AT command set.