very very simple bird.conf

Virgilio Pavel virgilio.pavel at iguarani.com.br
Mon Sep 19 20:47:31 CEST 2011


Hello folks,

I'm not have experience to work with bird.conf, but I have two questions:
1) How can I do a loopback with my neighbor?
2) How can I configure a static route?

They are so basic question, but I'm not find documentation about this.

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

[]'s Virgilio Pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110919/20a6f9ba/attachment.html>


More information about the Bird-users mailing list