<div dir="ltr"><div>I think because in this query you are checking both IPv4 and IPv6 routes with v6 roa table, so IPv6 routes are getting statuses VALID/INVALID/UNKNOWN, and all IPv4 routes are getting UNKNOWN. So you see in the result. I think you might want to add something like that to your filter:</div><div>net.type = <code>NET_IP6 && roa_check(r6) = ROA_UNKNOWN</code></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Mar 25, 2025 at 10:13 AM <<a href="mailto:ushiroz@ate-mahoroba.jp">ushiroz@ate-mahoroba.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Alexander for the response.<br>
<br>
I confirmed that the following commands were executed and the results of VALID and INVALID were displayed.<br>
<br>
bird> show route where roa_check(r6) = ROA_VALID<br>
bird> show route where roa_check(r6) = ROA_INVALID<br>
<br>
In the case of VALID and INVALID, the results for v6 are displayed, but in the case of UNKNOWN, even if the following command is executed, the results for both v4 and v6 are displayed.<br>
<br>
Is it because ROA_UNKNOWN cannot distinguish between v4 and v6, or is it a bug in bird?<br>
(The version of bird is 2.14)<br>
<br>
<br>
On Sun, 23 Mar 2025 13:58:55 +0100<br>
Alexander Zubkov <<a href="mailto:green@qrator.net" target="_blank">green@qrator.net</a>> wrote:<br>
<br>
> Hi,<br>
> <br>
> Doesn't it work when using in CLI expressions? Like this:<br>
> show route where roa_check(...) = ROA_VALID<br>
> <br>
> On Sun, Mar 23, 2025 at 10:24?AM <<a href="mailto:ushiroz@ate-mahoroba.jp" target="_blank">ushiroz@ate-mahoroba.jp</a>> wrote:<br>
> <br>
> > Hi<br>
> ><br>
> > I am using roa_check().<br>
> > Is there a bird command that checks the result of roa_check() on the<br>
> > command line, not just in the conf processing?<br>
> ><br>
> ><br>
<br>
</blockquote></div>