Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I set up radvd correctly? #843

Open
vladns opened this issue Sep 23, 2021 · 1 comment
Open

How do I set up radvd correctly? #843

vladns opened this issue Sep 23, 2021 · 1 comment

Comments

@vladns
Copy link

vladns commented Sep 23, 2021

I have radvd configured for ipv6 ads for "normal" internet (clearnet), config:

interface br0
{
  AdvSendAdvert on;
  MaxRtrAdvInterval 60;
  prefix ::/64
  {
    AdvValidLifetime 600;
    AdvPreferredLifetime 120;
  };
  RDNSS local_ipv6_address
  {
  };
};

When I add the config, as recommended here https://yggdrasil-network.github.io/configuration.html#advertising-a-prefix, ipv6 stops working for clearnet. In addition, the interface (br0) loses its ipv4 address after executing the command:

ip link set dev br0 down && ip link set dev br0 up

The final config was like this:

interface br0
{
  AdvSendAdvert on;
  MaxRtrAdvInterval 60;
  prefix ::/64
  {
    AdvValidLifetime 600;
    AdvPreferredLifetime 120;
  };
  RDNSS local_ipv6_address {};

  AdvSendAdvert on;
  AdvDefaultLifetime 0;
  prefix 300:abcd:abcd:abcd::/64 {
     AdvOnLink on;
     AdvAutonomous on;
     };
     route 200::/7 {};
};

Where could the problem be?

@iav
Copy link

iav commented Jan 14, 2022

my working config file:

interface wlan0
{
     AdvSendAdvert on;
     AdvDefaultLifetime 0;
     prefix 301:aaaa:aaaa:aaaa::/64 {
         AdvOnLink on;
         AdvAutonomous on;
     };
     route 200::/7 {};
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants