Skip to content

IPv6 Setup — Cisco (IOS-XE 17.x)

This guide covers how to configure IPv6 with prefix delegation on Cisco IOS-XE 17.x routers for use with Zal Ultra ISP CRM.

⚠️ PREREQUISITES

  • Cisco router running IOS-XE 17.x or later
  • PPPoE server already configured and working with IPv4
  • RADIUS client configured and connected to Zal Ultra
  • Valid IPv6 prefix allocated from your upstream provider
  • Backup your router configuration before making changes

Architecture

Subscriber CPE (DHCPv6-PD Client)

Cisco Router (BNG / PPPoE Server + RADIUS Client)

Zal Ultra (RADIUS Server + Billing)

Step 1: Enable IPv6 Routing

cisco
! Enable IPv6 unicast routing globally
configure terminal
ipv6 unicast-routing
ipv6 cef

Step 2: Create IPv6 Local Pool

cisco
! Create an IPv6 local pool for prefix delegation
ipv6 local pool IPV6-PD-POOL 2001:db8:1000::/40 56

! Verify the pool
show ipv6 local pool
ParameterDescription
IPV6-PD-POOLName of the IPv6 pool
2001:db8:1000::/40Your allocated IPv6 prefix
56Prefix length delegated to each subscriber

Step 3: Configure DHCPv6 Pool

cisco
! Create DHCPv6 pool for subscriber prefix delegation
ipv6 dhcp pool IPV6-SUBSCRIBER-POOL
  prefix-delegation pool IPV6-PD-POOL
  dns-server 2001:4860:4860::8888
  dns-server 2001:4860:4860::8844
  domain-name yourisp.com

Step 4: Configure Virtual Template with IPv6

cisco
! Update virtual template for PPPoE with IPv6 support
interface Virtual-Template1
  ip unnumbered Loopback0
  ipv6 enable
  ipv6 dhcp server IPV6-SUBSCRIBER-POOL
  ipv6 nd ra interval 30
  ipv6 nd managed-config-flag
  ipv6 nd other-config-flag
  peer default ip address pool PPPoE-POOL
  ppp authentication chap callin
  ppp authorization radius

Step 5: Configure RADIUS for IPv6

cisco
! Ensure AAA is configured with IPv6 attributes
aaa new-model
aaa authentication ppp default group radius
aaa authorization network default group radius
aaa accounting network default start-stop group radius

! RADIUS server configuration
radius server ZAL-ULTRA
  address ipv4 <ZAL_ULTRA_IP> auth-port 1812 acct-port 1813
  key <YOUR_RADIUS_SECRET>

! Enable IPv6 attributes in RADIUS
radius-server attribute 6 on-for-login-auth
radius-server attribute 97 include-in-access-req

Step 6: Configure IPv6 on WAN Interface

cisco
! Assign IPv6 address to WAN / upstream interface
interface GigabitEthernet0/0
  ipv6 address 2001:db8::1/64
  ipv6 enable
  no shutdown

! Add default IPv6 route
ipv6 route ::/0 2001:db8::ffff

Step 7: Verify Configuration

cisco
! Check IPv6 interfaces
show ipv6 interface brief

! Check IPv6 routing table
show ipv6 route

! Check active PPPoE sessions
show pppoe session

! Check DHCPv6 bindings
show ipv6 dhcp binding

! Check IPv6 pool usage
show ipv6 local pool

Quick Reference

TaskCommand
Check IPv6 interfacesshow ipv6 interface brief
Check IPv6 routesshow ipv6 route
Check PPPoE sessionsshow pppoe session
Check DHCPv6 bindingsshow ipv6 dhcp binding
Check IPv6 poolshow ipv6 local pool
Save configurationwrite memory

Need Help?

If you need assistance with Cisco IPv6 configuration, please contact Onezeroart Support.

www.onezeroart.com