net/ncsi: BMC gets incorrect ipv6 link-local address

Joel Stanley joel at jms.id.au
Sat Sep 7 05:41:39 AEST 2019


On Wed, 4 Sep 2019 at 21:34, Tao Ren <taoren at fb.com> wrote:

> I enabled NCSI_OEM_CMD_GET_MAC on my Yamp BMC to update BMC's MAC address while bringing up eth0, but I notice BMC's ipv6-link-local address may be derived from the old MAC address, which leads to DHCP failure when DHCPv6 server assigns IP based on ipv6 link local address.
>
> Currently I workaround the issue by restarting BMC's eth0 interface (which refreshes ipv6 link local address based on the new MAC), but I'm looking for an "official" fix. For example, shall we notify network layer when BMC MAC address is updated?

Tao and I had a look through the code and couldn't find an obvious
call that we should change. The NCSI layer appears to be doing the
correct thing.

I think the next step is to bring this up on the netdev mailing list.

Cheers,

Joel


More information about the openbmc mailing list