-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address Origin "Static" populated for IPv6 addresses when DHCPv6 disabled #61
Comments
@wak-google @ratagupt can you please check this issue? |
I think we need to change this logic of assigning IP address Origin |
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? |
This commit adds support for ipv6 addresses on the hypervisor ethernet interfaces. It includes the following changes: [1] https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/54393 [2] ibm-openbmc#46 Tested By: [1] PATCH -d '{"DHCPv4": {"DHCPEnabled":false}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [2] PATCH -d '{"DHCPv4": {"DHCPEnabled":true}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [3] PATCH -d '{"DHCPv6": {"OperatingMode":"Enabled"}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [4] PATCH -d '{"DHCPv6": {"OperatingMode":"Disabled"}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [5] PATCH -d '{"IPv4StaticAddresses": [{"Address": "<>","SubnetMask": "<>","Gateway":"<>"}]}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 Signed-off-by: Asmitha Karunanithi <[email protected]>
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"
The text was updated successfully, but these errors were encountered: