yggdrasil-network.github.io icon indicating copy to clipboard operation
yggdrasil-network.github.io copied to clipboard

configuration/advertising a prefix difficulties, another method, forwarding, accept_ra

Open Mikaela opened this issue 5 years ago • 1 comments

I was having difficulties with the current instructions, until I started advertising router address instead of the prefix. To adjust the example config:

interface eth0
{
     AdvSendAdvert on;
     prefix 300:1111:2222:3333::1/64 {
         AdvOnLink on;
         AdvRouterAddr on;
         AdvAutonomous on;
     };
     route 200::/7 {};
};

I added 1 to the end of the prefix and told radvd that it's the router address instead of prefix by adding AdvRouterAddr on;.

Other potential issues:

  • forwarding has to be allowed in the firewall, in ufw this is in/etc/default/ufw which should say DEFAULT_FORWARD_POLICY="ACCEPT"
  • when forwarding is enabled, Linux stops accepting router announcements potentially breaking clearnet IPv6 unless explicitly configured to do otherwise sysctl -w net.ipv6.conf.all.accept_ra=2

Mikaela avatar Oct 27 '18 13:10 Mikaela