<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I can't tell more about the IPoIB going down after networkd
restart without additional debugging info. But from the complains,
did you try removing the problematic keys (ipoib is part of
netdev, not network. network has no knowledge of the device type)?</p>
<p>Also are you sure <tt>80:00:02:08:fe:80:00:00:00:00:00:00:e4:1d:2d:03:00:6f:85:11
is the mac address? It is clearly more than 48 bits.<br>
</tt></p>
<div class="moz-cite-prefix">On 7/29/24 08:43, Chandler
Sobel-Sorenson wrote:<br>
</div>
<blockquote type="cite"
cite="mid:679330b5-1056-48bb-a7dc-b08c01c56367@genome.arizona.edu">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p> I'm quite frustrated having spent many hours and little
success, when things were perfectly fine before our backup
generator decided not to kick in and power surges ensued,
messing up all kinds of things stupid electrons. We have a
server that is a bit more important than the others, runs LDAP
and hosts our home directories, and runs the subnet manager for
an Infiniband network.</p>
<p> The main uplink is a 2x10gbe bond device, and there's a
local 1gbe 10-net interface/network, and an Infiniband with
IPoIB. The main issue is getting the IPoIB working. The bond
and its 2 links work fine after the machine boots, but whenever
I restart systemd-networkd, it becomes unreachable even though
there aren't any problems reported in the system logs and <tt>networkctl</tt>
reports it's still routable. The only thing I've figured to get
it reachable again is to reboot the system, so I'd like to
figure out the problem there because that shouldn't be
happening.</p>
<p> The IPoIB is driving me nuts, I read through all of
systemd.network and systemd.netdev docs, and it's somehow become
rogue and unmanaged when it used to be configured.
systemd-networkd keeps telling me about unknown keys and unknown
sections, even though they were all added in versions previous
to the current, which is:</p>
<p>systemd 252 (252.26-1~deb12u2) running on Debian 11 Linux
5.10.0-20-amd64<br>
</p>
<p>Below are the configs and messages from systemd. Hope you can
help.</p>
<tt># networkctl<br>
<u>IDX LINK TYPE OPERATIONAL SETUP </u><br>
<strike> 1 lo loopback <font color="#4eeb4e">carrier</font>
unmanaged</strike><br>
2 ens1f0 ether <font color="#4eeb4e">enslaved</font>
<font color="#4eeb4e">configured</font> </tt><--10gbe link 1<tt><br>
<strike> 3 enp4s0f0 ether off unmanaged</strike>
</tt><--not connected<br>
<tt> 4 ens1f1 ether <font color="#4eeb4e">enslaved</font>
<font color="#4eeb4e">configured</font> </tt><--10gbe link 2<br>
<tt> 5 enp4s0f1 ether <font color="#4eeb4e">routable</font>
<font color="#4eeb4e">configured</font> </tt><--1gbe local
10-net<br>
<tt> 6 ibs3 infiniband off unmanaged </tt><--lazy,
rogue<br>
<tt><strike> 7 ibs3d1 infiniband off unmanaged</strike>
</tt><--not connected<br>
<tt> 8 bond007 bond <font color="#4eeb4e">routable</font>
<font color="#4eeb4e">configured</font></tt><br>
<h3><u>Infiniband, IPoIB, ibs3<tt><br>
</tt></u></h3>
<tt># cat 10-ibs3.netdev <br>
[Match]<br>
<br>
[NetDev]<br>
Name=ibs3<br>
Kind=ipoib<br>
MTUBytes=65520<br>
MACAddress=80:00:02:08:fe:80:00:00:00:00:00:00:e4:1d:2d:03:00:6f:85:11<br>
<br>
[IPoIB]<br>
Mode=connected<br>
<br>
<br>
# cat ibs3-10_10_11_203.network<br>
[Match]<br>
Name=ibs3<br>
PermanentMACAddress=80:00:02:08:fe:80:00:00:00:00:00:00:e4:1d:2d:03:00:6f:85:11<br>
Path=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/net/ibs3<br>
Driver=ib_ipoib<br>
Type=infiniband<br>
Kind=ipoib<br>
Property=ID_NET_MANAGED_BY=io.systemd.Network<br>
<br>
[Link]<br>
MTUBytes=65520<br>
<br>
[Network]<br>
Kind=ipoib<br>
Address=10.10.11.203/24<br>
Gateway=10.10.11.203<br>
LinkLocalAddressing=no<br>
IPv4AcceptLocal=yes<br>
KeepConfiguration=static<br>
<br>
[IPoIB]<br>
Mode=connected<br>
</tt>
<h3>systemd-networkd complaints<br>
</h3>
<font face="monospace">/etc/systemd/network/10-ibs3.netdev:8: Not
a valid hardware address, ignoring assignment:
80:00:02:08:fe:80:00:00:00:00:00:00:e4:1d:2d:03:00:6f:85:11<br>
/etc/systemd/network/10-ibs3.netdev:8: Not a valid hardware
address, ignoring assignment:
80:00:02:08:fe:80:00:00:00:00:00:00:e4:1d:2d:03:00:6f:85:11<br>
/etc/systemd/network/ibs3-10_10_11_203.network:15: Unknown key
'Kind' in section [Network], ignoring.<br>
/etc/systemd/network/ibs3-10_10_11_203.network:22: Unknown
section 'IPoIB'. Ignoring.</font><br>
<p><tt> </tt></p>
<h3><u>bond</u><br>
</h3>
<tt># cat 10-bond007.netdev <br>
[NetDev]<br>
Name=bond007<br>
Kind=bond<br>
MTUBytes=9000<br>
<br>
[Bond]<br>
Mode=802.3ad<br>
MIIMonitorSec=1000<br>
UpDelaySec=1000<br>
DownDelaySec=2000<br>
<br>
<br>
# cat Intel_X710_DA2-bond007.network <br>
[Match]<br>
Path=pci-0000:05:00.0<br>
Path=pci-0000:05:00.1<br>
<br>
[Network]<br>
Bond=bond007<br>
<br>
<br>
# cat bond007-10_140_78_70.network <br>
[Match]<br>
Name=bond007<br>
<br>
[Network]<br>
Address=10.140.78.70/28<br>
Gateway=10.140.78.65<br>
DNS=128.196.11.233<br>
DNS=128.196.11.234<br>
DNS=128.196.11.235<br>
LinkLocalAddressing=no<br>
IPv6AcceptRA=no</tt><br>
<div class="moz-signature">
<p>Best Regards,<br>
Chandler<br>
</p>
</div>
<div class="moz-signature">
<div id="Chandler's signature">
<table>
<tbody>
<tr>
<td style="padding: 0" valign="top"> <img
alt="The University of Arizona block 'A' logo."
src="cid:part1.PzVkZRSh.0MUoPi5G@inventati.org"
class="" width="120"><br>
</td>
<td style="padding: 0" valign="top"> <span
style="font-family: sans-serif"> <span
style="font-size: 14pt; color: rgb(12,35,75)"> <b>Chandler
Sobel-Sorenson</b> </span><br>
<span
style="font-size: 10pt; color: rgb(158,171,174)">
Sr. Systems Administrator<br>
Arizona Genomics Institute<br>
School of Plant Sciences—Research<br>
THE UNIVERSITY OF ARIZONA<br>
<br>
Thomas W. Keating Bioresearch Bldg. | Rm. 200A24<br>
1657 E. Helen St. | Tucson, AZ 85721<br>
Office: <a href="tel:520-626-9589"
moz-do-not-send="true"><span
style="font-size: 10pt; color: rgb(30,82,136)">520-626-9589</span></a>
| Cell: <a href="tel:520-907-4352"
moz-do-not-send="true"><span
style="font-size: 10pt; color: rgb(30,82,136)">520-907-4352</span></a><br>
</span><br>
<a href="mailto: chandler@genome.arizona.edu"
target="_blank" moz-do-not-send="true"> <span
style="font-size: 10pt; color: rgb(30,82,136)">
chandler@genome.arizona.edu </span> </a><br>
<span
style="font-size: 10pt; color: rgb(158,171,174)">
Pronouns: he/him/his </span><br>
<a href="https://www.genome.arizona.edu/"
target="_blank" moz-do-not-send="true"> <span
style="font-size: 10pt; color: rgb(239,64,86)">
<b>www.genome.arizona.edu</b> </span> </a> </span>
</td>
</tr>
<tr>
<td><br>
</td>
<td valign="top" align="left"> <a
href="https://brand.arizona.edu/signature"
target="_blank" moz-do-not-send="true"> <img
alt="Integrity, Compassion, Exploration, Adaptation, Inclusion, Determination"
src="cid:part2.Hm60M6YZ.hTQZSMD7@inventati.org"
class="" width="400"> </a> </td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</blockquote>
</body>
</html>