[CentOS] How to make a network interface come up automatically on link up?

Sun Mar 24 13:38:23 UTC 2013
Patrick Lists <centos-list at puzzled.xs4all.nl>

On 24-03-13 08:03, Joakim Ziegler wrote:
> How do I do that? I've not used network manager to set it up, I just
> made the ifcfg-eth2 file from scratch.

Besides the other two suggestions you may also want to set a proper 
SELinux label on the ifcfg-eth2 file with something like:
/sbin/restorecon -v -F /etc/sysconfig/network-scripts/ifcfg-eth2

The SELinux label I have on my ifcfg-eth0 is:
-rw-r--r--. root root system_u:object_r:net_conf_t:s0  ifcfg-eth0

Regards,
Patrick