I think this would be, but I have the same public AS number on both ends (R1 
and R2 - 55555), so BGPd will think that this is loop and will not accept this.

-----Original Message-----
From: Peter Hessler [mailto:phess...@theapt.org] 
Sent: Thursday, January 17, 2013 2:19 PM
To: Войнович Андрей Александрович
Cc: misc@openbsd.org
Subject: Re: OpenBGPd multiple local AS

You can absolutely run external BGP and internal BGP with the same AS.
This is a very common configuration.


On 2013 Jan 17 (Thu) at 05:36:24 +0000 (+0000), Войнович Андрей Александрович 
wrote:
:Hello!
:I have public AS and address range, everything is Ok, but now I want to 
:connect my routers via LAN and announce my public networks between them.
:So I need to configure private AS and peers, as I think:
:
:R1:
:AS 55555 65006
:# public ISP
:neighbor 1.1.1.1 {
:        announce  self
:        remote-as 44444
:}
:# my private LAN peer
:neighbor 10.0.41.5 {
:        announce self
:        remote-as 65005
:        descr   "r2"
:}
:
:And R2 router:
:AS 55555 65005
:# public ISP
:neighbor 2.2.2.2 {
:        announce  self
:        remote-as 22222
:}
:# my private LAN peer
:neighbor 10.0.41.6 {
:        announce none
:        remote-as 65006
:        descr   "r1"
:}
:
:But when I restart bgpd, I receive error:
:Last error: AS unacceptable
:
:I suppose I have to force announcement of private AS for my private peer, but 
:didn't find how to do it in config file.
:
:-------------------------------
:Andrey
:

--
Last yeer I kudn't spel Engineer.  Now I are won.

Reply via email to