Community discussions

MikroTik App
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

BGP bad remote AS

Wed Jul 02, 2008 5:16 pm

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
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: BGP bad remote AS

Wed Jul 02, 2008 6:35 pm

what remote-as is the other side using ?
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

Re: BGP bad remote AS

Wed Jul 02, 2008 11:27 pm

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
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: BGP bad remote AS

Thu Jul 03, 2008 5:27 am

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
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

Re: BGP bad remote AS

Sat Jul 05, 2008 5:00 pm

Sorry for the stupid question , but where can i turn on bgp logging..
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: BGP bad remote AS

Sat Jul 05, 2008 8:45 pm

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.
 
schnucki
just joined
Posts: 3
Joined: Fri May 25, 2007 8:47 pm

Re: BGP bad remote AS

Fri Jul 11, 2008 5:25 pm

Verify in system - packages if you have routing beta installed.
It does not work.
I had the same problem has a few days.

Who is online

Users browsing this forum: Amazon [Bot], GoogleOther [Bot] and 110 guests