Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2022 22:12:31 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Bakul Shah <bakul@iitbombay.org>, freebsd-net@freebsd.org
Subject:   Re: Is there a way to deterministically bring up two usb ethernet interfaces?
Message-ID:  <4d7760b1-aa65-b384-49e7-591e1e68228d@selasky.org>
In-Reply-To: <122D03E4-77AD-4B87-B617-1DD1371AAF9E@iitbombay.org>
References:  <122D03E4-77AD-4B87-B617-1DD1371AAF9E@iitbombay.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7760b1-aa65-b384-49e7-591e1e68228d>