Unable to set static IP
Posted: Wed Feb 22, 2017 3:13 pm
I am trying to configure ESP8266 with static IP but somehow the IP gateway is changing automatically to some invalid value.
IP configuration I want to set:
IP: 192.168.1.100
Mask: 255.255.255.0
GW: 192.168.1.254
But when I print the ip configuration I get back this:
IP: 192.168.1.100
Mask: 255.255.255.0
GW: 255.255.255.127
Can someone tell me or point me where things are going wrong? Is it that GW IP 192.168.1.254 is not allowed??
IP configuration I want to set:
IP: 192.168.1.100
Mask: 255.255.255.0
GW: 192.168.1.254
But when I print the ip configuration I get back this:
IP: 192.168.1.100
Mask: 255.255.255.0
GW: 255.255.255.127
Can someone tell me or point me where things are going wrong? Is it that GW IP 192.168.1.254 is not allowed??