Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network.

I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS 5 running on VM8.

Doing a ip a shows the below output

ip output

share|improve this question
    
Forgot to mention i didnt find resolve.conf file on the system too (Read an article suggestion issues with resolve.conf so tried looking it up and it was missing ) – Atul May 28 '15 at 23:58
    
So when you get out of full screen when you click on the network cable icon on the bottom right and click preferences, what kind of connection you have there? – Victor May 29 '15 at 2:31
    
What kind of system r u using 32-bit or 64-bit? centos7 is basically designed to work on a 64-bit system. If 32-bit system, while installing on vmware try installing using centos as 64-bit then u wont find any network issues. – user117244 May 29 '15 at 5:19
    
I have tried briged and NAT both and had no luck. The NAT works fine on my other machine ie CentOS 5 – Atul May 29 '15 at 6:41
    
When you created the VM and it asked what kind of OS was to be installed did you select Linux or windows? If created as a "Windows" VM you'll get a different NIC type that may not work, and it's a hassle to change after the fact (you can't change it through the GUI). – Centimane Sep 22 at 13:33

You have to activate the interface. One way of doing that is with Network Manager's utility nmtui.

Open nmtui with:

$ sudo nmtui

And you'll get a text based interface like this:

enter image description here

Navigate by using TAB and ENTER.

In nmtui you can activate your interface, edit connection's and set hostname.

After you're done, restart network with:

$ sudo systemctl restart network
share|improve this answer
    
I tried configuring the wifi connection hoping it will connect to my wifi and get on the network however it did nothing. Ip a shows no interface again. Should i be selecting a different connection type? – Atul May 29 '15 at 6:38

I user bridged network,you should attach your guest OS's network interface to host interface,you need edit vmware's network editor:

Edit ->  Virtual Network Editor -> bridged to host interface

picture:

enter image description here

share|improve this answer

Open my.vmx which contain your VM configurations and Added the following line to my.vmx:

ethernet0.virtualDev = "e1000"

My problem was solved by this line.

share|improve this answer

In the nmtui, edit the connection and then select Automatically Connect check box. Restart the network and you should be back in business :-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.