Skip to contentSkip to conversation

Current situation about IPv6

DISCUSSION Spencer Ku (古世瑜) 1 participant 1 message Aug 7, 2020

lore
Share & tools
lore
#0 lore raw

Hi Teams,
I am interesting about what is the current situation about IPv6.
Now I am trying to use ipmi command to get/set IPv6 settings, but I cannot get current result.
For example, ipmi command will response empty IPv6 address to me even if my environment is already having IPv6 address.

After that, I find a mail which is discussing about the IPv6 setting. And here is part of description from mail:

Ø Currently phosphor-networkd doesn't support SLAAC(DHCPV6, Router advertised address)

Does it mean that I need to set a special network environment without SLAAC and that can let IPv6 ipmi command work normally?

Thank you.

Sincerely,
Spencer

Hi David,

Quoted 8 lines · David Wang (王振宇)

Hi all,
I want to set DHCPv6 to enable by default in my BMC.
That is, I can delete /etc/systemd/network/00-bmc-eth*.network and reboot and still have DHCPv6 reachable.

But I notice that IPv6AcceptRA is disabled in phosphor-network in order not to handle the ipv6 routing advertisement message periodically.
See: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-networkd/+/8361

Currently phosphor-networkd doesn't support SLAAC(DHCPV6, Router advertised address).

Quoted 2 lines

Why we need to avoid handling RA periodically?

If you have bad router configured in network which keeps sending the routing prefix frequently, phopshor-networkd frequently refreshing its D-bus objects.It can be fixed as ignore the refreshing of the Dbus objects if there is a D-bus object entry for the given IP address.

Quoted 3 lines

Does it cause any bad effect?
If I want to keep the acceptance RA, how should I configure it? Or should I just patch "IPv6AcceptRA=true" in phosphor-network of my BMC?

If we fix the behavior as suggested above there should not be a problem.

Quoted 5 lines

Thank you,

Regards,
David