Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible dhcp bug #542

Open
rew1ndustry opened this issue Oct 25, 2024 · 2 comments
Open

possible dhcp bug #542

rew1ndustry opened this issue Oct 25, 2024 · 2 comments

Comments

@rew1ndustry
Copy link

CMD>show dhcp
DHCP table:
50:02:91:df:3d:04 - 192.168.10.2 - 119
b8:f6:b1:19:58:57 - 192.168.10.4 - 99846

the second device, on dot 4, has been out of range since yesterday, but this timeout will take years to count down, and is persistent even across reboots.

@hmueller01
Copy link
Contributor

Did you save your DHCP table (save dhcp at telnet prompt) while the device 192.168.10.4 was connected? ESP comes up with lease time 100000 after reboot if you saved it ...
If a device connects, the lease time gets set to 120.

BTW, I plan to open a PR to make the lease time changeable, as 2h is too short for my application (the device is offline during night). So it always gets a new IP and not the same. This is bad if you like to use the portmap feature.

@hmueller01
Copy link
Contributor

See #549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants