Opened 3 years ago

Last modified 3 years ago

#18031 new defect

IPv6 on 14.07 doesn't work until after restarting network

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Barrier Breaker 14.07
Keywords: Cc:


I was running a trunk snapshot from a few months ago, and ipv6 was working fine.

However, after upgrading to 14.07 Barrier Breaker, I can not use ipv6 on boot, until I restart networking with /etc/init.d/network restart.

I've got a /48 routed to my line by my isp.

I've got:

option ipv6 1 on the wan interface.

and then:

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

I've then got this on each local interface (with different hint's):

        option ip6hint       2
        option ip6assign   64
        list ip6class           wan6

Upon boot, I get a correct looking ipv6 address on the pppoe-wan interface - and it's getting the correct prefix for my /48 from the ISP, as all the internal interfaces have the correct addresses, eg:

   inet6 addr: 2001:xxx:xxxx:2::1/64 Scope:Global

Clients on the network seem to be getting addresses fine via RA/DHCPv6.

However, when I try to ping6 from the router:

# ping6
PING (2a00:1450:4009:801::1001): 56 data bytes
ping6: sendto: Operation not permitted

Or from a client machine (mac):

$  ping6
ping6: UDP connect: No route to host

If I do a /etc/init.d/network restart - it all starts working fine.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by anonymous

(you also seem to have to restart odhcpd after restarting networking to get RA/DHCPv6 working again for downstream interfaces)

comment:2 Changed 3 years ago by henkpoley@…

Given that you are also on XS4ALL (2001::), you are probably also using the Fritz!Box 7360 (or one of AVM's other VDSL modems).

This modem by default does not hand out IPv6 addresses & masks with enough room to do delegation.
You can check on your openwrt box with ifstatus wan6. The "ipv6-prefix" will show a "mask" value of 64. It needs to be below 64.

If you follow this guide, your Fritz!Box will start handing out a mask of 62:

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.