Hey guys!
I am installing FreePBX on a dedicated server that will have one onboard network card and two offboard cards.
The idea is to use the onboard card for LAN, and the two offboards will be used to receive SIP Trunking (from two different providers).
My idea of organization would be:
Onboard NIC: eth0
Offboard NIC 01: eth1
Offboard NIC 02: eth2
however, when installing SNG7/FreePBX 16, the OS automatically names the cards in this order:
Offboard NIC 02: eth0
Offboard NIC 01: eth2
Onboard NIC: eth1
I’ve already tried to make the change by changing the ifcfg-ethX files, using udev rules (persistent-rules) and I even managed to change the name/order of the cards using the following commands:
/sbin/ip link set eth1 down
/sbin/ip link set eth1 name nic0
/sbin/ip link set nic0 up
(and continuing like this for the other boards)
However, after restarting the server, the original order returns.
Is there any definitive way to change the names/ordering of NICs in SangomaOS?
Thanks for the support!