OSPF and discard some ospf_router_id

Anton Kiryushkin swood at fotofor.biz
Tue Feb 2 02:42:50 CET 2016


Hello.


I have next filters:

filter export_OSPF {
        if net = white_ip2/32 then {
                ospf_metric2 = 5;
                print "router_id: ", ospf_router_id, " net: ", net;
                accept;
        }
        if net = white_ip1/32 then {
                ospf_metric2 = 10;
                print "router_id: ", ospf_router_id, " net: ", net;
                accept;
        }
        if ospf_router_id = 10.0.0.32 then {
                reject;
        }
        reject;
}

filter import_OSPF {
        if ospf_router_id = 10.0.0.32 then {
                reject;
        }
        reject;
}

And on second server I have another filters:

filter export_OSPF {
        if net = white_ip1/32 then {
                ospf_metric2 = 5;
                print "router_id: ", ospf_router_id, " net: ", net;
                accept;
        }
        if net = white_ip2/32 then {
                ospf_metric2 = 10;
                print "router_id: ", ospf_router_id, " net: ", net;
                accept;
        }
        if ospf_router_id = 10.0.0.33 then {
                reject;
        }
        reject;
}

filter import_OSPF {
        if ospf_router_id = 10.0.0.33 then {
                reject;
        }
        reject;
}


As I think, on the first server I discard any announce from second server
and conversely. But on both servers I see both servers as neighbors. Where
I'm wrong?

And maybe you suggest me another way for reservation ip on two servers?

-- 
Best regards,
Anton Kiryushkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160202/eee1d664/attachment.html>


More information about the Bird-users mailing list