#21927: mwan3 mark all IPv6 links as down
------------------------------+------------------------
 Reporter:  mrfrezee          |      Owner:  developers
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
Component:  packages          |    Version:  Trunk
 Keywords:  ipv6 mwan3 trunk  |
------------------------------+------------------------
 Software versions :

 OpenWrt - OpenWrt Designated Driver r48639
 LuCI - git-16.034.34990-8ae57f6

 mwan3 - 2.0-2
 mwan3-luci - 1.4-4

 ''Note: Using 6to4, testing with DHCPv6 in a few''

 Issue:
 Hi,

 As discussed in https://forum.openwrt.org/viewtopic.php?pid=312654#p312654
 mwan3 seems to get a wrong gateway from lib/functions/network.sh (at least
 in 6to4)

 Output from script used by mwan3:
 {{{
 root@net002:~# . /lib/functions/network.sh && network_get_gateway6 gateway
 WAN2_V6 && echo $gateway
 ::
 root@net002:~# . /lib/functions/network.sh && network_get_gateway gateway
 WAN2 && echo $gateway
 *.*.252.1
 }}}

 Can't ping the gateway returned from the script:
 {{{
 root@net002:~# ping6 -I 6in4-WAN2_V6 ::
 PING :: (::): 56 data bytes
 ping6: sendto: Permission denied
 root@net002:~# ping6 -I 6in4-WAN2_V6 ::1
 PING ::1 (::1): 56 data bytes
 ping6: sendto: Permission denied
 }}}

 Can ping the monitoring IP:
 {{{
 root@net002:~# ping6 -I 6in4-WAN2_V6 2001:4860:4860::8888
 PING 2001:4860:4860::8888 (2001:4860:4860::8888): 56 data bytes
 64 bytes from 2001:4860:4860::8888: seq=0 ttl=54 time=25.668 ms
 64 bytes from 2001:4860:4860::8888: seq=1 ttl=54 time=25.678 ms
 ^C
 --- 2001:4860:4860::8888 ping statistics ---
 2 packets transmitted, 2 packets received, 0% packet loss
 round-trip min/avg/max = 25.668/25.673/25.678 ms
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/21927>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to