<div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:large">thanks, i&#39;ll take a peek at it and see if i can pull it into my client for some testing.</div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large">i did reach out to the networkmanager folks and it sounds like they are not prioritizing label support with aliased IP addresses.</div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large">i&#39;m not sure how common this situation is, so i&#39;m not sure how much support it&#39;ll get<br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2024 at 11:33\u202fAM Horn, Chris &lt;<a href="mailto:chris.horn@hpe.com">chris.horn@hpe.com</a>&gt; 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"><div class="msg-8630889162557338737">





<div style="overflow-wrap: break-word;" lang="EN-US">
<div class="m_-8630889162557338737WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Yeah, I think LNet needs the address to be tagged with a unique label. The patch
<a href="https://review.whamcloud.com/c/fs/lustre-release/+/53605" target="_blank">https://review.whamcloud.com/c/fs/lustre-release/+/53605</a> may allow you to configure the desired NIDs without the labels.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Chris Horn<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div id="m_-8630889162557338737mail-editor-reference-message-container">
<div>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="color:black">From:
</span></b><span style="color:black">lustre-discuss &lt;<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a>&gt; on behalf of Michael DiDomenico via lustre-discuss &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>&gt;<br>
<b>Date: </b>Tuesday, April 23, 2024 at 8:54</span><span style="font-family:&quot;Arial&quot;,sans-serif;color:black">\u202f</span><span style="color:black">PM<br>
<b>To: </b>lustre-discuss &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>&gt;<br>
<b>Subject: </b>[lustre-discuss] lnet ip aliases<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">in the past under rhel7 i would do this<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">[root]# ip add add
<a href="http://192.168.12.29/24" target="_blank">192.168.12.29/24</a> dev enp0s13f0u1 label enp0s13f0u1:1 broadcast 192.168.12.255 noprefixroute<br>
[root]# ip add show enp0s13f0u1<br>
2: enp0s13f0u1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000<br>
    link/ether a0:ce:c8:b2:22:f7 brd ff:ff:ff:ff:ff:ff<br>
    inet <a href="http://192.168.10.29/24" target="_blank">192.168.10.29/24</a> brd 192.168.10.255 scope global noprefixroute enp0s13f0u1<br>
       valid_lft forever preferred_lft forever<br>
    inet <a href="http://192.168.12.29/24" target="_blank">192.168.12.29/24</a> brd 192.168.12.255 scope global noprefixroute enp0s13f0u1:1<br>
       valid_lft forever preferred_lft forever<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">[root@cyan ~]# lnetctl net add --ip2net=&quot;tcp1(enp0s13f0u1) 192.168.10.*&quot;<br>
[root@cyan ~]# lnetctl net add --ip2net=&quot;tcp2(enp0s13f0u1:1) 192.168.12.*&quot;<br>
[root@cyan ~]# lctl list_nids<br>
192.168.10.29@tcp1<br>
192.168.12.29@tcp2<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">but i&#39;ve upgraded to redhat9 using network manager fully now.  when i do<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">[root@cyan system-connections]# nmcli c modify Wired\ connection\ 1 ipv4.addresses &quot;<a href="http://192.168.10.29/24,192.168.12.29/24" target="_blank">192.168.10.29/24,192.168.12.29/24</a>&quot;
<br>
[root@cyan system-connections]# nmcli c up Wired\ connection\ 1 <br>
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/22)<br>
[root@cyan system-connections]# ip add show enp0s13f0u1<br>
2: enp0s13f0u1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000<br>
    link/ether a0:ce:c8:b2:22:f7 brd ff:ff:ff:ff:ff:ff<br>
    inet <a href="http://192.168.10.29/24" target="_blank">192.168.10.29/24</a> brd 192.168.10.255 scope global noprefixroute enp0s13f0u1<br>
       valid_lft forever preferred_lft forever<br>
    inet <a href="http://192.168.12.29/24" target="_blank">192.168.12.29/24</a> brd 192.168.12.255 scope global noprefixroute enp0s13f0u1<br>
       valid_lft forever preferred_lft forever<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">this doesn&#39;t work<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">[root@cyan ~]# lnetctl net add --ip2net=&quot;tcp1(enp0s13f0u1) 192.168.10.*&quot;<br>
[root@cyan ~]# lnetctl net add --ip2net=&quot;tcp2(enp0s13f0u1) 192.168.12.*&quot;<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">[root@cyan ~]# lctl list_nids<br>
192.168.10.29@tcp1<br>
192.168.10.29@tcp2<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;">i&#39;m pretty sure this is expected behavior based on how lnet works, but i figured i&#39;d ask around<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</div></blockquote></div>