Description | This article describes the option to allow a DHCPv6 server to automatically add routing for IPv6 Prefix Delegation. |
Scope | FortiGate v7.6.3. |
Solution |
Before v7.6.3, IPv6 Prefix Delegation is configured according to the following guide: IPv6 prefix delegation
The scenario is like this: For IP assignment: FortiGate (DHCP6 server) ---> CPE/ONT --- > End-Users (PC’s, Tablets, etc)
After FortiGate acts as a DHCP Server with an IPv6 subnet of /40, the CPE/ONT should receive a Prefix of /64 via the Prefix Delegation.
The endpoint then got an IP, and when it tries to reach the Internet, traffic is dropped on the FortiGate side due to a missing route on the FortiGate to return the traffic to the correct ONT/CPE.
config prefix-range edit 1 set start-prefix 2803:4320:1100:100:: set end-prefix 2803:4320:11ff:: set prefix-length 64 next end
The DHCP6 server is assigned the prefixes according to the configuration: FGT-HUB # execute dhcp6 lease-list
The endpoint received an IP, and when it tries to browse to the Internet traffic is dropped on the FortiGate side due to 'reverse path check failed':
FGT-HUB # id=65308 trace_id=7 func=resolve_ip6_tuple_fast line=5065 msg="vd-root:0 received a packet(proto=58, 2803:4320:1100:100:b91a:6353:4190:a960:1->2607:f8b0:4008:809::200 from VLAN300. type=128, code=0, id=1, seq=12."
This is expected because there is no route to send the traffic back to the client; instead, a default route is shown on routing-table:
FGT-HUB # get router info6 routing-table 2803:4320:1100:100:b91a:6353:4190:a960
On v7.6.3, a new feature was introduced to allow FortiGate to automatically install a route for each IPv6 Delegated prefix and remove it once the lease expires:
FGT-HUB # get system status | grep Version
FGT-HUBDC1 (2) # config system dhcp6 server
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.