How can I find the ifcfg configuration file of wired connection?
by Dasom from LinuxQuestions.org on (#53Z5A)
Hi,
I'm setting up practice environment for my RHCE exam. Currently, I'm running CentOS 7.0 on Oracle VM VirtualBox. I created one VM and installed CentOS 7.0 on it and then cloned it with the following option: 'generate new MAC addresses for all network adapters'. I checked the MAC address of the Network adapter of both VMs are different. One is ~C78A and the other one is ~63F3.
Problem :
If I power on the clone VM and execute 'nmcli c s', there shows two connection which are named 'Wired connection 1' and 'enp0s3'. Wired connection 1 uses device enp0s3 and if I execute 'nmcli c s --active', only Wired connection 1 appears.
What I want :
There's only one connection named enp0s3 which uses device enp0s3.
As far as I know, because I cloned the VM with new MAC address, should I change configuration of the ifcfg-enp0s3 file?
Sorry for my English.
Have a nice day.


I'm setting up practice environment for my RHCE exam. Currently, I'm running CentOS 7.0 on Oracle VM VirtualBox. I created one VM and installed CentOS 7.0 on it and then cloned it with the following option: 'generate new MAC addresses for all network adapters'. I checked the MAC address of the Network adapter of both VMs are different. One is ~C78A and the other one is ~63F3.
Problem :
If I power on the clone VM and execute 'nmcli c s', there shows two connection which are named 'Wired connection 1' and 'enp0s3'. Wired connection 1 uses device enp0s3 and if I execute 'nmcli c s --active', only Wired connection 1 appears.
What I want :
There's only one connection named enp0s3 which uses device enp0s3.
As far as I know, because I cloned the VM with new MAC address, should I change configuration of the ifcfg-enp0s3 file?
Sorry for my English.
Have a nice day.