My circuit ESP8266 connects to router wifi by fixed IP address.
That means we are not using DHCP client server to get any IP from router.
I see my device in router's wifi list but not in DHCP list OK fine.
I want unlimited or infinite connection time without any disconnection or
disturbance from router side may be for months because I am using it for data collection by my scada server.
Should I have to make any changes in lease time ? if the DHCP lease time any way related but I am not a DHCP client .
I donot see any thing for directly connected devices with static or fixed IP .My router is TL-WR 840N from TPlink. any advice please?
anikbarik:
My circuit ESP8266 connects to router wifi by fixed IP address.
That means we are not using DHCP client server to get any IP from router.
I see my device in router's wifi list but not in DHCP list OK fine.
I want unlimited or infinite connection time without any disconnection or
disturbance from router side may be for months because I am using it for data collection by my scada server.
Should I have to make any changes in lease time ? if the DHCP lease time any way related but I am not a DHCP client .
I donot see any thing for directly connected devices with static or fixed IP .My router is TL-WR 840N from TPlink. any advice please?
If you are using static IP, then there is no lease time for that. Your device will be connected for unlimited time. Just make sure that the router, connections, and the server should be always on if you want a 24/7 server. If you don't use DHCP, then you are good to go.
Tip: You should assign your fixed IPAddress outside your DHCP servers dynamic IP Range. This will prevent the DHCP server
from accidentially using your fixed address as a DHCP address.
ffur:
Tip: You should assign your fixed IPAddress outside your DHCP servers dynamic IP Range. This will prevent the DHCP server
from accidentially using your fixed address as a DHCP address.
Yes you are right.
@anikbarik I would say that to go to the DHCP settings of your router, and find the DHCP range. You should find two places for IP addresses. In the first place you need to input the lowermost IP address, and in the secondary place you need to input the highermost IP address in the range. Set your static IP address outside of this range. So it won't mistakenly set that to the DHCP IP address.
DHCP range is 100 to 199 and my IP is 91 . It is outside DHCP range. My doubt is sometimes my ESP is disconnected. Not I am trying to auto reconnect if disconnected. Thanks for answer for some friends.