Configure BYOIP in Oracle Cloud Infrastructure Using an IPv6 CIDR from RIPE NCC

Introduction

In this tutorial, we will walk through the complete process of Bring Your Own IP (BYOIP) address space into Oracle Cloud Infrastructure (OCI) using an IPv6 CIDR block allocated and administered through Réseaux IP Européens Network Coordination Centre (RIPE NCC). This approach benefits organizations that already own IPv6 ranges or need to maintain consistent IP addressing across hybrid or multicloud environments.

By following this tutorial, you will not only learn how to prepare your IPv6 address space for import into OCI but also how to configure the administrative records in the RIPE NCC portal properly, authorize Oracle to advertise your prefix, and ultimately assign your custom IPv6 addresses to OCI resources such as Virtual Cloud Networks (VCNs) and compute instances.

This tutorial covers each task in detail from acquiring or verifying your IPv6 CIDR to updating registry records to using your imported range within OCI networking. Whether you are migrating workloads, setting up hybrid connectivity, or building an Internet facing architecture, this tutorial gives you the foundation to integrate BYOIP IPv6 into your OCI.

BYOIP address space into OCI empowers you with full control over your IP identity. This capability supports consistent networking across hybrid and multicloud environments, while enabling more flexible and customized network design.

In this tutorial, you will learn how to acquire or use an existing IPv6 CIDR block, complete the necessary administrative steps with RIPE NCC, and import and validate the CIDR within OCI. You will also see how to deploy the IPv6 CIDR in your Virtual Cloud Network (VCN) and manage globally routable IPv6 addresses across your workloads all under your own Regional Internet Registry (RIR) allocation. Whether your goals are driven by compliance, network ownership, or architectural consistency, OCI’s BYOIP IPv6 functionality provides a powerful foundation for building a fully autonomous cloud networking environment.

image

Objectives

Task 1: Get an IPv6 Range for Import into OCI

To use the BYOIP feature in OCI with an IPv6 CIDR block, the first requirement is to have a publicly routable IPv6 address space that is appropriately registered and administered through a Regional Internet Registry (RIR), in this case, it is RIPE NCC.

Note: We are renting IPv6 space from a third-party provider, as we do not own an IPv6 allocation. If you already own IPv6 address space and manage it directly under your RIPE account or Local Internet Registry (LIR), you can skip Task 1 and continue with Task 2.

Task 1.1: Purchase or Rent an IPv6 CIDR

If you do not already own an IPv6 range, you will need to either:

Or,

In this tutorial, we are using a company called NoPKT LLC that provides LIR services. Several other providers offer similar LIR services, so you can choose the one that best fits your needs.

Before making any purchases at NoPKT LLC, we must create an account.

Before the LIR can assign the rented IPv6 range to your account so you can complete the required administrative tasks. You must first create a RIPE NCC account and set up the necessary administrative objects. These objects (such as the role, mntner, and organization) must be appropriately configured and linked. Once this setup is complete, RIPE NCC will issue an Organization ID, which you must provide to the LIR. The LIR will then use this ID to assign the IPv6 range to your RIPE NCC account.

Task 1.2: Complete RIPE NCC Administration Tasks

To prepare your IPv6 CIDR for import into OCI, you must complete the following administrative tasks in the RIPE NCC database. These steps ensure you have proper control over the address space and meet OCI’s validation requirements.

You must:

Make sure all objects are correctly linked and visible in the RIPE Database. You will later update the inet6num object associated with your IPv6 range to complete the OCI validation steps.

This administrative step is critical, OCI will validate your ownership or control of the prefix through the changes you make in the RIPE Database.

Task 1.3: Verify IPv6 CIDR Assignment in the RIPE NCC Console

Task 2: Start the Import of the IPv6 CIDR in OCI

Once your IPv6 CIDR is registered and visible in the RIPE NCC database under your Organization ID, you can begin the BYOIP import process in OCI.

Note:

image

Task 3: Add the Token as a New descr Associated with your Address Range

