Hello all,

I'm trying to get IPv6 running. I'm not sure if my ISP supports it on my
connection, though.

My configuration is this:

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'pppoe'
        option username ''
        option password ''
        option ipv6 '1'

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

I captured ICMPv6 traffic to see if a prefix was offered or not:

tcpdump -n -e -s 0 -w /tmp/ip6.pcap -i any 'ip6 && icmp6 && (ip6[40] == 133 || \
ip6[40] == 134 || ip6[40] == 135 || ip6[40] == 136)'

Router Advertisements like the following were captured. They came from what
pppd calls "remote LL address".

Internet Control Message Protocol v6
    Type: Router Advertisement (134)
    Code: 0
    Checksum: 0x6cac [correct]
    Cur hop limit: 64
    Flags: 0x40
        0... .... = Managed address configuration: Not set
        .1.. .... = Other configuration: Set
        ..0. .... = Home Agent: Not set
        ...0 0... = Prf (Default Router Preference): Medium (0)
        .... .0.. = Proxy: Not set
        .... ..0. = Reserved: 0
    Router lifetime (s): 5400
    Reachable time (ms): 0
    Retrans timer (ms): 0
    ICMPv6 Option (MTU : 1492)
        Type: MTU (5)
        Length: 1 (8 bytes)
        Reserved
        MTU: 1492
    ICMPv6 Option (Prefix information : 2axx:xxxx:xxxx:xxx::/64)
        Type: Prefix information (3)
        Length: 4 (32 bytes)
        Prefix Length: 64
        Flag: 0xc0
            1... .... = On-link flag(L): Set
            .1.. .... = Autonomous address-configuration flag(A): Set
            ..0. .... = Router address flag(R): Not set
            ...0 0000 = Reserved: 0
        Valid Lifetime: 4294967295 (Infinity)
        Preferred Lifetime: 4294967295 (Infinity)
        Reserved
        Prefix: 2axx:xxxx:xxxx:xxx:: (2axx:xxxx:xxxx:xxx::)

Actually OpenWRT managed to configure am IPv6 address from this range on
the WAN interface automatically. Yet I don't have IPv6 connectivity.  In
the log I see messages like these:

Tue Oct 13 23:58:18 2015 daemon.warn odhcpd[4671]: A default route is present
but there is no public prefix on br-lan thus we don't announce a default route!

Any ideas?

Kind regards,
Sebastian
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to