Problem with ipv6 default gateway?


  • Rebel Alliance Global Moderator

    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?



  • 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.


  • Rebel Alliance Global Moderator

    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.



  • @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


  • Rebel Alliance Global Moderator

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



  • This is fixed in latest code.


  • Rebel Alliance Global Moderator

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

    Thanks!



  • @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/


Locked