Hi, I've been debugging a bird6.conf (doing two ASN's) for almost two days, finding each time only one half working, and so being convinced it should work. So finaly I could made a clear conclusion: table as5; table as6; # router id 1.2.3.68; # # mysterious failure: #listen bgp address 2001::1a port 179; #listen bgp address 2001::2a port 179; # this works fine: listen bgp address 2001::2a port 179; listen bgp address 2001::1a port 179; # 8< ----- So by these I'd like to report. -- Leo
additionally I should have mentioned it was on FreeBSD 10.1, initially with one "main ip" and one aliased, but ended with two aliased IP's (both prefixlen 64). -- Leo.
15.07.2015, 18:39, "bird@unicycle.net" <bird@unicycle.net>:
Hi,
I've been debugging a bird6.conf (doing two ASN's) for almost two days, finding each time only one half working, and so being convinced it should work.
Could you please be a bit more specific? E.g. what exactly is not working (bind fails, bird does not listen socket, connections are not established, etc...) Could you also show full config and ifconfig output (maybe privately)?
So finaly I could made a clear conclusion:
table as5; table as6; # router id 1.2.3.68; # # mysterious failure: #listen bgp address 2001::1a port 179; #listen bgp address 2001::2a port 179; # this works fine: listen bgp address 2001::2a port 179; listen bgp address 2001::1a port 179; # 8< -----
So by these I'd like to report.
--
Leo
On Wed, Jul 15, 2015 at 03:36:36PM +0000, bird@unicycle.net wrote:
Hi,
I've been debugging a bird6.conf (doing two ASN's) for almost two days, finding each time only one half working, and so being convinced it should work. So finaly I could made a clear conclusion:
listen bgp address 2001::2a port 179; listen bgp address 2001::1a port 179;
Hi Generally only the last listen directive works. With this setting, you are just listening on 2001::1a instead of on ::. Do you use explicit source address option for BGP sessions? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Fri, 17 Jul 2015, Ondrej Zajicek wrote:
Generally only the last listen directive works. With this setting, you are just listening on 2001::1a instead of on ::.
Uhm; no, in this other BGP listens on the two, but yes, in the opposite order then in deed only the last one works.
Do you use explicit source address option for BGP sessions?
Yes I do. Leo.
participants (3)
-
Alexander V. Chernikov -
bird@unicycle.net -
Ondrej Zajicek