Why is my static IP address not set to what I made it in the /etc/sysconfig/network-scripts/ifcfg-enp0s3 file?
-3
votes
1
answer
737
views
I have made the following changes to /network-scripts/ifcfg-enp0s3 file in order to try and get a static IP address (added ip i want ending in .49, added gateway, Prefix and Subnet mask (
But i get this error message when I attempt to restart network
(image of error included)
When I check Jornalctl -xe I get this
(image included)
*Possible solution i found: “If you are using NetworkManager there will be more items that you would need to configure like: GATEWAY, DOMAIN, DNS1, DNS2, etc. If you are not using NetworkManager, you will need to configure the gateway address in the /etc/sysconfig/network file, and the DNS resolvers (if required) in the /etc/resolv.conf file I added DNS="8/8/8/8".” **But I do not know how to configure DNS, Domain etc.***



Asked by jspaine
(21 rep)
Mar 3, 2023, 09:37 PM
Last activity: Mar 13, 2023, 09:57 AM
Last activity: Mar 13, 2023, 09:57 AM