HKL's Notes
N/A C.V. · Linkedin · Github


Enable IPv6 on Oracle Cloud Infrastructure

By , on , tagged: 🏷️Linux  🏷️Operating 

In this post, Talking about how to enable IPv6 on Oracle Cloud environment and how to assign IPV6 address to your VPS.

(1)Enable IPv6:

  1. Log into your Oracle Cloud account. Choose networking -> Virtual Cloud Networks

  2. Find out your existing VCN (Virtal Cloud Networks), Click it.

  3. You should land on VCN’s Subnets page as show below:

PIC1

  1. Change to CIDR Blocks page , then click Add IPv6 CIDR Block button to add a new IPv6 block in.

PIC2

You will get a pop up window to confirm you want to enable ipv6. Click Confirm to continue.

  1. After you confirmed to enable ipv6 support, a new ipv6 segment (/56 block) will be assigned to you.

PIC3

(2)Create IPv6 Subnet:

1.Click the existing subnet for Resources panel’s Subnets page:

PIC4

  1. Click edit button then check “Enable IPv6 CIDR Block”

PIC5

  1. Enter a new HEX character between 00-FF to assign a /64 subnet from a block /56.

(3)Create Security Rules for Ingress and Egress IPv6 Traffic:

Ingress rule for all IPv6 Traffic:

PIC6

Egress rule for all IPv6 Traffic:

PIC7

(4)Default IPv6 Route:

In your Route Rules, there is already one IPv4 default route in place.

We will also need to add a default IPv6 route in. The option is same concept as your ipv4 default route.

Since it is for all ipv6 traffic, destination CIDR block is ::/0.

PIC8

(5)Assign An IPv6 Address to your instance:

Go to you instance’s configuration page, which you will find Resources panel at the left of page.

Click Attached VNICs, then choose existing VNIC to click.

PIC9

You can assign a new ipv6 or randomly let OCI assign one for you without entering anything, just click Assign button:

PIC10

After a couple of seconds, one IPv6 address will be assigned to your VNIC.

(6)Acquire This IPv6 Address From Your VPS:

PIC11

REF:

https://www.51sec.org/2021/09/20/enable-ipv6-on-oracle-cloud-infrastructure/



Articles are licensed under CC BY-NC 4.0