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

Tao Ren taoren at fb.com
Sat Sep 7 07:13:50 AEST 2019


On 9/6/19 12:41 PM, Joel Stanley wrote:
> 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

Thank you Joel. I will post the question to netdev list later.


Cheers,

Tao


More information about the openbmc mailing list