Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-08 Thread Clément Guivy
On 08/08/2017 22:52, Ondrej Zajicek wrote: On Sun, Aug 06, 2017 at 05:03:00PM +0200, Clément Guivy wrote: On 06/08/2017 12:27, Ondrej Zajicek wrote: The difference is that such bug affect only outgoing connnections, not incoming connections. In your IBGP case, both routers are affected by the b

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-08 Thread Ondrej Zajicek
On Sun, Aug 06, 2017 at 05:03:00PM +0200, Clément Guivy wrote: > On 06/08/2017 12:27, Ondrej Zajicek wrote: > > The difference is that such bug affect only outgoing connnections, not > > incoming connections. In your IBGP case, both routers are affected by the > > bug, so no connection is possible.

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-06 Thread Clément Guivy
On 06/08/2017 12:27, Ondrej Zajicek wrote: The difference is that such bug affect only outgoing connnections, not incoming connections. In your IBGP case, both routers are affected by the bug, so no connection is possible. In your EBGP case, incoming connections are from hardware routers not affe

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-06 Thread Ondrej Zajicek
On Sun, Aug 06, 2017 at 08:05:38AM +0200, Clément Guivy wrote: > On 05/08/2017 23:55, Ondrej Zajicek wrote: > > I found that it is probably a bug/behavior of Linux VRF implementation. > > Socket can be bound to an iface, which is also used to choose related > > VRF. For UDP sockets, it works for bo

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-05 Thread Clément Guivy
On 05/08/2017 23:55, Ondrej Zajicek wrote: I found that it is probably a bug/behavior of Linux VRF implementation. Socket can be bound to an iface, which is also used to choose related VRF. For UDP sockets, it works for both VRF ifaces and underlying (real) ifaces. But for TCP (and perhaps ICMP)

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-05 Thread Ondrej Zajicek
On Sat, Aug 05, 2017 at 01:02:08PM +0200, Ondrej Zajicek wrote: > On Sat, Aug 05, 2017 at 01:53:11AM +0200, Clément Guivy wrote: > > On 04/08/2017 23:00, Ondrej Zajicek wrote: > > > > > > You could try to use 'direct' option for IBGP to run it in IBGP mode. > > > > Thanks, I missed this differenc

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-05 Thread Ondrej Zajicek
On Sat, Aug 05, 2017 at 01:53:11AM +0200, Clément Guivy wrote: > On 04/08/2017 23:00, Ondrej Zajicek wrote: > > > > You could try to use 'direct' option for IBGP to run it in IBGP mode. > > Thanks, I missed this difference between IBGP and EBGP. Now with this > "direct" setting it's getting bette

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-04 Thread Clément Guivy
On 04/08/2017 23:00, Ondrej Zajicek wrote: You could try to use 'direct' option for IBGP to run it in IBGP mode. Thanks, I missed this difference between IBGP and EBGP. Now with this "direct" setting it's getting better, no more complaining from the service. However BGP session is now stuck i

Re: BIRD BGP and VRF - Cannot assign requested address

2017-08-04 Thread Ondrej Zajicek
On Fri, Aug 04, 2017 at 04:43:01PM +0200, Clément Guivy wrote: > Hello, I am trying to set up 2 BIRD routers as AS border routers (on Debian > 9). > ... > I plan to use both ipv4 and ipv6 and also, on BIRD routers both the forwarding > and the BGP peerings are to take place in a linux vrf named "i

BIRD BGP and VRF - Cannot assign requested address

2017-08-04 Thread Clément Guivy
Hello, I am trying to set up 2 BIRD routers as AS border routers (on Debian 9). Installation is as follows : |BIRD router 1|-IBGP-|BIRD router 2| | | EBGP EBGP | | |Hardware router 1|