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

maintain() function never requests new IP #2

Open
rainerfritz opened this issue Oct 5, 2022 · 3 comments
Open

maintain() function never requests new IP #2

rainerfritz opened this issue Oct 5, 2022 · 3 comments

Comments

@rainerfritz
Copy link

Hi !

I am using the EthernetClass::maintain() function and when I set the DHCP lease time on my router (DHCP Server) to for example 1 hour and let it run for a couple of hours, it gets never a new IP.

Any help is much appreciated.

@HAO156
Copy link

HAO156 commented Oct 8, 2022

Hi rainerfritz. Could you please provide your test code? so that we can reproduce the problem better.

@HAO156
Copy link

HAO156 commented Oct 8, 2022

Hello rainerfritz:

I have verified and set the DHCP lease time to 1 minute.
During the test, my DHCP recycles the same IP every time.

Changed the starting position of the address pool to 192.168.1.150 ~ 192.168.1.199 on DHCP Server.
At this time, the RAK13800 also obtained a new IP address 192.186.1.150.

image

Therefore, I think that the IP address has not changed because the DHCP server reassigned the same address as the last one.

@rainerfritz
Copy link
Author

Hi!

Thx for the fast response! I will recheck, but mine says always no action needed.

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