Re: running two bird daemons which listen on loopback IP

2018-06-19 Thread Pavlos Parissis
On 19/06/2018 06:19 μμ, Ondrej Zajicek wrote: > On Tue, Jun 19, 2018 at 05:34:06PM +0200, Pavlos Parissis wrote: >> Hi, >> >> For testing purposes I want to run two bird instances which listen on two >> different IPs. Those IP >> addresses are assigned to loopback interface(Linux box). I have conf

Re: Automating BIRD configuration

2018-06-19 Thread Grant Taylor
On 06/19/2018 11:31 AM, Matthias Merkel wrote: We're trying to integrate BIRD with our automated DDoS detection and mitigation system. For this we need a way to have our software create static routes (to be more exact blackholes) and add BGP communities to announcements. Could you have your s

Re: Automating BIRD configuration

2018-06-19 Thread Toke Høiland-Jørgensen
Matthias Merkel writes: > We're trying to integrate BIRD with our automated DDoS detection and > mitigation system. For this we need a way to have our software create > static routes (to be more exact blackholes) and add BGP communities to > announcements. > > Is there any way to do using CLI or

Automating BIRD configuration

2018-06-19 Thread Matthias Merkel
We're trying to integrate BIRD with our automated DDoS detection and mitigation system. For this we need a way to have our software create static routes (to be more exact blackholes) and add BGP communities to announcements. Is there any way to do using CLI or control socket or would we have to ma

Re: running two bird daemons which listen on loopback IP

2018-06-19 Thread Ondrej Zajicek
On Tue, Jun 19, 2018 at 05:34:06PM +0200, Pavlos Parissis wrote: > Hi, > > For testing purposes I want to run two bird instances which listen on two > different IPs. Those IP > addresses are assigned to loopback interface(Linux box). I have configured > BGP but each daemon is > waiting the other

Re: running two bird daemons which listen on loopback IP

2018-06-19 Thread Maria Jan Matějka
Hi, Trying to connect to the same machine is not supported. If you need to run two BIRDs on one machine, use network namespaces or another kind of virtualization. Maria On June 19, 2018 5:34:06 PM GMT+02:00, Pavlos Parissis wrote: >Hi, > >For testing purposes I want to run two bird instances w

running two bird daemons which listen on loopback IP

2018-06-19 Thread Pavlos Parissis
Hi, For testing purposes I want to run two bird instances which listen on two different IPs. Those IP addresses are assigned to loopback interface(Linux box). I have configured BGP but each daemon is waiting the other to become neighbor. I run tcpdump on loopback interface and I don't see any n

Re: how to check syntax of bird.conf ?

2018-06-19 Thread Илья Шипицин
That would be nice, I'll try that way On Tue, Jun 19, 2018, 2:00 PM Ondrej Filip wrote: > On 19.6.2018 10:26, Илья Шипицин wrote: > > yep. thanks for the tip. > > > > > > also, is there a way of splitting the following list into 2 lists > > > > filter permit_white { > > if net ~ [ A.A.A.

Re: how to check syntax of bird.conf ?

2018-06-19 Thread Ondrej Filip
On 19.6.2018 10:26, Илья Шипицин wrote: > yep. thanks for the tip. > > > also, is there a way of splitting the following list into 2 lists > > filter permit_white { >     if net ~ [ A.A.A.A/32 > ,B.B.B.B/32,C.C.C.C/32 >     ] then accept; >     else reject; > } > > where 'A.A.A.A' n

Re: how to check syntax of bird.conf ?

2018-06-19 Thread Илья Шипицин
yep. thanks for the tip. also, is there a way of splitting the following list into 2 lists filter permit_white { if net ~ [ A.A.A.A/32 ,B.B.B.B/32,C.C.C.C/32 ] then accept; else reject; } where 'A.A.A.A' never changes, i.e. constant and 'B.B.B.B', 'C.C.C.C', ... is dynam

Re: how to check syntax of bird.conf ?

2018-06-19 Thread Ondrej Filip
On 19.6.2018 10:08, Илья Шипицин wrote: > hello, > > we are going to add automation on top of bird.conf > is there some way to check syntax of it ? Hi! Do you mean 'bird -p'? Ondrej

how to check syntax of bird.conf ?

2018-06-19 Thread Илья Шипицин
hello, we are going to add automation on top of bird.conf is there some way to check syntax of it ?