Здравствуйте. не могу настроить статический IP на Centos.
# статическая конфигурация интерфейса
DEVICE="eth0"
BOOTPROTO="static"
DNS1=8.8.8.8
IPADDR0=192.168.1.4
PREFIX0=24
GATEWAY0=192.168.1.1
NM_CONTROLLED="no"
DEFROUTE="yes"
NAME="eth0"
UUID="0692785f-e4ea-4c60-a22b-69aa5207143c"
ONBOOT="yes"
но когда стартую сервис, ошибка.
[root@centos-rpi3 network-scripts]# systemctl status network.service
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-10-20 09:48:01 UTC; 11min ago
Docs: man:systemd-sysv-generator(8)
Process: 1151 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=6)
Oct 20 09:48:01 centos-rpi3 systemd[1]: Starting LSB: Bring up/down networking...
Oct 20 09:48:01 centos-rpi3 systemd[1]: network.service: control process exited, code=exited status=6
Oct 20 09:48:01 centos-rpi3 systemd[1]: Failed to start LSB: Bring up/down networking.
Oct 20 09:48:01 centos-rpi3 systemd[1]: Unit network.service entered failed state.
Oct 20 09:48:01 centos-rpi3 systemd[1]: network.service failed.