Re: How to make a network interface come up automatically on link up?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

-- 
Joakim Ziegler  -  Supervisor de postproducción  -  Terminal
joakim@xxxxxxxxxxxxxx   -   044 55 2971 8514   -   5264 0864

On 24/03/13 7:38, Patrick Lists wrote:
> 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
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux