<div dir="auto">Some network types use longer or shorter addresses, not all of them try to mimic Ethernet.<div dir="auto"><br></div><div dir="auto">For example FireWire uses 64-bit hardware addresses but IP-over-FW extends it to 128-bit addresses in ARP for technical reasons, and I think it's the same for Infiniband and IPoIB.</div><div dir="auto"><br></div><div dir="auto">Unfortunately Networkd doesn't understand any of it.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 30, 2024, 04:42 serenissi <<a href="mailto:serenissi@inventati.org">serenissi@inventati.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<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>On 7/29/24 08:43, Chandler
Sobel-Sorenson wrote:<br>
</div>
<blockquote type="cite">
<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=<a href="http://10.10.11.203/24" target="_blank" rel="noreferrer">10.10.11.203/24</a><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=<a href="http://10.140.78.70/28" target="_blank" rel="noreferrer">10.140.78.70/28</a><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>
<p>Best Regards,<br>
Chandler<br>
</p>
</div>
<div>
<div id="m_6767437406767468510Chandler's signature">
<table>
<tbody>
<tr>
<td style="padding:0px" valign="top"> <img alt="The University of Arizona block 'A' logo." src="cid:part1.PzVkZRSh.0MUoPi5G@inventati.org" width="120"><br>
</td>
<td style="padding:0px" 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>
<a href="https://www.google.com/maps/search/1657+E.+Helen+St.+%7C+Tucson,+AZ+85721+%0D%0A++++++++++++++++++++++Office:++520?entry=gmail&source=g">1657 E. Helen St. | Tucson, AZ 85721</a><br><a href="https://www.google.com/maps/search/1657+E.+Helen+St.+%7C+Tucson,+AZ+85721+%0D%0A++++++++++++++++++++++Office:++520?entry=gmail&source=g">
Office: </a><a href="tel:520-626-9589" target="_blank" rel="noreferrer"><span style="font-size:10pt;color:rgb(30,82,136)">520-626-9589</span></a>
| Cell: <a href="tel:520-907-4352" target="_blank" rel="noreferrer"><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" rel="noreferrer"> <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" rel="noreferrer"> <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" rel="noreferrer"> <img alt="Integrity, Compassion, Exploration, Adaptation, Inclusion, Determination" src="cid:part2.Hm60M6YZ.hTQZSMD7@inventati.org" width="400"> </a> </td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</blockquote>
</div>
</blockquote></div>