# cat etc.bird/bird.conf 
/* Main configuration file for BIRD. This is ony a template,
 * you will *need* to customize it according to your needs
 * Beware that only double quotes '"' are valid. No singles. */


log "/var/log/bird.log" all;
#debug protocols all;
#debug commands 2;

router id  10.0.0.1;       # Mandatory for IPv6, may be automatic for IPv4

protocol kernel {
    persist;                # Don't remove routes on BIRD shutdown
    scan time 200;          # Scan kernel routing table every 200 seconds
    ipv4 {
        export where (source = RTS_BABEL);
        import all;
    };
    learn yes;
}

protocol device {
    scan time 10;           # Scan interfaces every 10 seconds
}

protocol direct {
    ipv4;
    interface "eth0";
}

protocol babel {
    interface "eth0" {
        type wired;
    };

    # This matches the default of babeld: redistribute all addresses
    # configured on local interfaces, plus re-distribute all routes received
    # from other babel peers.

    ipv4 {
        export where (source = RTS_INHERIT) || (source = RTS_DEVICE) || (source = RTS_BABEL);

    };
    ipv6 {
        export none;
    };
}
