radvd-project / radvd

radvd | Official repository: https://github.com/radvd-project/radvd
https://radvd.litech.org/
Other
203 stars 107 forks source link

How to advertise 2 prefixes on an interface? #114

Closed ipilcher closed 5 years ago

ipilcher commented 5 years ago

I am trying to configure radvd to advertise 2 prefixes on an interface - an internal ULA prefix and a dynamic prefix delegated by my ISP.

My configuration file looks like this:

interface br253
{
        AdvSendAdvert on;
        MinRtrAdvInterval 30;
        MaxRtrAdvInterval 100;
        AdvDefaultLifetime 1800;
        AdvOtherConfigFlag on;

        prefix 2605:6000:8c82:1efd:0000:0000:0000:0000/64
        {
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr off;
        };

        prefix fd00:dcaf:bad:fd::/64
        {
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr off;
        };

        RDNSS fd00:dcaf:bad:fd::fffe
        {
                AdvRDNSSLifetime 150;
        };

        DNSSL penurio.us
        {
                AdvDNSSLLifetime 150;
        };
};

But only the delegated prefix is being advertised. (Verified with tcpdump/wireshark.)

What do I have to do to advertise both prefixes?

reubenhwk commented 5 years ago

Not sure. It should advertise both. What does the log say?

Sent from my iPhone

On Oct 1, 2019, at 5:34 PM, Ian Pilcher notifications@github.com wrote:

I am trying to configure radvd to advertise 2 prefixes on an interface - an internal ULA prefix and a dynamic prefix delegated by my ISP.

My configuration file looks like this:

interface br253 { AdvSendAdvert on; MinRtrAdvInterval 30; MaxRtrAdvInterval 100; AdvDefaultLifetime 1800; AdvOtherConfigFlag on;

    prefix 2605:6000:8c82:1efd:0000:0000:0000:0000/64
    {
            AdvOnLink on;
            AdvAutonomous on;
            AdvRouterAddr off;
    };

    prefix fd00:dcaf:bad:fd::/64
    {
            AdvOnLink on;
            AdvAutonomous on;
            AdvRouterAddr off;
    };

    RDNSS fd00:dcaf:bad:fd::fffe
    {
            AdvRDNSSLifetime 150;
    };

    DNSSL penurio.us
    {
            AdvDNSSLLifetime 150;
    };

}; But only the delegated prefix is being advertised. (Verified with tcpdump/wireshark.)

What do I have to do to advertise both prefixes?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ipilcher commented 5 years ago

Aaaaand ... I can no longer duplicate the issue. radvd is advertising both prefixes with the config file above.

Sorry for the noise!

reubenhwk commented 5 years ago

Glad I could help! :D

Sent from my iPhone

On Oct 8, 2019, at 1:14 PM, Ian Pilcher notifications@github.com wrote:

Aaaaand ... I can no longer duplicate the issue. radvd is advertising both prefixes with the config file above.

Sorry for the noise!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.