Custom IPv6 router advertisements

Hi,

I have an OpenWRT router between two local IPv6 (ULA) subnets. The router is not the main one, but I would like that it made some router advertisements, so that devices across those subnets communicate with each other using their local addresses. Would such a setup be possible?

I know that radvd would support this, e.g.:

interface eth0 {
    IgnoreIfMissing on;
    AdvDefaultPreference medium;
    MaxRtrAdvInterval 600;
    AdvReachableTime 0;
    AdvIntervalOpt on;
    AdvSendAdvert on;
    AdvDefaultLifetime 0;
    AdvOtherConfigFlag off;
    AdvRetransTimer 0;
    AdvCurHopLimit 64;
    route fd00::/64 {
        AdvRouteLifetime infinity;
        AdvRoutePreference medium;
        RemoveRoute off;
    };
};

The proper method would be to make static IPv6 Routes on each device - to reach the other's ULA subnet. See:

I'm not sure why you think you'd use RA.

1 Like

Static routes or dynamic routing protocol to exchange the available routes.

1 Like