<html><head></head><body><div dir="auto">Hello!<br><br>It looks like you are missing "protocol device {}" which you need for BIRD to actually know about the interfaces and assigned addresses.<br><br>Maria</div><br><br><div class="gmail_quote"><div dir="auto">On 24 April 2023 21:01:31 EEST, Alessandro Vesely <vesely@tana.it> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><div dir="auto">Hi all,<br><br>I installed bird2 (Debian stock) and configured radv, following the documented example.<br><br>When bird it started, it said:<br>Apr 24 12:36:55 31 north bird: static1: Channel ipv6 connected to table radv_routes<br>Apr 24 12:36:55 31 north bird: static1: Initializing<br>Apr 24 12:36:55 31 north bird: radv1: Channel ipv6 connected to table radv_routes<br>Apr 24 12:36:55 31 north bird: radv1: Initializing<br>Apr 24 12:36:55 31 north bird: static1: Starting<br>Apr 24 12:36:55 31 north bird: static1: State changed to up<br>Apr 24 12:36:55 31 north bird: radv1: Starting<br>Apr 24 12:36:55 31 north bird: radv1: State changed to up<br>Apr 24 12:36:55 30 north bird: Started<br>Apr 24 12:36:55 31 north bird: radv1 < interface eth2r created<br>Apr 24 12:36:55 31 north bird: radv1 < interface ppp0 created<br><br><br>No more logging. After some hours I get this:<br>541-north:bird# birdc show route for 2a02:29e1:300:e922::2<br>BIRD 2.0.7 ready.<br>Network not found<br><br>What does it mean? I configured static routes in the kernel. Perhaps I should only configure them in bird.<br>542-north:bird# ip route get 2a02:29e1:300:e922::2<br>2a02:29e1:300:e922::2 from :: dev eth2r proto kernel src 2a02:29e1:300:e922::1 metric 256 pref medium<br><br>My ISP assigned to me 2a02:29e1:300:e900/56. I have a few addresses assigned locally, and 2a02:29e1:300:e922::1 to the lan interface (eth2r), reserving that /64 for lan hosts. A neighboring PC has 2a02:29e1:300:e922::2/64.<br><br>External routing doesn't work, but this is another question (also asked on stackexchange: <a href="https://unix.stackexchange.com/questions/742826/ipv6-over-pppoe)">https://unix.stackexchange.com/questions/742826/ipv6-over-pppoe)</a><br><br>There must be something wrong in the config, which I don't know how to fix. I paste it below. What did I get wrong?<br><br>TIA<br>Ale<hr># This is a basic configuration file, which contains boilerplate options and<br># some basic examples. It allows the BIRD daemon to start but will not cause<br># anything else to happen.<br>#<br># Please refer to the BIRD User's Guide documentation, which is also available<br># online at <a href="http://bird.network.cz/">http://bird.network.cz/</a> in HTML format, for more information on<br># configuring BIRD and adding routing protocols.<br><br># Configure logging<br>log syslog all;<br><br># Set router ID. It is a unique identification of your router, usually one of<br># IPv4 addresses of the router. It is recommended to configure it explicitly.<br>router id 185.8.198.188;<br><br># Turn on global debugging of all protocols (all messages or just selected classes)<br>debug protocols all;<br>debug protocols { interfaces, states };<br><br>ipv6 table radv_routes; # Manually configured routes go here<br><br>protocol static {<br> ipv6 { table radv_routes; };<br><br> route 2a02:29e1:300:e922::/64 via "eth2r";<br> route 2a02:29e1:300:e900::/56 unreachable;<br> route ::0/0 via "ppp0";<br>}<br><br>protocol radv {<br> propagate routes yes; # Propagate the routes from the radv_routes table<br> ipv6 { table radv_routes; export all; };<br><br> interface "ppp0" {<br> prefix ::/0 {<br> autonomous off; # So do not autoconfigure any IP<br> };<br> };<br><br> interface "eth2r"; # No need for any other options<br>}<hr></div></pre></blockquote></div></body></html>