In this article, I will describe the VirtualBox network configuration for Oracle RAC on NODE1.Basically, we will enable below three network adapters:
- Host-only Adapter (enp0s3): Used for public connection – Manual IPv4 address
- Internal Network (enp0s8): Used for private connection – Manual IPv4 address
- Bridged Adapter (enp0s9): Used for internet connection – Automatic(DHCP) IPv4 address
Table of Contents
1. First shutdown the node1 if it is up and running:
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.
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.
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.
5. Start node1 and log in as the root user:
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:
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
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
8. Add one more adapter enp0s9:
9. Click on the switch on-off button 4-5 times for each network adapter.
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.
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.
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.
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.
Pingback: How to import appliance in VirtualBox: Easy guide
Pingback: Oracle 19c RAC installation in Linux: Easy Guide
Pingback: How to change hostname in Linux: Easy Step-by-Step Guide
Pingback: VirtualBox Network Configuration for Oracle RAC: Easy Guide