Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Routing Platforms => Topic started by: locodog on December 05, 2015, 01:51:27 PM

Title: Prefix delegation OpenWRT
Post by: locodog on December 05, 2015, 01:51:27 PM
Hi, I have IPv6 setup on my OpenWRT and with radvd set SLAAC for any host connected to my router and it's all working great. I also have a Mikrotik device with dhcpv6 client and I would like to setup my OpenWRT to delegate prefix (/48 I got from HE) to be splitted to /60  to that mikrotik. After looking https://wiki.openwrt.org/doc/uci/network6#downstream_configuration_for_lan-interfaces  I tried to make couple changes to my /etc/config/network file to look like this

config interface 'henet'
option proto '6in4'
option peeraddr '216.66.87.14'
option ip6addr '2001:470:1f1a:30e::2/64'
option ip6prefix '2001:470:1f1b:30e::/64'
option tunnelid '314325'
option username ##########
option password ##########

config interface 'lan'
option proto 'static'
option ip6assign '60'
option ip6prefix '2001:470:210d::/48'

But it's not working, can someone please point me in the right direction?
Title: Re: Prefix delegation OpenWRT
Post by: cholzhauer on December 06, 2015, 03:00:12 PM
You need to use /64, not /48 or /60.