bird bgp peer problems

Kai kai_pf at gmx.de
Mon Sep 29 00:03:47 CEST 2014


Hello!

I habe severe problems to understand birds behaviour regarding some
peers. Two peers now carry debug parameters to analyse what's going on.
Here is one example with config excerpt and debug output from syslog.

Why is the incoming connection from the peer rejected?

What does "Bad peer AS" mean in this context? Does the peer try to
identify itself with _my_ ASN? Or does it expect me to be 65036 (what
would be correct!)?

---------------------------
protocol bgp Oldenburg1_wi from bgp_ic_wi {
    neighbor 10.207.0.27 as 65513;
    debug { states,interfaces,events };
};
# with my ASN defined to be 65036 in the template bgp_ic_wi:
template bgp bgp_ic_wi {
    local wi_addr_ic as 65036;
    router id 10.207.0.56;
    table ic_wi;
    import where (is_freifunk_dn42() && !is_wimz_self_nets());
    export where (is_wi_self_net() || (source = RTS_BGP));
    direct;
};
---------------------------
Sep 28 23:43:02 lotuswurzel bird: Oldenburg1_wi: Incoming connection from 10.207.0.27 (port 42544) rejected
[...]
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: Connecting to 10.207.0.27 from local address 10.207.0.56
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: Connected
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: Received: Bad peer AS: 65036
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: State changed to stop
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: Down
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: State changed to down
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: Starting
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: State changed to start
Sep 28 23:43:47 lotuswurzel bird: Oldenburg1_wi: Startup delayed by 300 seconds
[...]
Sep 28 23:47:02 lotuswurzel bird: Oldenburg1_wi: Incoming connection from 10.207.0.27 (port 42836) rejected
[...]
Sep 28 23:47:45 lotuswurzel bird: Oldenburg1_wi: Started
Sep 28 23:47:45 lotuswurzel bird: Oldenburg1_wi: Connect delayed by 5 seconds
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: Connecting to 10.207.0.27 from local address 10.207.0.56
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: Connected
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: Received: Bad peer AS: 65036
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: State changed to stop
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: Down
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: State changed to down
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: Starting
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: State changed to start
Sep 28 23:47:49 lotuswurzel bird: Oldenburg1_wi: Startup delayed by 300 seconds
---------------------------

Best regards, Kai
-- 
"Das ist Demokratie, wenn man sich aussuchen darf, wer einen verarscht."
                                                               (Hagen Rether)
D-65203 Wiesi                                    fast: kai_pf (aT] web(dot)de
++ PGP Key fingerprint  B567 C43E 99D1 7709 7D64  3BF8 2DE8 1092 0EEF D58E ++
-----BEGIN GEEK CODE BLOCK-----
VERSION: 3.12
GCS/IT/CM d- s:- a+>-----(?) C++$ UL++(++++$) P+++ L++ E-(+) W--(+) N
!w---($) !O !M V? PS+ PE-() Y+ PGP(+) t R*@ tv--@ b+>++ DI++ G e+++(*) h? y?
------END GEEK CODE BLOCK------




More information about the Bird-users mailing list