Setup Menus in Admin Panel

DBATalent

Network Issues in Oracle VM Virtual Box

Knowledge Base > Virtualization > Network Issues in Oracle VM Virtual Box

in Virtualization

This article describes the solutions for the network issues in Oracle VM Virtual box.

 

Issue1:

Not able to connect virtual machine from windows

Network_issues_in_Vbox_01

Solution:

  • Navigate to Control Panel and Network and Internet Settings

Network_issues_in_Vbox_1

 

  • Click on Adapter Settings at left side of window.

Network_issues_in_Vbox_2

 

  • Right Click on VirtualBox Host-Only Network and click on properties.

Network_issues_in_Vbox_3

 

  • Select the Internet Protocol Version 4 (TCP/IPv4).

Network_issues_in_Vbox_4

 

  • Note the subnet of IP Address and subnet mask from Internet Protocol Version 4 (TCP/IPv4) Properties.

Network_issues_in_Vbox_5

 

  • Navigate to Network settings in Virtual Machine settings.

Network_issues_in_Vbox_6

 

  • Make sure that the Network adapter should be Host only adapter.

Network_issues_in_Vbox_7

 

  • Start the virtual machine and verify that the IP address subnet of you linux machine and the subnet of Internet Protocol Version 4 (TCP/IPv4) should match. You can the IP of your linux machine or Internet Protocol Version 4 (TCP/IPv4).

Example:      Internet Protocol Version 4 (TCP/IPv4):  192.168.100.XX

Virtual machine IP:  192.168.100.XX

Network_issues_in_Vbox_8

  • Now verify the connection from the windows to you linux machine.

Network_issues_in_Vbox_9

 

Issue2:

Not able to connect internet in linux virtual machine in windows.

Network_issues_in_Vbox_15

Solution:

  • Shut down the virtual machine and add a new network adapter as bridged.

Network_issues_in_Vbox_10

 

  • Start the virtual machine and activate the eth2 for new attached adapter as DHCP IP.

Network_issues_in_Vbox_11

Network_issues_in_Vbox_12

Network_issues_in_Vbox_13

  • Once restart the network using below command or reboot the machine.

# service network restart

 

  • Now try to ping internet from your linux machine.

Network_issues_in_Vbox_14

 

 

 

 

 

 

0