Den 2015-10-14 kl. 00:03, skrev Sebastian Kemper: > 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! You have to configure br-lan with a public prefix to get openwrt to announce a default route. And radvd to, to get addresses for the clients. (you could try ping6 google.com from openwrt just to check that you have ipv6 working)
0x82663443.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
