-
Notifications
You must be signed in to change notification settings - Fork 0
CentOS Commands
Thiago Bomfim edited this page Aug 11, 2021
·
2 revisions
- 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