Re: Is there a way to deterministically bring up two usb ethernet interfaces?
- In reply to: Hans Petter Selasky : "Re: Is there a way to deterministically bring up two usb ethernet interfaces?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 20:59:49 UTC
On 2022-06-21 13:12, Hans Petter Selasky wrote: > Hi, > > On 6/21/22 22:01, Bakul Shah wrote: >> I think the problem is that the two interfaces don't always come up in the >> right sequence so which is ue0 and which is ue1 changes but they are >> connected to specific networks. >> Thanks > > Most likely not. Maybe devd events or sysctls can help you: > > net.ue.0.%parent: axge0 > > This is a general problem with pluggable USB devices. Usually if the devices > are > connected to the same USB HUB, they will come up deterministicly. If your interest is one of naming && control. It might be enough to assign a name via the adapters MAC address -- ie; assign the name us0 | ue1 to the adapter/NIC your interested in by it's MAC address and that would give it to you. HTH Chris > > --HPS