Chat freely about anything...

User avatar
By dibrony
#81684 Hi all,

I wrote a small sketch that is working perfectly once connected to the internet.
However, in order to have a static IP, I used the WiFi.config(ip, subnet, gateway) method, choosing below values:
IP within the range (192.168.100.13)
subnet same as the router (255.255.255.0)
gateway same as the router (192.168.100.1)

The problem is when using this method, i am not able anymore to connect to the internet, I got connection fail...

What did I do wrong ? Any advice ?

Thanks
Rony
User avatar
By btidey
#81688 If you have access to router then I would choose to use static dhcp set up in the router rather than fix ip addresses in the devices. That way you get central control of the ip addresses and avoid any potential conflicts.