Does Bird supports AS_Trans 23456

gerta toli gertatoli at yahoo.com
Tue Aug 28 13:48:31 CEST 2018


HI Ondrej,


This is my configuration

protocol bgp eBGP4byteASN {
debug all;
   import all;
   export filter out;
   local as "my-4byteASN";
   neighbor 192.168.0.1 as 65535;
   source address 192.168.0.2;
}


So my peer 192.168.0.1 understands only 2byte ASN , but I have 4byte ASN. ASN_Trans is used in case of such scenario by the 4byte ASN routers. So  supposedly, Bird should send open message using the ASN 23456, since it knows that it is peering with an old 2byteASN router. The error im showing is below:

2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Started
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Connect delayed by 5 seconds
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Incoming connection from 192.168.0.1 (port 62762) accepted
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Sending OPEN(ver=4,as=my_4byteASN,hold=240,id=0a858502)
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Got OPEN(as=65535,hold=180,id=c6207d28)
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Sending KEEPALIVE
2018-08-27 15:19:03 <RMT> eBGP4byteASN: Received: Bad peer AS: my_4byteASN
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: State changed to stop
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Down
2018-08-27 15:19:03 <TRACE> eBGP4byteASN State changed to down
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Starting
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: State changed to start
2018-08-27 15:19:03 <TRACE> eBGP4byteASN: Startup delayed by 300 seconds

So my question is, does Bird supports using this ASN_Trans? How can a 4byte ASN bird router establish a session with a 2byte ASN router?


Thanks,

Gerta





 
   On Tuesday, August 28, 2018, 1:08:32 PM GMT+2, Ondrej Zajicek <santiago at crfreenet.org> wrote:  
 
 On Tue, Aug 28, 2018 at 07:57:43AM +0000, gerta toli wrote:
> 
> Hello everyone,
> 
> Does anyone know or test the AS_Trans 23456 with Bird? We are using
> Bird and our ASN is 4 byte, but the peer supports only 2bytes ASN. I told
> them to use the AS23456 to peer with me, but it seems Bird doesnt
> establish session with the peer and Im showing "bad asn"

Hello

What exactly is your configuration and what exact error message you get
in log and/or in 'show protocols'?

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at 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."
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180828/c489d323/attachment.html>


More information about the Bird-users mailing list