<div dir="auto">But this filter applies in the antenna that advertise the route.</div><div dir="auto">10.20.2.2 and 10.20.2.36 advertise <a href="http://10.0.0.0/8">10.0.0.0/8</a></div><div dir="auto"><br></div><div dir="auto">10.20.2.162 and 10.20.3.1 links with 10.20.2.2 and i want that 10.20.2.162 uses 10.20.2.36 (not direct link) for <a href="http://10.0.0.0/8">10.0.0.0/8</a> not 10.20.2.2 and 10.20.3.1 uses 10.20.2.2</div><div dir="auto"><br></div><div dir="auto">So i need to modify in 10.20.2.162 and 10.20.3.1 the <a href="http://10.0.0.0/8">10.0.0.0/8</a> gateway</div><div dir="auto"><br></div><div dir="auto">Is this possible with babel?</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto"><br></div><div dir="auto">Oriol</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El El jue, 12 ene 2023 a las 16:11, Juliusz Chroboczek <<a href="mailto:jch@irif.fr">jch@irif.fr</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> We have a series of wireless antennas deployed in mesh with the babel<br>
> protocol using bird.<br>
> Two of those antennas advertise the route <a href="http://10.0.0.0/8" rel="noreferrer" target="_blank">10.0.0.0/8</a>.<br>
> The rest of the antennas choose one of the two outputs depending on the<br>
> babel protocol.<br>
> How can I force it to go out through one or the other exit?<br>
<br>
You cannot force it, but you can strongly discourage one of the two nodes.<br>
Say something like this:<br>
<br>
filter babel_discourage {<br>
if babel_metric < 1024 then<br>
babel_metric = 1024;<br>
accept "ok";<br>
};<br>
<br>
protocol babel {<br>
...<br>
ipv4 {<br>
export filter babel_discourage;<br>
};<br>
ipv6 {<br>
export filter babel_discourage;<br>
};<br>
};<br>
<br>
You should not do the opposite: a node can safely increase the metric it<br>
announces, thus discouraging its use by other nodes, but it should not<br>
decrease its metric artificially, since that might defeat Babel's loop<br>
avoidance.<br>
<br>
-- Juliusz<br>
</blockquote></div></div>