Prefix Delegation gets lost after some hours
Hi everyone,
I'm new to Fortigate and want to thank you in advance for your support! I have a strange problem: After some hours, the prefix delegation gets lost.
My setup:
Vodafone (via calbe, provides a /59 net) > Cable Router: Fritzbox 6670 (7.6.3) > Fortigate 61 E (7.0.9 build 0444 mature)
The Fritzbox keeps one /60 net for itself and delegates the other /60 net to the Fortigate.
In the Fortigate, the WAN1 interface is connected to the Fritzbox and ipv6-setup is this:
config ipv6
set ip6-allowaccess ping https
set dhcp6-prefix-delegation enable
set autoconf enable
config dhcp6-iapd-list
edit 5
set prefix-hint ::/59
set prefix-hint-plt 0
set prefix-hint-vlt 0
next
...
The interface "internal" (hardware-switch) has three VLANs, the first is set up like this:
config ipv6
set ip6-mode delegated
set ip6-allowaccess ping https
set ip6-delegated-prefix-iaid 5
set ip6-send-adv enable
set ip6-manage-flag enable
set ip6-other-flag enable
set ip6-upstream-interface "wan1"
set ip6-subnet 0:0:0:1::/64
config ip6-delegated-prefix-list
edit 1
set upstream-interface "wan1"
set delegated-prefix-iaid 5
set subnet 0:0:0:1::/64 // 0:0:0:2::/64 and 0:0:0:3::/64 for the other VLANS
set rdnss-service delegated
next
end
end
set interface "internal"
set vlanid 10 // 20 and 30 for the other VLANs
next
end
That works great. WAN1 gets the /60 net delegated and delegates three /64 nets to the three VLANs and the clients get an IPv6 address from the according /64 net.
"get" in the CLI for WAN1 shows:
dhcp6-prefix-delegation: enable
delegated-prefix iaid 5 : 2a02:8071:xxxx:xx30::/60
"get" for VLAN1 shows:
ip6-address : 2a02:8071:xxxx:xx31::/64
BUT: Just for some hours! After that, "get" in the CLI for WAN1 just shows:
dhcp6-prefix-delegation: enable
delegated-prefix iaid 5 : ::/0
and logically for VLAN1:
ip6-address : ::/0
I've done a lot of research (knowledge base, community, google...) and never read anything about temporary prefix delegation.
Vodafone provides dynamic prefixes, but that's not the problem. When I restart the fortigate, PD works again for some time (with the same prefix as before), but gets lost again after a few hours.
What am I doing wrong? Does someone have an idea?
Thanks
Simon
