yggdrasil-network.github.io
yggdrasil-network.github.io copied to clipboard
configuration/advertising a prefix difficulties, another method, forwarding, accept_ra
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 sayDEFAULT_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