fbpx

IPv6 address distribution

Facebook
Twitter
LinkedIn
WhatsApp
Telegram

The distribution of IPv6 addresses is done by allocating and allocating blocks of addresses to different entities and organizations. Unlike IPv4, which uses a 32-bit addressing system, IPv6 uses 128-bit addresses, offering a much larger address space.

At the end of the article you will find a small test that will allow you assess the knowledge acquired in this reading

Entities

The entity responsible for assigning and managing IPv6 addresses globally is the Internet Assigned Numbers Authority (IANA). IANA assigns blocks of IPv6 addresses to Regional Internet Registries (RIRs) in different geographic regions of the world. The five RIRs are:

  • American Registry for Internet Numbers (ARIN) – for North America and some Caribbean countries.
  • RIPE Network Coordination Center (RIPE NCC) – for Europe, the Middle East and parts of Central Asia.
  • Asia-Pacific Network Information Center (APNIC) – for the Asia-Pacific region.
  • Latin America and Caribbean Network Information Center (LACNIC) – for Latin America and some Caribbean islands.
  • African Network Information Center (AFRINIC) – for Africa.

Blocks

In addition to IPv6 address blocks assigned at the regional level, there is a specific structure for assigning blocks to organizations and end users. These blocks are allocated in sizes that fit the needs of each entity.

IPv6 address blocks are expressed in CIDR (IP Address Classification) notation and consist of a base address and a prefix mask that indicates how many bits of the address belong to the network portion and how many bits are reserved to identify hosts. .

For example, an IPv6 address assignment might look like this: 2001:0db8:85a3::/48. In this case, the first 48 bits are intended to identify the network, and the last 80 bits (128 total bits – 48 network bits = 80 bits) can be used to identify the devices and hosts within that network.

Block allocation

The assignment of IPv6 address blocks is done according to the type of entity and the size of the network they need. Some examples of IPv6 address block allocation are:

  • ISP (Internet Service Provider): ISPs typically receive larger blocks of IPv6 addresses to distribute to their customers. These blocks can be /32 blocks or even larger. ISPs can also request additional blocks as their customer base grows.
  • Companies and Organizations: Companies and organizations receive IPv6 address block assignments for their internal networks. Allocations can range from /48 blocks for larger organizations to smaller blocks such as /56 or /64 for smaller networks or branch offices.

End Users: End users, such as homes and small businesses, are typically given a single block of /64 addresses. /64 blocks are widely used because they provide a large number of addresses (2^64 addresses) to connect multiple devices on the internal network.

Important actions

After obtaining an IPv6 prefix, either through an Internet Service Provider (ISP) or an assignment from a regional agency, there are several important actions that must be taken to successfully implement IPv6 addresses on your network:

1. Network Planning

Before implementing IPv6, detailed network planning is essential. This involves determining how address blocks will be assigned within the network, how the network will be segmented into subnets, which devices will need public IPv6 addresses, and which might use local or private addresses.

2. Router Configuration

The router acting as the network gateway must be configured to advertise the IPv6 prefix assigned to the internal network using Neighbor Discovery Protocols (NDP) and SLAAC, which will allow devices on the network to automatically generate their own IPv6 addresses. .

3. Device Configuration

End devices and servers must be configured to use IPv6. This may involve enabling IPv6 address automatic configuration (SLAAC) and, if necessary, manually configuring static addresses or using DHCPv6 to assign addresses to specific devices.

4. Configuration of Servers and Services

If there are servers that offer services over IPv6, they need to be configured appropriately so that they listen on IPv6 addresses and are available for incoming connections.

5. Firewall and Security Configuration

When deploying IPv6, it is important to ensure that the network firewall is properly configured to allow legitimate IPv6 traffic and block unwanted traffic. It is also essential to consider security best practices specific to IPv6.

6. Application Migration

If the network already had IPv4 implemented and is migrating to IPv6, some applications and services may need to be updated or adapted to work correctly with IPv6.

7. Monitoring and Maintenance

Once IPv6 is implemented, it is essential to constantly track and monitor the network to detect any problems or anomalies. Maintenance policies and periodic updates must also be implemented to ensure optimal and secure operation of the network.

8. Training and Awareness

It is important to provide training to network administrators and end users on how to work with IPv6, especially if they are used to IPv4. Awareness of the differences and advantages of IPv6 is crucial for a successful transition.

Example

In this example, an IPv6 /48 prefix assignment will be used for the enterprise:

IPv6 prefix assigned by the RIR:

2001:0db8:1234::/48

Company information

  • Company Name: “ExampleCorp”
  • Number of offices: 3 (Headquarters, Branch A, Branch B)
  • Departments: Sales, Marketing, Finance, IT (Information Technology)

Network Planning

  1. Divide the Assigned Prefix into Subnets
  • Assign a /56 block to each office for their internal network.
  • Reserve a /64 block for the loopback network.
  1. Subnet Assignment
  • Headquarters:
    • Red interna: 2001:0db8:1234:0001::/56
    • Loopback: 2001:0db8:1234:0001::/64
  • Branch A:
    • Red interna: 2001:0db8:1234:0002::/56
    • Loopback: 2001:0db8:1234:0002::/64
  • Branch B:
    • Red interna: 2001:0db8:1234:0003::/56
    • Loopback: 2001:0db8:1234:0003::/64
  1. Assigning Addresses to Devices
  • Use SLAAC for end devices on each internal network.
  • Configure static addresses for servers and devices with critical functions.
  1. Addressing Policy
  • Enable Privacy Extensions for end devices.
  • Configure DHCPv6 to assign static addresses to certain devices or to provide additional network information.
  1. Routing Planning
  • Configure routers in each office to advertise internal subnets and provide connectivity between branches and to the Internet.
  1. Security
  • Implement ACLs (access control lists) on routers and firewalls to allow necessary traffic and protect against unauthorized traffic.
  1. Documentation and Management
  • Keep detailed records of network planning, address assignment, and configuration.
  • Establish a management plan for the maintenance and future expansion of the network.
  1. Testing and Validation
  • Perform extensive testing before putting the configuration into production to ensure that connectivity is working properly and there are no interruptions to existing services.

This example provides an overview of how an IPv6 network might be planned for a company with multiple offices and departments. The exact planning may vary depending on the specific needs and requirements of the company.

It is important to note that IPv6 offers significant flexibility in address allocation and network structure, making it easier to adapt planning to different situations and scenarios.

Note: To know how to assign subnets in IPv6, review the Subnetting in IPv6 documentation.

Brief knowledge quiz

What do you think of this article?
Do you dare to evaluate your learned knowledge?

QUIZ - IPv6 Address Distribution

Recommended book for this article

Do you want to suggest a topic?

Every week we post new content. Do you want us to talk about something specific?
Topic for the next blog

Leave a comment

Your email address will not be published. Required fields are marked with *

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011