filter all prefixes except a few with 'case' control

Войнович Андрей Александрович andreyv at skbkontur.ru
Thu Sep 29 08:02:47 CEST 2016


Hi all!

I try to implement simple filter which rejects all prefixes except a few with 'case' control this way:

filter permit_white {
        case net {
                1.1.1.1/32: accept;
                2.2.2.2/32: accept;
                else: reject;
        }
}

But syntax check fails on line '1.1.1.1/32: accept;'. I read everything on Internet what was found, but cannot understand what is wrong.

------------------------------------------
Служба поддержки серверов
Группа сетевого администрирования
ДПП.УТП.СПС
ЗАО ПФ <СКБ-Контур>,
Тел. +7 (343) 344-11-50 доб. 75352
e-mail: dc-noc at skbkontur.ru<mailto:dc-noc at skbkontur.ru>
https://www.kontur.ru<https://www.kontur.ru/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160929/0dccfe9b/attachment.html>


More information about the Bird-users mailing list