<div>Hello folks,</div><div> </div><div>I'm not have experience to work with bird.conf, but I have two questions:</div><div>1) How can I do a loopback with my neighbor?</div><div>2) How can I configure a static route?</div>
<div> </div><div>They are so basic question, but I'm not find documentation about this.</div><div> </div><div>Look my bird.conf</div><div>---------------------</div><div># Configuração do bird</div><div># Turn on global debugging of all protocols<br>
#debug protocols all;</div><div># Configure logging<br>log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };<br>log stderr all;<br>log "/usr/local/bird/log/bird.log" all;</div><div># Override router ID<br>
router id  189.53.248.214;</div><div># Override router ID<br>listen bgp address 189.53.248.214 port 179;</div><div># Define a route filter...<br>#filter test_filter {<br>#       if net ~ <a href="http://10.0.0.0/16">10.0.0.0/16</a> then accept;<br>
#       else reject;<br>#}</div><div>#filter sink { reject; }<br>#filter okay { accept; }</div><div># Define another routing table<br>#table testable;</div><div># The direct protocol automatically generates device routes to<br>
# all network interfaces. Can exist in as many instances as you wish<br># if you want to populate multiple routing tables with device routes.<br>#protocol direct {<br>#       interface "-eth*", "*"; # Restrict network interfaces it works with<br>
#}<br># This pseudo-protocol performs synchronization between BIRD's routing<br># tables and the kernel. If your kernel supports multiple routing tables<br># (as Linux 2.2.x does), you can run multiple instances of the kernel<br>
# protocol and synchronize different kernel tables with different BIRD tables.<br>protocol kernel {<br>#       learn;                  # Learn all alien routes from the kernel<br>        persist;                # Don't remove routes on bird shutdown<br>
        scan time 20;           # Scan kernel routing table every 20 seconds<br>#       import none;            # Default is import all<br>        export all;             # Default is export none<br>#       kernel table 5;         # Kernel table to synchronize with (default: main)<br>
}</div><div># This pseudo-protocol watches all interface up/down events.<br>protocol device {<br>        scan time 10;           # Scan interfaces every 10 seconds<br>}</div><div># Static routes (again, there can be multiple instances, so that you<br>
# can disable/enable various groups of static routes on the fly).<br>protocol static {<br>#       disabled;               # Disable by default<br>#       table testable;         # Connect to a non-default table<br>#       preference 1000;        # Default preference of routes<br>
#       debug { states, routes, filters, interfaces, events, packets };<br>#       debug all;<br>#       route <a href="http://0.0.0.0/0">0.0.0.0/0</a> via 62.168.0.13;<br>#       route <a href="http://62.168.0.0/25">62.168.0.0/25</a> reject;<br>
#       route <a href="http://10.0.0.0/8">10.0.0.0/8</a> reject;<br>#       route 10.1.1.0:255.255.255.0 via 62.168.0.3;<br>#       route 10.1.2.0:255.255.255.0 via 62.168.0.3;<br>#       route 10.1.3.0:255.255.255.0 via 62.168.0.4;<br>
#       route <a href="http://10.2.0.0/24">10.2.0.0/24</a> via "arc0";<br>}</div><div>protocol bgp {<br>        import none;<br>        export where proto = "static_bgp";<br>        local as 262774;<br>
        neighbor 189.53.248.213 as 4230;<br>}<br></div><div>---------------------</div><div> </div><div>[]'s Virgilio Pavel</div>