I'm new to OpenWRT and trying to figure out how to use the 6RD my provider uses. It worked on a Fritz!Box without any special configuration. The examples found in the manual and on this forum suggest that I must know some parameters. However my providers sends them through DHCPv4. After much trial and error I've the following changes (* at beginning of line) in /etc/config/network
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
* option ip6assign '64'
* option ip6hint '13'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
* option iface6rd 'wan6'
config interface 'wan6'
option ifname '@wan'
* option proto '6rd'
And in /etc/config/dhcp the follwoing:
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
* option dhcpv6 'disabled'
* option ra 'server'
With that I get the correct IPv6 addresses -- as checked with the last part of the IPv4 -- and all machines on my network get an IPv6 address. The can ping6 each other as can the router. However none can reach the outside world. The output from ifconfig:
6rd-wan6 Link encap:IPv6-in-IPv4
inet6 addr: 2001:838:ad45:5300::1/40 Scope:Global
inet6 addr: ::77.174.69.83/128 Scope:Compat
UP RUNNING NOARP MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:11600 (11.3 KiB)
br-lan Link encap:Ethernet HWaddr 30:B5:C2:74:CC:15
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2001:838:ad45:5313::1/64 Scope:Global
inet6 addr: fd7b:9067:127d:13::1/64 Scope:Global
inet6 addr: fe80::32b5:c2ff:fe74:cc15/64 Scope:Link
...
The eth0, eth0.1, etho.2, lo and wlan0 only have local IPv6 adresses. As said the above is the only changes from an out of the box flashed image. Alle xemaples found in this forum or manuals don't result in anything that gives an IPv6 address range from my provider or gives out addresses on my network.
If more output or tests are needed for answering, please say so. I'm out of ideas .
(Last edited by hvdkamer on 28 Apr 2015, 15:10)