CentOS Commands - thiagobs-webdev/helptools GitHub Wiki
# Set Fixed IP
- Open the configuration file:
vim /etc/sysconfig/network-scripts/ifcfg-enp0s3
- Alter:
BOOTPROTO="none"
IPV6INIT="no"
- Add:
IPADDR="your_IP"
NETMASK="your_mask"
GATEWAY="your_gateway"
DNS1="your_dsn1"
- Save File:
- Desable and Enable the enp0s3:
ifdown enp0s3
ifup enp0s3
- Check the information:
ip address
- Done
:D