Page 1 of 1

BGP bad remote AS

Posted: Wed Jul 02, 2008 5:16 pm
by byzon
Hello i have a problem with routing BGP

TCP connection established
RemoteAddress=212.70.158.137
Recived notification
Open error: bad remote-as


If someone now what for what reason this is happening pls to say it ..
Thanks in advice

Re: BGP bad remote AS

Posted: Wed Jul 02, 2008 6:35 pm
by changeip
what remote-as is the other side using ?

Re: BGP bad remote AS

Posted: Wed Jul 02, 2008 11:27 pm
by byzon
This is my export

/routing bgp instance
set default as=38924 client-to-client-reflection=no comment="" disabled=no \
ignore-as-path-len=no name="default" out-filter="" \
redistribute-connected=no redistribute-ospf=no redistribute-other-bgp=no \
redistribute-rip=no redistribute-static=no router-id=212.70.158.138
/routing bgp network
add disabled=no instance=default network=78.108.251.0/24 synchronize=no
add disabled=no instance=default network=212.70.142.0/23 synchronize=no
/routing bgp peer
add address-families=ip comment="" disabled=yes hold-time=infinity \
in-filter="" instance=default multihop=no name="peer1" \
nexthop-choice=default out-filter="" remote-address=212.70.158.13 \
remote-as=12615 route-reflect=no tcp-md5-key="" ttl=default
add address-families=ip comment="" disabled=yes hold-time=infinity \
in-filter="" instance=default multihop=no name="peer2" \
nexthop-choice=default out-filter="" remote-address=212.70.158.137 \
remote-as=12615 route-reflect=no tcp-md5-key="" ttl=default

Re: BGP bad remote AS

Posted: Thu Jul 03, 2008 5:27 am
by changeip
turn on bgp logging (more details in log) and you will probably find that one of those peers has a different AS number than you have entered. If you turn on BGP logging you will see it in the log and can set it properly.

Sam

Re: BGP bad remote AS

Posted: Sat Jul 05, 2008 5:00 pm
by byzon
Sorry for the stupid question , but where can i turn on bgp logging..

Re: BGP bad remote AS

Posted: Sat Jul 05, 2008 8:45 pm
by changeip
under system / logging. then add a topic for 'bgp'. use it only for testing because when you receive routes it will flood your logs and slow everything down. turn it back off once you have the info you need.

Re: BGP bad remote AS

Posted: Fri Jul 11, 2008 5:25 pm
by schnucki
Verify in system - packages if you have routing beta installed.
It does not work.
I had the same problem has a few days.