]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
dhcpcd: remove advertisement of addresses
authorRoy Marples <roy@marples.name>
Fri, 4 Oct 2024 15:36:01 +0000 (15:36 +0000)
committerRoy Marples <roy@marples.name>
Fri, 4 Oct 2024 15:36:01 +0000 (15:36 +0000)
commitacbac1216988cbb13db8456b621a0b84465471e3
tree3e0c19d573c2cb8739d2cab3dab268c6861f774a
parentdcef5d9bca3310e3f16be4d602fe7e13555b2b9c
dhcpcd: remove advertisement of addresses

Address advertisemnt was used to allow IP address sharing to work.
It also required the DHCP server to allow the same IP for many
hosts, which modern DHCP servers deny you from doing.
Lastly, there are niggles with the implementation that are
impossible to fully fix due to how the various protocols work,
especially ARP.

All platforms dhcpcd supports allow better ways of doing this,
such as bonding (Linux), trunk(4) (OpenBSD), lagg(4) (Other BSDs).

ARP advertisements will only be made when addresses are added
OR defended against for kernels without RFC 5227 support.
src/arp.c
src/dhcp.c
src/dhcp6.c
src/ipv4.c
src/ipv4ll.c
src/ipv6.c
src/ipv6.h
src/ipv6nd.c