CentOS 7.4 + network.service
Hi all i have installed Cent OS 7.4 on my Dedicated Server, but having issue with network.service with static IP assigned, it's fine if set as DHCP but not Static IP, i was wondering if someone could point me in the right direction, it ping fine under DHCP but not Static IP.
Thanks
P.S sorry if this is in the wrong topic.
-
Hello, You have to check /etc/sysconfig/network-scripts/ifcfg-eth0 and resolve.conf to set static IP on the server. 0 -
Okay, in ifcfg-eth0 i have this.. DEVICE=eth0 BOOTPROTO=static ONBOOT=yes NM_CONTROLLED=no IPADDR=62.***.***.*** NETMASK=255.255.255.255 GATEWAY=62.***.***.*** and in resolve.conf i have this.. nameserver 8.8.4.4 nameserver 8.8.8.8 Have i missed something? Nevermind sorted it now, seems i was missing BROADCAST from config 0 -
Hello, I'm glad to see you were able to solve the issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments