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

    Problem with ipv6 default gateway?

    Scheduled Pinned Locked Moved IPv6
    8 Posts 4 Posters 5.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Ok I was messing around with something,  see this thread http://forum.pfsense.org/index.php/topic,39215.0.html

      Anyway, I put the one line I had removed back.  Even changed my tunnel back to /64 vs 128 I show tunnel up, and can ping the gateway, etc.  But default route is missing.  Tried enable/disable default ipv6 gateway in routes, just get this error in log

      Jul 27 08:15:11 php: /system_gateways.php: The command '/sbin/route -inet6 default '2001:470:1f10:b85::1'' returned exit code '64', the output was 'route: illegal option – i usage: route [-dnqtv] command [[modifiers] args]'
      Jul 27 08:15:11 php: /system_gateways.php: ROUTING: setting IPv6 default route to 2001:470:1f10:b85::1

      Only way I can put the default route back is via command at the shell

      route -n add -inet6 default 2001:470:1f10:b85::1

      Seems to me this command is not valid route -inet6 default, the correct is like above?

      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.7.2, 24.11

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

        That got broken with a recent route enhancement change, $action is ending up blank where it shouldn't be, will be fixed at some point today.

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

          sweet - thanks!

          Kind of on topic question, I was trying to find a way to search commits for that command, etc.  To see if I could find the commit that did it, but don't really see anyway to search github for anything.

          How would you go about tracking down what specific change did this?  I would much rather be able to help and say, hey did commit xyz here is link break this?  I see it changed X to Y, etc.

          And I could even verify by undoing that specific commit for example.

          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.7.2, 24.11

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

            @johnpoz:

            How would you go about tracking down what specific change did this?  I would much rather be able to help and say, hey did commit xyz here is link break this?  I see it changed X to Y, etc.

            And I could even verify by undoing that specific commit for example.

            check here
            http://redmine.pfsense.com/projects/pfsense/activity

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

              sweet thanks for the link that is exactly what I was looking for ;)

              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.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                This is fixed in latest code.

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

                  Yup sure is, I went in and changed it to .3 – default reflected that instantly, changed back to .1 and instantly changed

                  Thanks!

                  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.7.2, 24.11

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

                    @johnpoz:

                    How would you go about tracking down what specific change did this?  I would much rather be able to help and say, hey did commit xyz here is link break this?  I see it changed X to Y, etc.

                    'git blame' does just that, you have to checkout the repo from github. I wasn't sure exactly where that was, so from my git root for mainline I did:

                    grep -r route * |grep inet6

                    which found system.inc, then

                    git blame etc/inc/system.inc

                    shows all the lines and which commit last changed them (first column is the commit ID). 'git show xxxx' where xxxx is the commit ID will show the entire commit. Lots more info on git usage on github's help pages if you want to get in further depth. http://help.github.com/

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