[prev in list] [next in list] [prev in thread] [next in thread] 

List:       illumos-networking
Subject:    Re: [networking] Intel X540T NICs are in different order on same hardware models!
From:       Garrett D'Amore <garrett () damore ! org>
Date:       2023-01-28 18:46:31
Message-ID: 3bbafacb-a1d7-4394-a9ae-a0c2f6f8775b () Spark
[Download RAW message or body]

There isn't a guarantee of any kind about the order of enumeration for interfaces.    \
It's a mistake to depend on them.

What you can do, if you need to know which is where, is look at the full device path \
to see what the addresses are for these things (PCI addresses).    The device paths \
generally will be the same for the same hardware (barring changes in the PCI bus \
itself, or in CPUs (different models) or motherboards, which can have an impact \
depending on the specific machine(s) in question.

For a given hardware model, you might use the device location (the device path) and \
to choose the right interface, and then rename it using vanity naming to provide more \
useful context.

  - Garrett
On Jan 27, 2023 at 8:04 AM -0800, stacey.pellegrino@gmail.com, wrote:
> Hey folks!
> 
> I have identical hardware configurations with the same model NICs, although the \
> interface ordering is the opposite (back-to-front) on one of the two servers (not \
> sure which way is the right way)! 
> I tried issuing devfsadm and reboot -- -r but no such luck. Is this an OmniOS issue \
> or something else like the BIOS? 
> Many thanks and kind regards, -Stacey Pellegrino
> illumos / illumos-networking / see discussions + participants + delivery  options \
> Permalink

------------------------------------------
illumos: illumos-networking
Permalink: https://illumos.topicbox.com/groups/networking/Tcbec13dff14bcf81-M62f51e47688ef00239e6d510
 Delivery options: https://illumos.topicbox.com/groups/networking/subscription


[Attachment #3 (text/html)]

<html><html><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title></head><body><div \
name="messageBodySection"><div dir="auto">There isn&rsquo;t a guarantee of any kind \
about the order of enumeration for interfaces.&nbsp;&nbsp;It&rsquo;s a mistake to \
depend on them.&nbsp;<br /><br /> What you can do, if you need to know which is \
where, is look at the full device path to see what the addresses are for these things \
(PCI addresses).&nbsp;&nbsp;The device paths generally will be the same for the same \
hardware (barring changes in the PCI bus itself, or in CPUs (different models) or \
motherboards, which can have an impact depending on the specific machine(s) in \
question.</div></div><div name="messageSignatureSection"><br /> For a given hardware \
model, you might use the device location (the device path) and to choose the right \
interface, and then rename it using vanity naming to provide more useful context. \
<div dir="auto"><br /></div><div dir="auto">&nbsp;- Garrett</div></div><div \
name="messageReplySection">On Jan 27, 2023 at 8:04 AM -0800, \
stacey.pellegrino@gmail.com, wrote:<br /><blockquote style="border-left-color: grey; \
border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: \
10px;" type="cite"><div>Hey folks!<br /></div><div><br /></div><div>I have identical \
hardware configurations with the same model NICs, although the interface ordering is \
the opposite (back-to-front) on one of the two servers (not sure which way is the \
right way)!<br /></div><div><br /></div><div>I tried issuing <code \
style="border-radius:3px;border:1px solid #ccc;padding:1px \
3px;background:#f6f6f6;font-family:menlo,consolas,monospace;font-size:90%;">devfsadm</code> \
and <code style="border-radius:3px;border:1px solid #ccc;padding:1px \
3px;background:#f6f6f6;font-family:menlo,consolas,monospace;font-size:90%;">reboot -- \
-r</code> but no such luck. Is this an OmniOS issue or something else like the \
BIOS?<br /></div><div><br /></div><div>Many thanks and kind regards, -Stacey \
Pellegrino</div></blockquote></div><div id="topicbox-footer" style="margin:10px 0 \
0;border-top:1px solid #ddd;border-color:rgba(0,0,0,.15);padding:7px 0;">

<strong><a href="https://illumos.topicbox.com/latest" \
style="color:inherit;text-decoration:none">illumos</a></strong>  / illumos-networking \
/ see <a href="https://illumos.topicbox.com/groups/networking">discussions</a>
  +
<a href="https://illumos.topicbox.com/groups/networking/members">participants</a>
  +
<a href="https://illumos.topicbox.com/groups/networking/subscription">delivery&nbsp;options</a>
 <a href="https://illumos.topicbox.com/groups/networking/Tcbec13dff14bcf81-M62f51e47688ef00239e6d510" \
style="float:right">Permalink</a> </div>
</body></html></html></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic