eth0 and eth1 switch after reboot

Hi,

We installed FreePBX Distro (1.812.210.58-1).

Our server has 2 Ethernet interfaces (eth0 and eth1), one for the SIP trunk and one for the internal network both with a static IP.

Every time we restart the machine eth0 and eth1 switches, so the IP settings are set to the wrong interface.

Can anyone tell how to make the interfaces static so they don’t switch anymore?

Thanks in advance!

Add the MAC address of the interface to the/etc/sysconfig/network-scripts/ifcfg-ethx files where x is the interface number.

You will have to check the man page for the exact syntax

Add the MAC address of the interface to the/etc/sysconfig/network-scripts/ifcfg-ethx files where x is the interface number.

You will have to check the man page for the exact syntax