• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Solved -How to setup OpenWrt Barrier Breaker 14.07 6in4 tunnel?

Started by jea101, October 18, 2014, 12:04:12 PM

Previous topic - Next topic

jea101

How to setup OpenWrt Barrier Breaker 14.07 6in4 tunnel?
Router WD My Net 750
Firmware OpenWrt Barrier Breaker 14.07 / LuCI Trunk (0.12+svn-r10530)
Installed luci-proto-ipv6 and 6to4 packages
How and where do I configure the tunnel?

jea101

my tunnel is up and working
here is the wan6 info

config interface 'wan6'
        option ifname '@wan'
        option proto '6in4'
        option mtu '1424'
        option peeraddr '216.218.224.42'
        option ip6addr '2001:470:1f0e:ffff::2/64'
        option ip6prefix '2001:470:xxxx::/48'
        option tunnelid '999999'
        option username 'name'
        option password 'password'


my complete network file


root@OpenWrt09:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdf4:baa6:8da1::/48'

config interface 'lan'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option gateway '192.168.zzz.1'
        option broadcast '192.168.zzz.255'
        option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
        option _orig_bridge 'true'
        option ifname 'eth0.1'
        option ipaddr '192.168.zzz.1'
        option dns '65.32.5.111 65.32.5.112 192.168.zzz.1'
        option ip6addr '2001:470:xxxx:1::1/64'
        option ip6gw '2001:470:xxxx:1::1'

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option macaddr 'C8:6C:87:36:F8:30'

config interface 'wan6'
        option ifname '@wan'
        option proto '6in4'
        option mtu '1424'
        option peeraddr '216.218.224.42'
        option ip6addr '2001:470:1f0e:ffff::2/64'
        option ip6prefix '2001:470:xxxx::/48'
        option tunnelid '999999'
        option username 'name'
        option password 'password'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option vid '1'
        option ports '0t 1t 4'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 5'
        option vid '2'

config switch_vlan
        option device 'switch0'
        option vlan '3'
        option vid '5'
        option ports '0t 1t 3'

config switch_vlan
        option device 'switch0'
        option vlan '4'
        option ports '0t 1t 2'
        option vid '7'

config interface 'BR_VL5'
        option type 'bridge'
        option proto 'static'
        option ifname 'eth0.5'
        option netmask '255.255.255.0'
        option ipaddr '192.168.yyy.1'
        option gateway '192.168.yyy.1'
        option broadcast '192.168.yyy.255'
        option dns '65.32.5.111 65.32.5.112 192.168.yyy.1'

config interface 'BR_VL7'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option gateway '172.vv.www.1'
        option broadcast '172.vv.www.255'
        option _orig_ifname 'eth0.7 radio0.network1 radio0.network2'
        option _orig_bridge 'true'
        option ifname 'eth0.7'
        option ipaddr '172.vv.www.1'
        option dns '172.vv.www.250 172.vv.www.250 172.vv.www.1'
        option ip6addr '2001:470:xxxx:2::1/64'
        option ip6gw '2001:470:xxxx:2::1'

root@OpenWrt09:/etc/config#