From: "Alexander A. Filippov" <a.filippov@yadro.com>
To: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Cc: "Alexander A. Filippov" <a.filippov@yadro.com>,
<openbmc@lists.ozlabs.org>
Subject: Re: Proposal to Sync BMC's MAC Address to U-Boot environment
Date: Wed, 28 Nov 2018 16:27:46 +0300 [thread overview]
Message-ID: <20181128132746.GA6426@bbwork.lan> (raw)
In-Reply-To: <5066d994-22c9-d2a5-3723-b654577f5c75@linux.vnet.ibm.com>
On Wed, Nov 28, 2018 at 06:03:37PM +0530, Ratan Gupta wrote:
>
> On 28/11/18 2:50 PM, Alexander A. Filippov wrote:
> > On Wed, Nov 28, 2018 at 11:05:32AM +0530, Ratan Gupta wrote:
> > > Hi Alexander,
> > >
> > > We only restart the systemd-networkd during change of macAddress, if the
> > > interface is DHCP Enabled.BMC should get new IP from the DHCP server if the
> > > mac address has got changed. Do you still see a issue?
> > Yes, and because by default is used DHCP and MAC address is randomly generated,
> > it happens always at first boot or after resetting to the manufactured settings.
> Do you mean to say that we shouldn't restart the systemd-networkd even mac
> address is getting changed? I think we should get the new IP as the mac
> address is changed.
Sure, I understand that we can't change MAC address without a restart of
the network interface.
But I think there are too many these restarts.
It happens when the default config for the network interface was generated,
then after MAC address was changed...
Time to time I see other restarts depended by some actions in ipmi.
I'm not sure what is it. It's maybe our internal stuff.
And second thing, why we want to move the changing of the MAC address to
the u-boot - it's the possibility to receive the valid IP address from DHCP
at early stages.
> >
> > > It would be nice if you can publish your idea also.
> > >
> > https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/16245
> Sure, thx would go through this change.
> > > --
> > > Regards
> > > Ratan Gupta
> > >
> > --
> > Cheers,
> > Alexander
> >
>
--
Cheers,
Alexander
prev parent reply other threads:[~2018-11-28 13:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-27 10:58 Proposal to Sync BMC's MAC Address to U-Boot environment Nagaraju Goruganti
2018-11-27 13:04 ` Alexander A. Filippov
2018-11-28 5:35 ` Ratan Gupta
2018-11-28 9:19 ` Alexander A. Filippov
2018-11-28 12:33 ` Ratan Gupta
2018-11-28 13:27 ` Alexander A. Filippov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181128132746.GA6426@bbwork.lan \
--to=a.filippov@yadro.com \
--cc=openbmc@lists.ozlabs.org \
--cc=ratagupt@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.