Adding an address to an interface: 

We can display the network connections of our system using the below command:


We can display the IP address of our network connection "Wired 1" using the below command:


We could add an IP address to our network connection "Wired 1" using the below command:


As a last step, we will need to restart our network connection using the below command:


Deleting an IP address:

We can also remove the newly added IP address using the below command:


Then, we restart our network connection for the changes to take effect:


Brando Sabatini and Ikbal C ©. Powered by Blogger.