Sujet : Re: I never thought of this scenario
De : mm+usenet-es (at) *nospam* dorfdsl.de (Marco Moock)
Groupes : comp.os.linux.miscDate : 07. Apr 2024, 14:57:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uuu8op$2op02$1@dont-email.me>
References : 1
On 07.04.2024 um 10:45 Uhr The Natural Philosopher wrote:
I decided on a quiet breezy Sunday morning, to upgrade my routers
firmware. Which required a router reboot.
So it lost all its DHCP tables.
Normal.
I then restarted a piece of kit I am working on, and it popped up in
the first available DHCP slot.
My question is, if that had already been occupied by another piece of
kit, would I have ended up with an IP address clash?
2 parties can do duplicate address detection (DHCP server and the
client). None of them did.
It seems to me that checking for conflicts only happens at lease
start or lease renewal times?
When a device requests a lease, the DHCP server should check the address
with an ARP/NDP request.
The client should do that too. For IPv6, this is mandatory.
-- kind regardsMarcoSend spam to 1712479539muell@cartoonies.org