VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

In this article, I will describe the VirtualBox network configuration for Oracle RAC on NODE1.Basically, we will enable below three network adapters:

  1. Host-only Adapter (enp0s3): Used for public connection – Manual IPv4 address
  2. Internal Network (enp0s8): Used for private connection – Manual IPv4 address
  3. Bridged Adapter (enp0s9): Used for internet connection – Automatic(DHCP) IPv4 address

1. First shutdown the node1 if it is up and running:

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

2. Open VirtualBox network settings for RAC and change the value of the “Attached To” field to “Host-only Adapter”.This adapter will be used for the public connection.

VirtualBox Network Configuration for Oracle RAC

3. Click on the “Adapter 2” tab and enable it. Also, change the value of the “Attached To” field to “Internal Network”.This adapter will be used for private connection.

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

4. Click on “Adapter 3”, enable it, and change the value of the “Attached To” field to “Bridged Adapter”. This adapter will be used for internet connection. It will get the Internet connection from your hosting PC.

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

5. Start node1 and log in as the root user:

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

6.First press Windows Key + R, then type cmd and press ENTER to open the command prompt. Once it is open, run ipconfig to check the IPv4 address of the ethernet adapter:

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

Here the IPv4 address is 192.168.56.1 so we have to use any IP address with the same subnet of “Ethernet adapter in your hosting PC” as it is a “Host-only” adapter.

We will use the below details for Ethernet adapter enp0s3:

IP Address: 192.168.56.11 (Use any 192.168.56.* and * should be less than 100)
Netmask: 255.255.255.0
Gateway: 0.0.0.0

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

7. Add another adapter enp0s8 with the following details:

IP Address: 192.168.10.1
Netmask: 255.255.255.0
Gateway: 0.0.0.0

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

8. Add one more adapter enp0s9:

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

9. Click on the switch on-off button 4-5 times for each network adapter.

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

10. Open the terminal and check the manually assigned IP addresses has been updated properly so that we can confirm that VirtualBox Network Configuration for Oracle RAC is successful.

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide
VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

Here we can see enp0s3 and enp0s8 has been assigned the IP addresses 192.168.56.11 and 192.168.10.1 respectively. Adapter enp0s9 will take its IP address from your network automatically through DHCP.

11. Now we have to check if the node1 is connected to the Internet.Make sure your hosting PC is connected with Internet.

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

If you can ping google without any packet loss it means bridged adapter (enp0s9) is working fine.

12. Check if node1 is accessible from your host machine. Ping the public IP address to check if Host-only adapter (enp0s3) is working properly.

VirtualBox Network Configuration for Oracle RAC Node1: Step-by-Step Guide

Congratulations! You have successfully completed VirtualBox Network Configuration for Oracle RAC in node1.If you want to check VirtualBox Network Configuration for Oracle RAC on node2 also then you can follow my article VirtualBox Configuration for Oracle RAC in Node2.

This Post Has 4 Comments

Leave a Reply