回复: How to config a ospf stub area?

chan alfie zlinuxboy at outlook.com
Wed Apr 10 04:48:11 CEST 2024


rt3
```
rt3# bird -c /etc/bird/lab/rt3.conf -p
bird: /etc/bird/lab/rt3.conf:173:1 ASBR must be in non-stub area
```
does it mean this router is an ASBR? but this router only connect to rt4. and does not contain static route, here is the complete bird.conf
```
log syslog all;
log "/var/log/bird-rt3.log" all;
debug protocols all;
router id 172.16.8.3;
protocol device {
    scan time 10;
}
protocol direct {
    disabled;
    ipv4;
}
filter kernel_out
prefix set reject_local_net;
{
    reject_local_net = [ 4.8.3.0/28+, 172.16.34.0/30 ];
    if net ~ reject_local_net then reject;
    else accept;
}
protocol kernel {
    ipv4 {
        import none;
        export filter kernel_out;
    };
    learn;
    scan time 20;
    persist;
    merge paths on;
}
protocol ospf v2 {
    ipv4 {
        import all;
        export all;
    };
    area 172.16.34.0 {
        stub;
        summary yes;
        interface "veth34" {
            type bcast;
            cost 10;
            hello 10;
        };
        interface "lo3" {
            stub yes;
        };
    };
}
```
so how to identify if a router is asbr of abr?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240410/081242ee/attachment.htm>


More information about the Bird-users mailing list