Ask Your Question

Revision history [back]

The correct interface file should follow this format on centos:

TYPE=Ethernet BOOTPROTO=none NAME=p1p2 DEVICE=p1p2 ONBOOT=yes

The correct interface file should follow this format on centos:

TYPE=Ethernet
BOOTPROTO=none
NAME=p1p2
DEVICE=p1p2
ONBOOT=yes

ONBOOT=yes

The correct interface file stored in /etc/sysconfig/network-scripts/XYZ should follow this format on centos:

TYPE=Ethernet
BOOTPROTO=none
NAME=p1p2
DEVICE=p1p2
NAME=<interface_name>
DEVICE=<interface_name>
ONBOOT=yes