Configuring Virtual Machines to connect Internet

Platform for VMs : Virtual box

Steps:

  • Select the Virtual Machine on the left pane and then open the settings.
  • Go to the Network option in left pane of the settings dialog box.
  • In the Center pane , select the network adapter “Attached to ” field as “Bridged Adapter” and then choose your network driver in the dropdown box below.
  • Then set the “Promiscuous Mode” to “Allow All”
  • Now save and start the VM.
  • Then in the terminal, check whether eth0 port is up or not by

ifup eth0

  • Now you test your internet connection by pinging in the terminal.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s