I have a VMware virtual machine running Ubuntu 17.04. My PC is connected to my WLAN but the VM isn't in the network. I suspect that the network card isn't install on my VM. I can connect to LAN to install drivers but I can't always be connected.

How can install the driver (if this is the problem)?

  • 1
    You don't need to connect the VM to a wireless network. VMs use connections of the host system. – Pilot6 Aug 29 '17 at 20:13
  • So, why my virtual machine doesn't recognize my wlan? – Davide Michelon Aug 29 '17 at 20:15
  • 1
    It shouldn't recognize "your wlan". It should have a virtual lan connection if you configured it correctly. I don't know what is the VM, and how is it configured. – Pilot6 Aug 29 '17 at 20:17

When you create a virtual machine with VMware, you can use one of several types of network connections.

  • bridged networking, where the VM has direct access to the network. Here the VM must acquire a different IP address (e.g. from a DHCP server) and may require bringing the network interfaces up/down (e.g. by using ip link or ifconfig) in the VM each time you change of network.
  • NAT, where the VM connects to the network (and internet) through the host system. Using this type of connection, the VM is not accessible from the outside.
  • host-only, where the VM connects only to the host system.

I think you must use a NAT connection. using this connection, your VM will have network/internet access while the host system has access. If you need to access servers/services in the VM you may configure a port forwarding for NAT.

If you need information on bringing interfaces up/down, please look here.

  • Thanks! Now I'm connect but I have curiosity. My address LAN is while the ip of my VM is The VM is correctly in the network infact the ping works but why the VM has ...51.1 while the network is ...1.0? – Davide Michelon Aug 30 '17 at 12:19
  • If you are using NAT, the VM and the host system are connected together using a virtual switch. They belong to a private network different than the network you use in the host. The VM obtains its IP address from a dedicated VMware DHCP and access the external network/internet through a NAT proxy. -- Your VM will get an IP address from a different subnet -- you may check vmware.com/support/ws55/doc/ws_net_configurations_nat.html and pubs.vmware.com/workstation-9/… – Jaime Aug 30 '17 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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