<div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:large">thanks, i'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'm not sure how common this situation is, so i'm not sure how much support it'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 AM Horn, Chris <<a href="mailto:chris.horn@hpe.com">chris.horn@hpe.com</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"><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 <<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a>> on behalf of Michael DiDomenico via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>><br>
<b>Date: </b>Tuesday, April 23, 2024 at 8:54</span><span style="font-family:"Arial",sans-serif;color:black"> </span><span style="color:black">PM<br>
<b>To: </b>lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>><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:"Courier New"">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:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">[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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">[root@cyan ~]# lnetctl net add --ip2net="tcp1(enp0s13f0u1) 192.168.10.*"<br>
[root@cyan ~]# lnetctl net add --ip2net="tcp2(enp0s13f0u1:1) 192.168.12.*"<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:"Courier New""><u></u> <u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">but i'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:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">[root@cyan system-connections]# nmcli c modify Wired\ connection\ 1 ipv4.addresses "<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>"
<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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">this doesn't work<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">[root@cyan ~]# lnetctl net add --ip2net="tcp1(enp0s13f0u1) 192.168.10.*"<br>
[root@cyan ~]# lnetctl net add --ip2net="tcp2(enp0s13f0u1) 192.168.12.*"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">[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:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New"">i'm pretty sure this is expected behavior based on how lnet works, but i figured i'd ask around<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:18pt;font-family:"Courier New""><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></blockquote></div>