When copying large files using SMB, the connection gets suddenly lost and the source computer gets a self-assigned IP address. How is that theoretically possible?
Greetings,
This is an issue I can reproduce at will and I can't understand the “reasoning”.
I have a 2008 Mac Pro and a 2020 Mac Mini both connected to a small switch with Ethernet. This switch is connected to my modem.
From the Mac Mini, I connect to a share at the Mac Pro, which contains 11 files of more than 2 GB in size. I attempt to copy any of these files to my Mac mini; the Finder starts copying and, at a random progress, stalls. Then I see the floating window telling the connection to the server has been interrupted (a “standard”, well-known window, but my OS not being set to English, I can't tell the exact phrasing) and the Finder eventually aborts the copy with an error code (The operation could not be completed because an unexpected error occurred - error code 100060).
At this point, I can't ping anything from the Mac Pro and Ethernet 1 (the Mac Pro's connected port) has a self-assigned address. Renewing the DHCP lease or unplugging and plugging the cable again has no effect.
Then I plug the cable to Ethernet 2 (this Mac Pro having 2 ports) and it gets a valid IP again. I can once more go to the mac mini and connect to the Mac Pro. But if I try again to copy any such big file, the same goes for Ethernet 2, which loses its valid address.
I only have two apparent fixes at this point: either restart the Mac Pro or define an IP address manually (yes, this method works, oddly).
Transmitting the files isn't a problem, though: I'll use an external hard disk. My question is rather theoretical: how is it possible that copying large files (i.e. a big stream of data) makes an Ethernet port losing its valid IP address, replaced by a self-assigned one, and not being able to query a new DHCP lease at that point? Has the port been “deactivated” (by hardware?) in some ways?
I'm a self-taught person who'd like to understand this issue in more depth.
Thanks in advance.