Ethernet Enumeration on Sangoma Linux 7

I have a Dell PowerEdge R620 with a four port Ethernet card.

I installed FreePBX 2011-5.iso
Kernel is 3.10.0-1127.19.1.el7.x86_64

My Ethernet cards are enumerated as
eth0: 90:b1:1c:xx:xx:b4
eth1: 90:b1:1c:xx:xx:b5
eth2: 90:b1:1c:xx:xx:b2
eth3: 90:b1:1c:xx:xx:b3

I need them enumerated as
eth0: 90:b1:1c:xx:xx:b2
eth1: 90:b1:1c:xx:xx:b3
eth2: 90:b1:1c:xx:xx:b4
eth3: 90:b1:1c:xx:xx:b5

I have tried making a /etc/udev/70-persisten-net.rules file. This did not work.

I have edited the /etc/sysconfig/network-scripts/ifcfg-eth* files and made sure they had HWADDR=90:b1:1c:xx:xx:bx entry. I also removed UUID entries.

/var/log/messages: shows entries such as:

freepbx systemd-udev: Error changing net interface name ‘eth1’ to ‘eth3’ : File exists
.
.
freepbx ststemd-udevd: error opening ATTR{sys/devices/pci0000:00/0000:00:01.1/00.1/net/eth3/address| for writing: Permision denied

I can manually rename via the console (Provided by the dell iDRAC console redirection).
I use the following:
ip link set eth2 down
ip link set eth2 name othername
ip link set eth0 down
ip link set eth0 name othername2
ip link set othername name eth0

What is the proper way to do this at boot time for this particular distribution. I have read many posts but mostly from redhat or centos forums, but the suggestions do not seem to work.

I have installed FreePBX in other Dell PowerEdge R620 and have not had these enumeration issues (the mac address with the lowest number is eth0)

The particular card here uses the Tigon3 driver (BCM95720)

Thanks,

Adan Calderon

Try the udev method again, it has always worked for me , (Show us your work) you can even call them other than etherx for RH see

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