KEA DHCP drops randomly DHCP lease to MacOS
-
Hello Community,
I experience since weeks a very strange behaviour, of my Mac regarding its DHCP lease (Static one). It drops randomly the DHCP lease for 1 -2 seconds, then interface comes up again, and works maybe a few mintutes or even less (pure randomly), and then the problem appears again.I have also ubuntu server running, its not dropping its DHCP lease.
I executed mac os maintainance for clearing chaches and DNS cache with Onyx, and it doesnt help, also resetting PRAM doesnt help.
Cables are OK.
Thanks you for reading, maybe someone has an idea why this happens and how to fix, Thank you
-
@TommyMoo you mean your interface goes down and back, that has nothing to do with the dhcp lease.. A lease is for a specific amount of time.. Default in pfsense I believe is 2 hours.. Then it would be renewed around the hour mark, it wouldn't drop the lease until it actually expires.
If your problem was lease related - it would happen when it expires, which would be at the interval of your lease, not randomly.
-
@johnpoz Hello ...yes, Interface goes suddenly up and down... very strange, as its not always the case...sometimes, no problem during hours, and then the game begins again, it gets IP from DHCP server, where I put this mac into static ip in Static Mappings ...MacOS is configured as DHCP client ...Thanks for reply
-
@TommyMoo could have a bad port, could have a bad cable? I had a weird issue recently where I had a switch port bouncing but it was a switch port connected to a poe port on a nvr.
I never really noticed it because it was so fast, and the only traffic going over that port was when viewing my video camera feeds, and it would only loose a few packets when it did so didn't really notice it when just viewing the feed.. But I was on the switch and noticed the up/down in the log of the switch.
Is it possible view logs on the switch port your mac is plugged into. You could try changing the cable/port.
Could be maybe traffic related? Something the port doesn't like - if your switch is smart, should have some logs you can look at for resets/errors/etc.
But an interface up/down wouldn't really have anything to do with dhcp - now if the lease actually expired there could be a blip in connectivity while it looses its IP and then does a discover and gets an IP again. But that wouldn't present as the physical interface going down/up etc. And it would be on a very specific schedule, ie when the lease actually expires on the client.
-
@johnpoz replaced cables, and confirm 100% they are OK. Its now stable, but I fear, it comes back..... will see and report, I disabled STATIC ARP, but more, cause trying to find out what might be the reason Thanks for your advices, apreciate your help. For now, it looks stable...
-
@TommyMoo static arp issue wouldn't present as up/down on the interface either..
What exactly error are you seeing when you have the problem? What is the specific error you see, is something logged when the issue happens either at the mac or the switch.. I don't have a mac to know how it presents interface going down..
Is the error your seeing the same error you see if you actually unplug the wire, or something else?
-
@johnpoz I will report and check out logs...also on my Mac, for now, interface acts stable... I dont do on my Mac Torrents downloading or magnet or stuff in the DarkWeb...mostly using just email and webservices and online tv on my Mac. But who knows, I often see in pfblocker up to 500 attacks per hour...on WAN Interface, my Gateway is Mullvad VPN over WireGuard, which nearly never gets attacked. But sure, that hasnt do to with my Mac Interface went down and up randomly, Thank you