<div dir="ltr"><div>Hello,</div><div><br></div><div>I am new to bird, there is something which I don't know how to achieve using bird.<br></div><div>Is there a way in which I can forward traffics originated from a specific network to some designated interfaces?</div><div><br></div><div>protocol kernel {<br> ipv4 {<br> table tabl1;<br> export all;<br> };<br> kernel table 1;<br>}</div><div>
protocol kernel {<br> ipv4 {<br> table tabl2;<br> export all;<br> };<br> kernel table 2;<br>}
</div><div>protocol static {<br> ipv4 { table table1; };<br> route <a href="http://0.0.0.0/0">0.0.0.0/0</a> via 10.7.3.249 bfd<br> via 10.9.3.251 bfd;<br>}</div><div></div><div>protocol static {<br> ipv4 { table table2; };<br> route <a href="http://0.0.0.0/0">0.0.0.0/0</a> via 10.8.3.244 bfd;<br>}</div><div><br></div><div>In linux i can do something like this:<br></div><div><b>ip rule add type unicast from 1.0.0.1 table 1</b></div><div><b>ip rule add type unicast from 2.0.0.1 table 2</b></div><div><b><br></b></div><div>Is there a way these rules can be achieved using filter or Pipe in Bird?</div><div>I am curious whether this can be done in Bird without depending on 'ip rule' of linux.</div><div><br></div><div><br></div><div>Regards,</div><div>Farhad<br></div></div>