IPv6 and RPF
I have a somewhat working setup on a 91G running 7.4.8, that I am struggling with. Sometimes it works fine, now it doesn't. I have IA-PD from my ISP, and it seems to be correct. I have three interfaces on LAN side that gets each their own /64:
lan (shortened)
ip6-mode :
nd-mode : basic
ip6-address : 2a01:xxxx:161f:670a::1/64
ip6-allowaccess : ping https ssh
ip6-prefix-mode : dhcp6
dhcp6-prefix-delegation: disable
dhcp6-information-request: disable
ip6-delegated-prefix-iaid: 1
ip6-upstream-interface: Vlan102
ip6-subnet : ::a:0:0:0:1/64
The other interfaces have :b: and :c: respectively. Now, when it doesn't work I see that the FortiGate claims there be an RPF check error:
id=65308 trace_id=1 func=resolve_ip6_tuple_fast line=5109 msg="vd-root:0 received a packet(proto=58, 2a01:xxxx:161f:6700:4d1d:8bf:981b:5e94:1423->2a01:xxxx:161f:670a::1:128) from lan. type=128, code=0, id=1423, seq=0."
id=65308 trace_id=1 func=resolve_ip6_tuple line=5260 msg="allocate a new session-00000290"
id=65308 trace_id=1 func=ip6_route_input line=2197 msg="reverse path check failed, drop"
I do see that it lists /128 as mask. Is this correct? The interface itself is /64. I've tried to enable asymroute without any luck. The FortiGate can ping fine.
fortigate # execute ping6 google.com
PING google.com(2a00:1450:400f:803::200e) 56 data bytes
64 bytes from 2a00:1450:400f:803::200e: icmp_seq=1 ttl=120 time=8.85 ms
64 bytes from 2a00:1450:400f:803::200e: icmp_seq=2 ttl=120 time=8.85 ms
^C