#17510: /60 rather than /64 IPv6 'interface' route created on LAN interface
-----------------------------+-----------------------------------
  Reporter:  markzzzsmith@…  |      Owner:  developers
      Type:  defect          |     Status:  reopened
  Priority:  normal          |  Milestone:
 Component:  base system     |    Version:  Barrier Breaker 14.07
Resolution:                  |   Keywords:
-----------------------------+-----------------------------------

Comment (by markzzzsmith@…):

 I don't think it should be necessary to create custom on-link routes. The
 /64s on-link routes should be created automatically when then the address
 is configured with a prefix length of /64. e.g,

 root@OpenWrt:~# ip -6 addr add fd0f:f1b5:2af:ff00::1/64 dev br-lan
 root@OpenWrt:~# ip -6 addr show dev br-lan | grep fd0f:f1b5:2af:ff
     inet6 fd0f:f1b5:2af:ff00::1/64 scope global
 root@OpenWrt:~# ip -6 route show | grep fd0f:f1b5:2af:ff
 fd0f:f1b5:2af:ff00::/64 dev br-lan  proto kernel  metric 256
 root@OpenWrt:~#

 Not specifying the /64 on the address seems to make the 'ip' tool assume a
 /128 (which I think is reasonable), could that be why people think
 automatic creation of the corresponding /64 on-link route is broken in
 prior versions of Linux?

--
Ticket URL: <https://dev.openwrt.org/ticket/17510#comment:5>
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