Lee Nelson <lnel...@nelnet.org> wrote:

> If I have multiple USB Ethernet adapters of identical make and model,
> how does OpenBSD distinguish them over time.

In the order their drivers reach "interface attach" code.  There are
multiple reasons the drivers could reach this out of order.

> In other words if
> there's a reboot or the adapters get unplugged and moved around and
> plugged back in, is there a way to make sure that the adapters
> associated with axen0 and axen1 maintain those associations?

No.

> Is there some way to pin an interface to the adapters MAC address?

No method comes to mind.

Well there is a method, but it is incompatible with KARL kernel
relinking so I don't think people should use that, and hence I'm not
going to explain it.

> A related question: if the adapters never move, and always stay in the
> same place on their respective USB hubs, will they always be numbered
> the same (axen0, axen1, etc)?

Cannot gaurantee that. Especially if they are on different usb busses,
or the initial probe fails, some probes may occur late and thus adjust
the order.

Reply via email to