All of lore.kernel.org
 help / color / mirror / Atom feed
* net/ncsi: BMC gets incorrect ipv6 link-local address
@ 2019-09-04 21:33 Tao Ren
  2019-09-06 19:41 ` Joel Stanley
  0 siblings, 1 reply; 3+ messages in thread
From: Tao Ren @ 2019-09-04 21:33 UTC (permalink / raw)
  To: Samuel Mendoza-Jonas, Jeremy Kerr, OpenBMC Maillist

Hi,

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?


Thanks,

Tao

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: net/ncsi: BMC gets incorrect ipv6 link-local address
  2019-09-04 21:33 net/ncsi: BMC gets incorrect ipv6 link-local address Tao Ren
@ 2019-09-06 19:41 ` Joel Stanley
  2019-09-06 21:13   ` Tao Ren
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Stanley @ 2019-09-06 19:41 UTC (permalink / raw)
  To: Tao Ren; +Cc: Samuel Mendoza-Jonas, Jeremy Kerr, OpenBMC Maillist

On Wed, 4 Sep 2019 at 21:34, Tao Ren <taoren@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: net/ncsi: BMC gets incorrect ipv6 link-local address
  2019-09-06 19:41 ` Joel Stanley
@ 2019-09-06 21:13   ` Tao Ren
  0 siblings, 0 replies; 3+ messages in thread
From: Tao Ren @ 2019-09-06 21:13 UTC (permalink / raw)
  To: Joel Stanley; +Cc: Samuel Mendoza-Jonas, Jeremy Kerr, OpenBMC Maillist

On 9/6/19 12:41 PM, Joel Stanley wrote:
> On Wed, 4 Sep 2019 at 21:34, Tao Ren <taoren@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-06 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 21:33 net/ncsi: BMC gets incorrect ipv6 link-local address Tao Ren
2019-09-06 19:41 ` Joel Stanley
2019-09-06 21:13   ` Tao Ren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.