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

Reply via email to