After initiating the import process in OCI, a verification token is generated. This token is a unique string that Oracle uses to confirm you have administrative control over the IPv6 CIDR block you are attempting to bring into the cloud.

To verify ownership, you must add this token as a new descr in the inet6num object for your IPv6 range in the RIPE Database.

OCI will now periodically check the RIPE registry for the presence of this token. Once the token is detected, the CIDR can move to the next verification stage (ROA validation).

Task 4: Create a ROA Object to Authorize Oracle to Advertise the BYOIP CIDR Block

In addition to adding the verification token to the RIPE Database, Oracle requires that you explicitly authorize it to advertise your IPv6 CIDR block through BGP. This is done by creating a ROA object in the RIPE NCC RPKI dashboard.

The ROA object tells the internet routing ecosystem that Oracle (identified by its Autonomous System Number (ASN)) can announce your IPv6 prefix. Without this authorization, OCI will not complete the BYOIP import process.

We have requested the LIR to do this, and they confirmed in the ticket in Task 1.3 that this is done.

We can also check this from here: Routinator.

image

Once both the verification token and the ROA object are published and recognized, Oracle will validate the ownership and routing authorization of your BYOIP IPv6 CIDR block. But before this is done, you must still click Finish import in the OCI Console.

Task 5: Finish the Import of the IPv6 CIDR in OCI

When you have added the verification token as a descr in the RIPE inet6num object and created a valid ROA object authorizing Oracle’s ASN AS31898, OCI will automatically begin the verification process once you click Finish import.

image

Oracle will take the required internal validations and do the required internal configurations to complete the import.

Task 6: Verify the Import of the IPv6 CIDR in OCI

After completing the import process in the OCI Console, it is essential to verify that your IPv6 CIDR has been successfully validated and provisioned and is ready for use.

image

image

Once verified, your IPv6 CIDR is fully onboarded and ready to be advertised and assigned within OCI. In the next task, make it available on the Internet.

Task 7: Advertise the IPv6 CIDR to the Internet

Once your IPv6 CIDR has been successfully imported and verified in OCI, the final task in making it globally reachable is to advertise it to the Internet.

This task tells OCI to start announcing your IPv6 CIDR through BGP from Oracle’s network (ASN 31898), allowing traffic from the public Internet to reach your IPv6 space in the cloud.

Note: Advertising the CIDR is required before using the IPv6 range with internet-facing OCI resources such as OCI Load Balancer, OCI Compute instances, and so on.

image

Once advertising is active, you can assign your IPv6 range to a VCN and use it inside OCI.

Task 8: Assign BYOIP IPv6 CIDR to a VCN

In this task, assign IPv6 CIDR to a VCN. This makes the CIDR usable for creating subnets and attaching IPv6 addresses to resources like OCI Compute instances and OCI Load Balancer.

We are ready to carve out subnets within your BYOIP IPv6 CIDR and assign them to OCI resources.

Task 9: Create a Subnet within the BYOIP IPv6 CIDR Range

Create a subnet within the IPv6 range. This subnet will allow you to allocate IPv6 addresses to OCI resources, such as compute instances or load balancers.

In the next task, you will configure routing so the subnet can send and receive traffic over the Internet.

Task 10: Create and Assign a New Routing Table for VCN

In this task, create and assign a routing table that enables the correct network traffic flow. This route table will define how traffic from your subnet (IPv6 traffic) is routed within and outside the VCN, including to the Internet.

Next, you are ready to launch a compute instance and assign it an IPv6 address from your BYOIP range.

Task 11: Create an Instance and use an IPv6 Address from the BYOIP IPv6 CIDR Range

Now that your VCN and subnet are configured and routing is in place, you can launch a compute instance and assign it an IPv6 address from your imported BYOIP IPv6 CIDR range. This makes the instance reachable over the Internet using your IPv6 space, which you control and manage.

You now have a fully functional OCI Compute instance using your own IPv6 address from a BYOIP CIDR, publicly routable and registered under your RIPE NCC administration.

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.