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

Support adding static router advertisments #74

Open ntninja opened 8 years ago

ntninja commented 8 years ago

Basically I want to be able to replace this radvd configuration snippet:

interface br-lan
{
        AdvSendAdvert on;
        AdvManagedFlag off;
        AdvOtherConfigFlag off;

        route fc00::/8
        {
                AdvRoutePreference medium;
        };
};

It statically advertises a route for the fc00::/8 address space on all LAN interfaces, nothing else; no assigning addresses, no extra subnet routes, just handing out that single route. This this possible with odhcpd right now? Is it hard to implement?

vfreex commented 8 years ago

+1

romanrm commented 8 years ago

Need this too. Was shocked to find that radvd got removed from OpenWRT, while its "replacement" odhcpd doesn't even have this basic feature.

zhoreeq commented 4 years ago

This is a very important feature. How can this be implemented?

zhoreeq commented 4 years ago

Meanwhile this package can be used instead https://github.com/ffulm/firmware/tree/master/package/simple-radvd