From 5484d82f66d18db7dbcfe86e4c7d3f4e428ab3be Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 24 Jun 2021 16:35:09 +0200 Subject: [PATCH] Fixed documentation for radv --- docs/radv/bird1.6_radv.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/docs/radv/bird1.6_radv.md b/docs/radv/bird1.6_radv.md index d1983b5..218cad2 100644 --- a/docs/radv/bird1.6_radv.md +++ b/docs/radv/bird1.6_radv.md @@ -49,16 +49,24 @@ This will advertise all the routes your Bird router knows (those in the `crxn` t ``` protocol radv { - # Advertise your prefix - prefix fd40:ec65:5b4c::/64 { - # TODO: Add anything that needs to be in here - }; + # Enable propagating of routes exported to us via radv to hosts + propagate routes yes; - # Interfaces to run radv on - interface "eth0"; + # Export all your routes into the radv advertisement + export filter crxn6; + table crxn; - # Advertise all routes (TODO: check if this is the correct syntax) - propagate_routes yes; - table crxn; + # Interface to run radv on - only eth0 (change to what you want) + interface "eth0" { + # Advertise your prefix + prefix fd40:ec65:5b4c::/64 { + # Defaults are fine + }; + + # Normally it will distribute a default route, disable that (TODO: Check) + prefix ::/0 { + skip yes; + }; + }; } ``` \ No newline at end of file