How to set Internet Protocol properties using terminal?
When I set up a Virtual Machine with windows (using VMPlayer), I set the Network Connection properties from the VM settings from NAT to bridged. Then I proceed to set the following IP Properties in the OS (see image below) so that the Virtual Windows OS becomes part of my network.
How do I set the same IP Properties on a Linux machine (I use CentOS) using terminal? If its any file that needs to be edited please let me know which. I wish to set up the virtual Linux machine similar to how my Virtual Windows machines are set up.
I also need these settings to stick after I restart the machine.
If all you want to configure is the network then have a look at the files in /etc/sysconfig/network-scripts. You'll have some files, depending on the number of interfaces you have set, that begin with ifcfg. You need to edit them in order to configure your network and after configuring restart the network service.
|All times are GMT -5. The time now is 03:45 AM.|