<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Hi Dave,</div>
<div dir="ltr" > </div>
<div dir="ltr" >We have enabled the link local address auto configuration,thats why you are noticing the link local address,</div>
<div dir="ltr" >But as a side effect of this,you should not notice this problem that the DHCP IP has not get assigned to the</div>
<div dir="ltr" >BMC.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Please try the "ip addr show dev eth0" instead of ifconfig.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Now days kernel supports ip aliasing where a single interface can have multiple ip adress,so on a intterface you may see link local address</div>
<div dir="ltr" >as well as DHCP assigned/Static Assigned IP address.</div>
<div dir="ltr" > </div>
<div dir="ltr" >I have tried on our setup and it is working fine.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Regards</div>
<div dir="ltr" >Ratan</div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Patrick Venture <venture@google.com><br>Sent by: "openbmc" <openbmc-bounces+ratagupt=in.ibm.com@lists.ozlabs.org><br>To: Dave Cobbley <david.j.cobbley@linux.intel.com><br>Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org><br>Subject: Re: phoshor-network manager daemon + IPMI<br>Date: Mon, Oct 23, 2017 11:59 PM<br>
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >On Mon, Oct 23, 2017 at 10:18 AM, Dave Cobbley<br><david.j.cobbley@linux.intel.com> wrote:<br>> I have been digging into the network manager as well.<br>> The link local problem has been popping up on our systems as well.<br>><br>> I'm not sure why linklocaladdress causes our systems to get the 169.XX IP<br>> Address.<br>> I suspect is has something to do with the way our DHCP servers are setup on<br>> the network, systemd-networkd is not recognizing that we do in fact get an<br>> IP from DHCP.<br>><br>> I'm assuming engineers at IBM are not seeing this behavior since the patch<br>> was accepted (please correct me if I'm wrong).<br>> Therefore this is more likely not a bug in systemd, but something strange<br>> with the configuration of network infrastructure.<br>> Either way, root cause needs to be identified.<br>><br>> To work around it, simply delete the line linklocaladdress=xxxx from<br>> /etc/systemd/networkd/00-bmc-ethx.network<br><br>I ended up updating the default configuration file writer to not set<br>that, then found that once it had DHCP=yes in it, it also would crash<br>on attempt to delete (from the exception it raises when you try)<br><br>><br>> Let me know if you make any more observations about the strange behavior (it<br>> would be nice to get past this issue).<br>><br>> Thanks,<br>> -Dave Cobbley<br>><br>><br>> On 10/23/2017 07:48 AM, Patrick Venture wrote:<br>><br>>> I'm curious if anyone has experience using the phosphor-network<br>>> manager daemon. I've run into some oddities using it for instance, if<br>>> you don't configure anything it sets up both links as LinkLocal and<br>>> enables DHCP, etc -- and then even if DHCP fails, it doesn't update it<br>>> (although it's aware of the failure) -- and when I then go to set the<br>>> IP address over IPMI to a static IP, I run the two lan channel set<br>>> commands which work (because they just set the object contents) --<br>>> when i call "access on" over IPMI, it tries to delete all the dbus<br>>> objects for the network, which fail because of checks in the network<br>>> daemon that prevent this, which causes the network daemon to crash.<br>>><br>>> Ultimately I'm going to enable the host ipmi daemon to support<br>>> multiple channels -- the trick is then to map the channel to an<br>>> ethernet device... Some patches will be send up today to reviewing<br>>> this type of change.<br>>><br>>> I'm going through the uses cases now trying to get it working, and<br>>> just curious what I should be doing to get it to work.<br>>><br>>> Also of note, when I set the MAC address -- which works :), it doesn't<br>>> update the configuration for the systemd network file with that<br>>> information -- I'll be sending a patch for that today -- but I was<br>>> curious if that was deliberate, etc.<br>>><br>>> Thanks,<br>>> Patrick<br>><br>></font><br> </div></blockquote>
<div dir="ltr" > </div></div><BR>