Overview

An IPv6 Pool is a range of IPv6 prefixes that ISPBills allocates to PPPoE customers. ISPBills supports IPv6 for PPPoE customers by delivering IPv6 prefix information through the FreeRADIUS AAA system, allowing customers to receive IPv6 connectivity alongside their IPv4 connection.

Prerequisite: Your MikroTik router must be running a RouterOS version that supports IPv6, and IPv6 must be enabled on the router. Ensure your router firmware is up to date before configuring IPv6 pools.


How IPv6 Assignment Works

IPv6 addresses are assigned to PPPoE customers via RADIUS attributes delivered during authentication. ISPBills inserts the appropriate radreply attributes for each customer:

RADIUS Attribute Purpose
Framed-IPv6-Prefix The IPv6 prefix assigned directly to the customer's WAN interface
Delegated-IPv6-Prefix The IPv6 prefix delegated to the customer's LAN (via DHCPv6 Prefix Delegation)

When the customer's PPPoE client connects, the RADIUS server returns these attributes, and the MikroTik router assigns the specified prefixes to the session.


IPv6 vs. IPv4 Pool Differences

Aspect IPv4 Pool IPv6 Pool
Assignment unit Single IP address (e.g., 10.0.0.5) Prefix block (e.g., /64 or /56)
Assignment method Dynamic from pool range or static Framed-IP RADIUS attributes (Framed-IPv6-Prefix, Delegated-IPv6-Prefix)
Typical prefix per customer /32 (single address) /64 (WAN) + /56 or /48 (delegated LAN)
PPP Profile required Yes Yes (same profile as IPv4)

Creating an IPv6 Pool

  1. Navigate to Routers & Packages > IPv6 Pools.
  2. Click "New IPv6 Pool".
  3. Fill in the following fields:
Field Description
Pool Name A descriptive identifier (e.g., ipv6-pool-main, ipv6-zone-a)
IPv6 Prefix The parent IPv6 network block to allocate from (e.g., 2001:db8::/32)
Delegation Prefix Length The prefix length to delegate to each customer (e.g., /56 or /64). Each customer receives one prefix of this size.
  1. Click Save.

Assigning an IPv6 Pool to a PPP Profile

IPv6 pool assignment is linked to a PPP Profile:

  1. Go to Routers & Packages > PPP Profiles.
  2. Edit the relevant PPP profile.
  3. Select the IPv6 Pool to associate with this profile.
  4. Save the profile.

Customers connecting on this PPP profile will automatically receive an IPv6 prefix from the assigned IPv6 pool via RADIUS.


Profile Name Consistency

The PPP profile name in ISPBills and on the MikroTik router must match exactly. If they differ, the IPv6 RADIUS attributes may not be applied correctly, resulting in customers not receiving IPv6 connectivity.

Always manage PPP profile names through ISPBills. Do not rename profiles directly in MikroTik RouterOS.


Verifying IPv6 Connectivity

After configuring an IPv6 pool and assigning it to a PPP profile:

  1. Have a test customer connect via PPPoE.
  2. On the MikroTik router, check PPP > Active Connections to confirm an IPv6 address is shown for the session.
  3. From the customer's device, verify they have received an IPv6 address: run ipconfig (Windows) or ip -6 addr (Linux/macOS).
  4. Test external IPv6 connectivity by pinging an IPv6-enabled host (e.g., ping6 google.com).