Skip to content
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

Unable to restore IPv6 RA and DHCPv6 client via IPMI Set LAN Config #59

Open
Howitzer105mm opened this issue Dec 13, 2022 · 1 comment

Comments

@Howitzer105mm
Copy link
Contributor

There is a corner case in phosphor-network ethernet_interface.cpp.
The failure involves using IPMI commands to assign/deassign IPv6 static addresses.
Assigning a static address using ipmitool raw 0xc 1 0x38 0x80 .... succeeds in creating a static IP address, and turning off IPv6RA/DHCPv6Client.
Disabling the IP address using ipmitool raw 0xc 1 0x38 0x0 .... enables IPv6RA, but leaves DHCPv6Client=false.
Following up and enabling IPv6RA explicitly leaves the NIC w/o the DHCPv6Client assigned true.
ipmitool raw 0xc 1 3 0x40 3
The BMC reports that IPv6AcceptRA is asserted, and the network.config file agrees. However, because there is no explicit control over the DHCPv6Client, based on the desired state instead of some portion of the current state, the BMC never recovers a working DHCPv6 configuration that assigns a stateful v6 address.

@sunharis
Copy link
Contributor

sunharis commented Apr 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants