Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    RADVD error on ue0

    Scheduled Pinned Locked Moved IPv6
    1 Posts 1 Posters 129 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      artenpie
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.