Bug 208563 - After detaching the HDD from the machine, DHCP starts requesting every possible address available.
Summary: After detaching the HDD from the machine, DHCP starts requesting every possib...
Status: RESOLVED INVALID
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 10:24 UTC by Nicolas Vaccari
Modified: 2020-07-15 22:12 UTC (History)
0 users

See Also:
Kernel Version: 4.19.0-9-amd64
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Router DHCP Page (84.68 KB, image/png)
2020-07-15 10:24 UTC, Nicolas Vaccari
Details

Description Nicolas Vaccari 2020-07-15 10:24:34 UTC
Created attachment 290289 [details]
Router DHCP Page

Hello everyone.

Yesterday i shutdown my NAS which hosts the VMS HDD, without shutting the VMS down (forgot).
Today, i woke up with my wifi unable to give my phone a ip on the network.
Same happened for my computer, and all the other devices which had to connect.

After logging in to my router, i discovered that the 3 VMS (Debian 10.4), requested all the available ip address through their DHCP client.

All 3 VMS did exactly the same, probably when the DHCP offer ended, and it was time to renew it.

This completely crashed the network, making unavailable to everyone
Fortunately, my DHCP range is only half of the network, so i was able to recover it by using a static ip on my linux machine.

If in a bigger network, or company-network, this could have caused immense damage.

Notes:
- The 3 VMS are hosted on VMWARE ESXI 7.0, with k3s installed on each of them.
- Both ESXI and command-line "shutdown" were not able to shutdown the VMS.
- The NAS was holding their disks through iSCSI. 
- The NAS was shutdown around 3PM of yesterday.
- Network started malfunctioning around 2AM of today.
- The Network CIDR is 192.168.1.0/24, and the DHCP range is 192.168.1.2-192.168.1.99.
- The VMS names are: K3S-Master, K3S-Node1, K3S-Node2

The attachments show the IPs requested by the VMS, their console, and the router DHCP page.
Here is the imgur album with all the screenshots of the case: https://imgur.com/a/XThsBdz

I dont know to which field this is related, as i am not a Kernel expert.

Thanks in advance to everyone looking in to this.
Comment 1 Stephen Hemminger 2020-07-15 22:12:48 UTC
This bugzilla is for kernel bugs, not wider domain of Linux networking.
The issue here is from DHCP in userspace. Please address the issue with Debian or the associated upstream DHCP client.

Note You need to log in before you can comment on or make changes to this bug.