Skip to main content
1 of 3

Static ip for esp8266 based on gateway

im new to Arduino programming.i want to make my esp8266 get static ip based on gateway.i mean if gateway is 192.168.0.1 then it should get 192.168.0.15 as static ip. And if gateway is 192.168.1.1 then it should get 192.168.1.15 as ip.please help me 😕