how to change ip address centos 7 code example
Example 1: set static ip centos
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=1.0.0.1
DNS2=1.1.1.1
DNS3=8.8.4.4
Example 2: how to change mac address kali linux
$ sudo ifconfig [interface] down
$ sudo ifconfig [interface] hw ether [new MAC Address (needs to start with 00)]
$ sudo ifconfig [interface] up
Example 3: set static ip centos
BOOTPROTO=static