Can I rename network interface?

Hi,

Orin NX 16GB
OS: L4T35.3.1

There are 2 network interface on the board.
By default, the name of interface:

  1. Orin NX LAN prot, eth1, pcie 0008:01:00.0
  2. r8168 LAN on the board, eth0, pcie 0009:01:00.0

I want to set Orin NX LAN to eth0, and r8168 on board LAN to eth1.
I add /etc/udev/rules.d/70-persistent-net.rules

ACTION=="add", SUBSYSTEM=="net", KERNELS=="0008:01:00.0", NAME="eth0"
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0009:01:00.0", NAME="eth1"

But the network isn’t worked and I can see the name is keep default in “ifconfig -a”.
If I use other name like aeth0 and aeth1, the network is worked.

How can I set the name I want?

Sorry for the late response, is this still an issue to support? Thanks

Hi kayccc,

We don’t use ethX afterwards. Thanks for reply.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.