Open raviteja-b opened 1 year ago
@wak-google @ratagupt can you please check this issue?
I think we need to change this logic of assigning IP address Origin https://github.com/openbmc/phosphor-networkd/blob/master/src/ethernet_interface.cpp#L169
Yes, we need to better handle the origin and this is something on my wishlist
https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/61997 fixes this. @wak-google @ratagupt Can you please check this commit?
Enabled DHCPv6 and noticed DHCPv6 address assignment works fine and after disabling DHCPv6 noticed that there is a dynamic IPv6 address(SLAAC) and networkd marks this address origin as "Static"
busctl get-property xyz.openbmc_project.Network /xyz/openbmc_project/network/eth1/ipv6/55d37675 xyz.openbmc_project.Network.IP Origin s "xyz.openbmc_project.Network.IP.AddressOrigin.Static"