Remove IPv4 Linklocal address when interface has static IP

This commit removes IPv4 linklocal IP when ethernet interface already
has routable ip address assigned on the interface.

Keeping linklocal ip address along with static ip addresses causing
network routing issues.

systemd-networkd must drop linklocal IP when interface has routable
static IP address, but currently its not implemented.
Here is systemd issue systemd/systemd#25424

Tested By:
Verified both interfaces in different static subnets
Change-Id: I908cde6e695a0c72fdf80b706150ee3d654e5e42
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
3 files changed
tree: c7534a4aab2618c38f788ffb6f36de2a3063eb23
  1. docs/
  2. gen/
  3. src/
  4. subprojects/
  5. test/
  6. yaml/
  7. .clang-format
  8. .clang-tidy
  9. .gitignore
  10. .shellcheck
  11. 60-phosphor-networkd-default.network.in
  12. LICENSE
  13. meson.build
  14. meson.options
  15. OWNERS
  16. README.md
  17. xyz.openbmc_project.Network.conf.in
  18. xyz.openbmc_project.Network.service.in
README.md

phosphor-networkd

To Build

To build this package, do the following steps:

1. meson build
2. ninja -C build