openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
162 stars 98 forks source link

Setting up stateless auto-configuration for 6LoWPAN #97

Open mpbn4 opened 7 years ago

mpbn4 commented 7 years ago

I need some help setting up OpenWRT as a router for 6LoWPAN. I'm trying to follow a guide which uses radvd but I can't proceed analogically based on README.md from this repo. OpenWRT wiki says that radvd is deprecated and one should use odhcpd instead.

How does one set up following options in odhcpd?

interface bt0
{
    AdvSendAdvert on;
    prefix 2001:db8::/64
    {
        AdvOnLink off;
        AdvAutonomous on;
        AdvRouterAddr on;
    };
};

So far I only found how to enable router advertisements and DHCPv6 server. Prefix and message flags are still missing.