Tuesday, October 9, 2018

How to enable internet in Virtual Machine?

After creating a VM as described in the previous article, how to enable internet in the VM?  

To enable internet in VM created through VirtualBox, open the VirtualBox app, click on ‘Settings’ and go to the ‘Network’ tab.







From the ‘Attached to:’ drop-down list select ‘Bridged Adapter’ and for ‘Name:’ select the name of your adapter.



Open ‘Advanced’ option and for ‘Promiscuous Mode:’ select ‘Allow VMs’.




Click ‘Ok’. Now you will be able to browse the internet in the VirtualBox VM.


If you are not sure what is the name of your adapter, you can find the name of your adapter by going to ‘Control Panel’ -> Network and Internet -> Change Adapter Settings








Here you right click on the adapter that is currently up and connected to the internet and select properties, you will get the name of your adapter.




Or

you can use below PowerShell command:

Get-NetAdapter -physical | select Name, InterfaceDescription, Status | where status -eq 'up'






#enable #internet  #virtualbox #vm #virtualmachine #adapter


Thanks VV!!

No comments:

Post a Comment