How to set static ip address on Linux Centos 7 virtual machine
In this tutorial you will see how to set static ip address on Linux CentOS 7 virtual machine. I guess you already know that CentOS uses dhcp for signing ip addresses, but in most scenario you would like to put your own static ip address. If you don’t know how to edit files with vi editor please use nano.
Bonus: You will also see how to add additional network interface using virsh command, and how to diagnose some common connection errors. From this point, many users will want to do more experiments on their own, if you want to learn about virtualization visit this link on my website.
https://linux2u.org/how-to-install-linux/what-to-do-after-installing-linux-ubuntu-4/
centos 7