Chat freely about anything...

User avatar
By helpme
#20805 I want a SoftAP-enabled ESP8266 to be able to talk to a remote peer but the problem is that the ESP8266 does not know the IP address of the remote peer. If I can narrow the DHCP range of IPs to only one, I will be able to know the IP address of the remote peer. At any one time, only 1 DHCP client can connect to the SoftAP.

Can I narrow the range of IP addresses allocated by the DHCP server such that only 1 IP address can be allocated?
User avatar
By FlyingHacker
#20856 In theory that should work. Many DHCP servers allow static mapping of ips based on MAC addresses. So you can be sure the same MAC address always gets the same ip... If your router does not allow this perhaps run your own separate Linux DHCP server...
User avatar
By helpme
#20862
FlyingHacker wrote:In theory that should work. Many DHCP servers allow static mapping of ips based on MAC addresses. So you can be sure the same MAC address always gets the same ip... If your router does not allow this perhaps run your own separate Linux DHCP server...


Actually, I was asking if the DHCP server inside ESP8266 can do this, not my home router.