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

May 11, 2020 How to Change Your IP Address From the Command Line in Linux Jan 05, 2018 EVE-NG:How to change IP address - www.ipBalance.com Jan 26, 2020

To change your IP address on Linux, use the “ifconfig” command followed by the name of your network interface and the new IP address to be changed on your computer. To assign the subnet mask, you can either add a “netmask” clause followed by the subnet mask or use the CIDR notation directly.

Jan 26, 2020

How to Change Your IP Address From the Command Line in Linux

How to Configure Static IP Address on Ubuntu 18.04 | Linuxize Mar 09, 2020