src icon indicating copy to clipboard operation
src copied to clipboard

Other devices cannot get IPv6 from IPv6 PD

Open RinCat opened this issue 1 year ago • 13 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug

My ISP gives /56 IPv6 PD from DHCPv6, where I successful assign it to the local links using "Track IPv6 on WAN"

WAN: IPv6 link-local | fe80::X:X:X:4ee4/64 IPv6 address | 2605:59c8:Y:Y:X:X:X:X/64 (not in the same range as prefix) IPv6 prefix | 2605:59c8:X:0000::/56 IPv6 gateway | auto-detected: fe80::X:X:X:X

LAN: IPv6 link-local | fe80::X:X:X:bfff/64 IPv6 address | 2605:59c8:X:0002:X:X:X:bfff/64

Hinting is 2

LAN is a VLAN, I also tried put it on a bridge.

However, no device in the network got IPv6.

I've searched for similar issues, but none that are exactly the same, and their solutions don't work.

I also noticed radvd report Can't assign requested address.

To Reproduce

Steps to reproduce the behavior: N/A

Expected behavior

Other device should able to get IPv6 from SLAAC or DHCPv6

Describe alternatives you considered

N/A

Relevant log files

radvd (48175): polling for 0 second(s), next iface is bridge1
radvd (48175): timer_handler called for bridge1
radvd (48175): ioctl(SIOCGIFFLAGS) succeeded on bridge1
radvd (48175): bridge1 is up
radvd (48175): bridge1 is running
radvd (48175): bridge1 supports multicast or is point-to-point
radvd (48175): mtu for bridge1 is 1500
radvd (48175): link layer token length for bridge1 is 48
radvd (48175): prefix length for bridge1 is 64
radvd (48175): checking ipv6 forwarding of interface not supported
radvd (48175): bridge1 linklocal address: fe80::A:B:C:D
radvd (48175): bridge1 address: 2605:59c8:E:F:G:H:I:J
radvd (48175): bridge1 address: fe80::5a9c:K:L:M
radvd (48175): bridge1 is ready
radvd (48175): checking ipv6 forwarding not supported
radvd (48175): sending RA to ff02::1 on bridge1 (fe80::5a9c:K:L:M), 5 options (using 120/1210 bytes)
radvd (48175): sendmsg: Can't assign requested address
radvd (48175): send_ra_forall failed on interface bridge1
radvd (48175): bridge1 next scheduled RA in 370.664 second(s)

Additional context

Environment

OPNsense 23.7.1_3-amd64 FreeBSD 13.2-RELEASE-p2 OpenSSL 1.1.1v 1 Aug 2023 Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz (4 cores, 4 threads)

RinCat avatar Aug 15 '23 19:08 RinCat