I'm running 10.03.1 with kmod-ipv6, radvd and wide-dhcp6-client on a DG834 (ar7) and I think I've discovered a race between something -- perhaps pppd -- and sysctl. IPv6 is enabled on the ppp link, but I get no global IPv6 address when it's brought up. After much tracing, I find that I do get a global address if I insert a five second sleep (or so) in /etc/hotplug.d/iface/10-routes before:

   do_sysctl "net.ipv6.conf.$DEVICE.accept_ra" $accept_ra

Inserting the sleep after that line leaves me with no global address (as per unmodified file.)

Relevant parts of /etc/config/network are:

   config 'atm-bridge'
        option 'unit' '0'
        option 'atmdev' '0'
        option 'encaps' 'llc'
        option 'payload' 'bridged'
        option 'vci' '35'
        option 'vpi' '8'

   config 'interface' 'wan'
        option 'proto' 'pppoe'
        option 'ifname' 'nas0'
        option 'username' 'deleted'
        option 'password' 'deleted'
        option 'ipv6' '1'


Without the global address, dhcp6c gets a prefix delegation when the link is brought up, but is unable to renew it when the lease expires.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to