Ethernet Interface Enumeration Order

Ethernet Interface Enumeration Order

I have an embedded Linux machine which has two Ethernet interfaces.

Each Ethernet interface also has a USB hub. The first Ethernet interface is connected via its own USB hub which is in turn connected directly to the embedded device.

The second Ethernet interface is connected to its own USB hub which is in turn connected to the USB hub of its first ethernet interface.

It is certain that the first ethernet device will always be eth0 and the second will be eth1, or do I need to take extra measures?

USB Device Tree

Go to Source
Author: Cez Chi