RADVD error on ue0
-
If I connect a USB ethernet device (a Raspberry Pi0) via ue0 and enable IPv6 DHCP and router advertisements, I see the following error message about every 15 seconds in the System/Routing logs:
Dec 25 06:34:04 radvd 69952 ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
If I disable router advertisements on ue0 (but leave DHCPv6 enabled), the error messages stop, but of course IPv6 doesn't work.
This issue has existed in both CE and Plus for several releases back.
This same configuration works properly in OPNsense, so I think it's a bug in pfSense.
(As a workaround, if I assign ue0 as a member of a bridge along with a physical ethernet port (eg, ue0 and eth1), the RADVD error messages do not occur, and IPv6 works properly on the attached Pi0.)
In case it helps, here is the ue0 section of pfSense's radvd.conf file:
# Generated for DHCPv6 Server opt5 interface ue0 { AdvSendAdvert on; MinRtrAdvInterval 200; MaxRtrAdvInterval 600; AdvDefaultLifetime 1800; AdvLinkMTU 1500; AdvDefaultPreference medium; AdvManagedFlag on; AdvOtherConfigFlag on; prefix 2600:abcd:abcd:abcd::/64 { DeprecatePrefix on; AdvOnLink on; AdvAutonomous on; AdvValidLifetime 86400; AdvPreferredLifetime 14400; }; prefix fd04:abcd:abcd:abcd::/64 { DeprecatePrefix on; AdvOnLink on; AdvAutonomous on; }; route ::/0 { AdvRoutePreference medium; RemoveRoute on; }; RDNSS 2620:fe::fe 2620:fe::9 { AdvRDNSSLifetime 1800; }; DNSSL localdomain { AdvDNSSLLifetime 1800; }; };
And here it is for OPNsense:
# Generated RADVD config for manual assignment on opt3 interface ue0 { AdvSendAdvert on; MinRtrAdvInterval 200; MaxRtrAdvInterval 600; AdvLinkMTU 1500; AdvDefaultPreference medium; AdvManagedFlag on; AdvOtherConfigFlag on; prefix 2600:abcd:abcd:abcd::/64 { DeprecatePrefix on; AdvOnLink on; AdvAutonomous on; }; prefix fd04:abcd:abcd:abcd::/64 { DeprecatePrefix on; AdvOnLink on; AdvAutonomous on; }; RDNSS 2606:4700:4700::1111 2606:4700:4700::1001 { }; DNSSL localdomain { }; };
Thoughts?