Edit ip address
Dec 29, 2015 · The first step is to edit the interface that you want to set the static IP on. In my example I want to change the IP on eth0 from 172.16.0.21 to 10.10.10.50. This not only means that the IP address will change but the default gateway will also. So to proceed I will edit the interface config file for eth0, which is ifcfg-eth0 using vi, per the