]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
IPv4: Remember if we advertised an address ip_share
authorRoy Marples <roy@marples.name>
Fri, 4 Oct 2024 08:16:59 +0000 (08:16 +0000)
committerRoy Marples <roy@marples.name>
Fri, 4 Oct 2024 08:16:59 +0000 (08:16 +0000)
commitb7a2020df50c291ef7830e0ad5a41e4e063af58a
tree6d693c031a5525cda67f37aaa036c4d5fce21324
parentdcef5d9bca3310e3f16be4d602fe7e13555b2b9c
IPv4: Remember if we advertised an address

Similar to IPv6.

However, this code will just live in this branch and go no futher
because it's not tennable. Modern DHCP servers won't let you
assign the same IP to different hardware addresses.
Some kernels announce ARP after a link flap giving a large window
where requests could goto a valid address but the wrong one.

What IP address sharing set out to achieve was a poor mans link
aggregation for OSs that lacked another way of doing it ....
Well, with NetBSD finally getting lagg(4), all supported OS's
now have this so there is no more need for it in dhcpcd.
src/arp.c
src/ipv4.c
src/ipv4.h
src/ipv6nd.c