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

Tue Mar 26 04:42:52 UTC 2013
Eero Volotinen <eero.volotinen at iki.fi>

2013/3/26 Joakim Ziegler <joakim at terminalmx.com>:
> Well, /etc/sysconfig/network-scripts/ifcfg-eth2 looks like this:
>
> DEVICE=eth2
> BOOTPROTO=none
> ONBOOT=yes
> NETWORK=10.10.0.0
> NETMASK=255.255.0.0
> IPADDR=10.10.0.1
> USERCTL=no
> MTU=9000
> HOTPLUG=yes
> NM_MANAGED=no

try changing BOOTPROTO=static, instead of none.

--
Eero