<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 11, 2022 at 9:19 AM Erez D <<a href="mailto:erez0001@gmail.com">erez0001@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The windows 169.25. ip is from APIPA and not from any DHCP server (ipconfig does not specify a dhcp server).<br>to be on the safe side I verified udp port 67 is unused on my mac (via netstat, fuser and socat)<br></div><div><br></div><div>what boggles me is why can't the window machine access the router and get an ip when the mac is sleeping<br></div><div><br></div><div>as the AP switch is layer 2, i would susspect the switch disables the windows machin for some reason,</div><div>e.g. it sees the same mac address from another port or detects abuse of somewhat from the windows eth port<br></div><div>however i do not understand how is this related to the mac sleeping<br><br></div><div>I thought the AP switch maybe defective but puting another GB switch instead causes the same results ...</div></div></blockquote><div><br></div><div>can you run tcpdump on your router? does it show the dhcp requests from your windows machine?<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>why do you thing HOMEGROUP is related ? it is a higher layer protocol when the problems seems to me on layer 2<br></div><div><br> </div><div>Thanks,</div><div>Erez<br></div><div><br></div><div><br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 11, 2022 at 8:36 AM <<a href="mailto:borissh1983@gmail.com" target="_blank">borissh1983@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Monday, 10 January 2022 19:30:55 IST Erez D wrote:<br>
> I've encountered a network problem<br>
> <br>
> i have a mac and a win10 machine connected to a 4 port Gbit wifi6 AP<br>
> (switch mode).<br>
> a third eth from the AP goes to the router which is also a DHCP server<br>
> <br>
> everything works well until the mac goes to sleep.<br>
> when the mac goes to sleep, the win10 machine looses it's ip address<br>
> which becomes a 169. address<br>
> <br>
> as soon as i wake the mac up, the win machine regain a valid 10.0.0.x ip<br>
> <br>
> i tried to replace the AP with a 4 port switch and got same results<br>
> <br>
> <br>
> any idea ?<br>
> <br>
<br>
IP in theĀ <a href="http://169.254.0.0/16" rel="noreferrer" target="_blank">169.254.0.0/16</a> range is related to bonjour protocol , it is a link local communication.<br>
<br>
your windows would move to a bonjur ip in many cases but most common that can happen if your machine has a bonjour service enabled and an Ethernet card with dhcp that can not get an ip from the router.<br>
<br>
1. Check if when the mac is running your windows machine got it's ip from the mac and not from the router. in some cases mac can have dhcpd running on it, if that is the case you should disable it if you do not need it.<br>
2. Check if homegroup is enabled on win10, if it is disable it (by version 1803 it is no longer active by default, but you could have hacked to enable it).<br>
<br>
<br>
</blockquote></div>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div></div>