I am new to CentOS 7 and I am configuring a static IP on CentOS 7, so I have edited the file /etc/sysconfig/network-scipts/ifcfg-eth0
as following:
TYPE=Ethernet BOOTPROTO=none Device=eth0 ONBBOOT=yes IPADDR=192.168.4.196 NETMASK=255.255.255.0 GATEWAY=192.168.88.254 DNS1=8.8.8.8 USERCTL=no
But when I issue the command
systemctl restart network
I am getting the error
failed to start LSB :/Bring Up down Networking
ip route show
gives me no output.
I have applied the solution that stops NetworkManager with the same existing error.
I am able to configure a dynamic DHCP and get a dynamic IP address but not static one.
What can be possible solutions?