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

    ipv6 broken: radvd: can't join ipv6-allrouters on <interface>

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    144 Posts 15 Posters 60.6k 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.
    • I
      Irata @motific
      last edited by

      A fresh install causes the same error for me, once stateless IPv6 is setup. I can't find a stable working system whatever I do, other than back to 2.4.

      Because I'm using an ESXi testbed, it's easy to spin up new installs.

      I do think there is something fundamental here, given the reports from wide ranging setups.

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        the error is generated from device-bsd44.c, a patch it's inside the port of radvd for freebsd
        tracking back there was similar problem. related Bug #2878 https://redmine.pfsense.org/issues/2878 from 2013

        /* XXX: See pfSense ticket #2878 */
        +	setsockopt(sock, IPPROTO_IPV6, IPV6_LEAVE_GROUP, &mreq, sizeof(mreq));
        +
        +	if (setsockopt(sock, IPPROTO_IPV6, IPV6_JOIN_GROUP,
        +			&mreq, sizeof(mreq)) < 0) {
        +		flog(LOG_ERR, "can't join ipv6-allrouters on %s", iface->props.name);
        +		return (-1);
        + }
        

        maybe it's time for a new ticket
        https://redmine.pfsense.org/issues/9577

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • S
          strangegopher
          last edited by

          idk if we open a ticket devs might just ignore it, first we should get devs on the forums to tell us if we need to open a bug.

          M 1 Reply Last reply Reply Quote 1
          • M
            motific @strangegopher
            last edited by

            @strangegopher - they're aware of it, one of the devs referred to the ticket in a thread with an issue I'm having.

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              Now it hit me too:

              Jun 29 07:17:29 radvd 62926 can't join ipv6-allrouters on hn0.10
              Jun 29 07:15:22 radvd 62926 can't join ipv6-allrouters on hn0.10
              Jun 29 07:15:00 radvd 62926 can't join ipv6-allrouters on hn0.9
              Jun 29 07:13:07 radvd 62926 can't join ipv6-allrouters on hn0.7
              Jun 29 07:12:47 radvd 62926 can't join ipv6-allrouters on hn0.10
              Jun 29 07:11:25 radvd 62926 can't join ipv6-allrouters on hn0.8
              Jun 29 07:11:23 radvd 62926 can't join ipv6-allrouters on hn0.9
              Jun 29 07:10:22 radvd 62926 can't join ipv6-allrouters on hn0.10
              Jun 29 07:08:10 radvd 62926 can't join ipv6-allrouters on hn0.10

              I 1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by

                welcome to the party !

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                1 Reply Last reply Reply Quote 0
                • I
                  Irata @maverick_slo
                  last edited by

                  @maverick_slo made any changes recently, or added any new IPv6 devices?

                  1 Reply Last reply Reply Quote 0
                  • M
                    maverick_slo
                    last edited by

                    No changes no new devices.
                    I just came home from vacation...

                    1 Reply Last reply Reply Quote 0
                    • kiokomanK
                      kiokoman LAYER 8
                      last edited by

                      i put here a workaround that seems to work for me

                      [2.5.0-DEVELOPMENT][root@pfSense.localdomain]/root: crontab -l
                      @hourly killall radvd && sleep 5 && /usr/local/sbin/radvd -p /var/run/radvd.pid -C /var/etc/radvd.conf -m syslog
                      

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      yon 0Y w0wW 2 Replies Last reply Reply Quote 1
                      • I
                        Irata
                        last edited by

                        On the recent snapshot (2.5.0.a.20190728.0536) I now also get the following repeated in the routing system log:

                        
                        Jul 30 16:50:49	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        Jul 30 16:50:42	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        Jul 30 16:50:41	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        Jul 30 16:50:34	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        Jul 30 16:50:29	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        Jul 30 16:50:24	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        Jul 30 16:50:21	radvd	72128	IPv6 forwarding on interface seems to be disabled, but continuing anyway
                        
                        1 Reply Last reply Reply Quote 1
                        • M
                          maverick_slo
                          last edited by

                          Yup same here, 2.5.0 is getting worse by every snapshot 😁
                          Ah well probably Ill go back to 2.4.4...

                          1 Reply Last reply Reply Quote 0
                          • I
                            Irata
                            last edited by

                            Looks like it is failing within this code in device-linux.c in radvd:

                            int check_ip6_forwarding(void)
                            {
                            	int value;
                            	FILE *fp = NULL;
                            
                            	fp = fopen(PROC_SYS_IP6_FORWARDING, "r");
                            .
                            .
                            .
                            

                            Which I think is checking for /proc/sys./... but there is no /proc/sys/... directory. There is also alternative code called in device-bsd44.c. So I'm wondering if radvd in 2.5.0 is being built for the wrong platform, or it's expecting a file that is now removed. But I admit this is a wild guess.

                            1 Reply Last reply Reply Quote 0
                            • S
                              strangegopher
                              last edited by

                              Netgate can't possibly ship 2.5.0 with this bug that essentially disables ipv6 support in pfsense. Still no dev replies or acknowledgment of Bug #9577. Hope people that are paying for netgate products or support ask for this to be fixed.

                              1 Reply Last reply Reply Quote 0
                              • kiokomanK
                                kiokoman LAYER 8
                                last edited by

                                Actually it is working for me, it's only a message log spamming out, they have time to correct it before the official release

                                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                Please do not use chat/PM to ask for help
                                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  Irata
                                  last edited by

                                  It's "working" here too with a radvd restart every 6 hours. I do a radvd service restart via Cron instead of a kill, which seemed cleaner but my approach causes IPv6 sessions to be dropped when the prefix is unadvertised briefly.

                                  Looking at the source code, that spam logging should not even be executing on a freebsd platform. So maybe it's a hint of what's broken.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    maverick_slo
                                    last edited by

                                    After 6 days my IPv6 died as well.
                                    Static assigned IPv6 works just fine, slaac and RA doesn`t. Client does not get IPv6 address at all.

                                    LOG:
                                    Aug 6 09:48:50 radvd 35714 can't join ipv6-allrouters on hn0.9
                                    Aug 6 09:48:50 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:48:10 radvd 35714 can't join ipv6-allrouters on hn0.7
                                    Aug 6 09:48:10 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:47:15 radvd 35714 can't join ipv6-allrouters on hn0.10
                                    Aug 6 09:47:15 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:44:37 radvd 35714 can't join ipv6-allrouters on hn0.10
                                    Aug 6 09:44:37 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:43:06 radvd 35714 can't join ipv6-allrouters on hn0.7
                                    Aug 6 09:43:06 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:42:05 radvd 35714 can't join ipv6-allrouters on hn0.8
                                    Aug 6 09:42:05 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:41:55 radvd 35714 can't join ipv6-allrouters on hn0.9
                                    Aug 6 09:41:55 radvd 35714 IPv6 forwarding on interface seems to be disabled, but continuing anyway
                                    Aug 6 09:41:46 radvd 35714 can't join ipv6-allrouters on hn0.10

                                    Ah well....

                                    1 Reply Last reply Reply Quote 0
                                    • yon 0Y
                                      yon 0
                                      last edited by

                                      me too . how fix it?

                                      alt text

                                      1 Reply Last reply Reply Quote 0
                                      • kiokomanK
                                        kiokoman LAYER 8
                                        last edited by kiokoman

                                        for the moment afaik only this -> https://forum.netgate.com/post/851662

                                        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                        Please do not use chat/PM to ask for help
                                        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                        1 Reply Last reply Reply Quote 0
                                        • yon 0Y
                                          yon 0 @kiokoman
                                          last edited by

                                          @kiokoman said in ipv6 broken: radvd: can't join ipv6-allrouters on <interface>:

                                          i put here a workaround that seems to work for me

                                          [2.5.0-DEVELOPMENT][root@pfSense.localdomain]/root: crontab -l
                                          @hourly killall radvd && sleep 5 && /usr/local/sbin/radvd -p /var/run/radvd.pid -C /var/etc/radvd.conf -m syslog
                                          

                                          What is this principle?

                                          1 Reply Last reply Reply Quote 0
                                          • kiokomanK
                                            kiokoman LAYER 8
                                            last edited by

                                            restart Router Advertisement Daemon every hour, to me the problem arise every some hours so restarting it mitigate the problem

                                            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                            Please do not use chat/PM to ask for help
                                            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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