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

    LAN IPv6 is different then what was assigned

    Scheduled Pinned Locked Moved IPv6
    11 Posts 3 Posters 4.1k 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.
    • D
      databeestje
      last edited by

      this is caused by a accept router advertisements sysctl. The problem is that it is not per interface like it should.

      I need a newer FreeBSD patch for that.

      1 Reply Last reply Reply Quote 0
      • C
        Cino
        last edited by

        Thanks for the quick reply! Good to know..

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          Yeah I noticed this awhile back as well that it was adding an ipv6 address to the lan interface, you can always just delete the specific IP, but as mentioned just turn off router advertisements with sysctl and you should be good.

          sysctl net.inet6.ip6.accept_rtadv=0

          You can then add the command to your /etc/sysctl.conf

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • C
            Cino
            last edited by

            @johnpoz:

            Yeah I noticed this awhile back as well that it was adding an ipv6 address to the lan interface, you can always just delete the specific IP, but as mentioned just turn off router advertisements with sysctl and you should be good.

            sysctl net.inet6.ip6.accept_rtadv=0

            You can then add the command to your /etc/sysctl.conf

            Thanks for the suggestion. I gave it a try and it works… Could we add this to System Tunables instead of changing the sysctl.conf file?

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              I just double checked mine and works when you do it manually and I have the setting in my conf file - but just got onto the box and yet again noticed the autoconf ipv6 added to my lan interface.

              something is not quite right unless my etc/conf got overwritten.  Just checked and its still there, what the hell..

              I will take a look at it again later and see if still off, and then when I get home tonight can reboot it and see if it comes back?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • C
                Cino
                last edited by

                I just noticed it myself. After reboot, it had the LAN interface IP…..Went back to check after your post and autoconf changed the IP. I added the setting to the System Tunables table and rebooted the box, it default to value of 1

                1 Reply Last reply Reply Quote 0
                • D
                  databeestje
                  last edited by

                  if your wan is dhcp it is toggled each time you renew a lease.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    Ah that would explain it then - how to fix?

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • D
                      databeestje
                      last edited by

                      the patch I've used also declares a few more arguments for ifconfig. unfortunately they do not appear to work the  way they should.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        so what your saying is there currently is no fix?

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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