#20354: Statefull IPv6 adressing does not broadcast correct IPv6 gateway
-------------------------------------------------+-------------------------
 Reporter:  gnutella                             |      Owner:  developers
     Type:  defect                               |     Status:  new
 Priority:  normal                               |  Milestone:  Chaos
Component:  base system                          |  Calmer (trunk)
 Keywords:  ipv6 dhcpv6 gateway ra_management    |    Version:  Trunk
  nexthop                                        |
-------------------------------------------------+-------------------------
 Using OpenWRT latest development build:

 OpenWRT is configured to serve stateful IPv6 only:

 {{{
 config dhcp 'lan'
         ....
         option ra 'server'
         option dhcpv6 'server'
         option ra_management '2'

 config host
         option name 'sony-vaio'
         option ip '192.168.1.x'
         option mac '54:42:49:xx:xx:xx'
         option duid '0004901071a15f278795axxxxxxxxxxxxxxxxxxxxx'
         option hostid '3'

 }}}

 /etc/config/networking

 {{{
 config globals 'globals'
         option ula_prefix 'fe80:ea94:f6ff:febb::'

 ....
 config interface 'lan'
         option ifname 'eth0.1'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.x'
         option netmask '255.255.255.0'
         option proto 'static'
         option ip6addr '2a01:e35:xxxx:xxx::1:fe/64'
         option ip6prefix  '2a01:e35:xxxx:xxxx::/64'
         option ip6gw '2a01:e35:xxxx:xxxx::1'
         option ip6assign '64'
 }}}


 The client is a Debian workstation with IPv6 support.

 The client receives the correct IPv6:
 2a01:e35:xxxx:xxxx::1

 But the route is not set to IPv6 adress of the gateway within the
 ula_prefix range. As a result, client cannot connect to IPv6.

 Client routing address is;

 {{{
 /sbin/route -A inet6
 Table de routage IPv6 du noyau
 Destination                    Next Hop                   Flag Met Ref Use
 If
 2a01:e35:87d8:61b0::3/128      ::                         U    256 0     0
 eth0
 fe80::/64                      ::                         U    256 0     7
 eth0
 ::/0                           ::                         !n   -1  1286863
 lo
 ::1/128                        ::                         Un   0   11
 135 lo
 2a01:e35:87d8:61b0::3/128      ::                         Un   0   1    21
 lo
 fe80::5642:49ff:fe87:4f74/128  ::                         Un   0   1    37
 lo
 ff00::/8                       ::                         U    256 0     0
 eth0
 ::/0                           ::                         !n   -1  1286863
 lo
 }}}

 There is a missing entry:

 {{{
 ::/0                           fe80::ea94:f6ff:febb:ae16  UG   100 3     0
 eth0
 }}}

 What is your opinion? Is this a bug or a feature which needs more
 configuration? How can server a default IPv6 gateway to client, correctly
 set to openWRT gateway ula_prefix + suffix?

--
Ticket URL: <https://dev.openwrt.org/ticket/20354>
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