Community discussions

MikroTik App
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

ask mikrotik bgp command "show ip bgp neighbor"

Fri Dec 22, 2006 11:23 am

what mikrotik command that similar with this command below:

show ip bgp neighbor 218.100.27.129 advertise

thx
 
User avatar
grzesjan
Member Candidate
Member Candidate
Posts: 144
Joined: Fri Feb 24, 2006 7:43 pm
Location: Poland

Re: ask mikrotik bgp command "show ip bgp neighbor"

Sat Dec 23, 2006 1:54 am

what mikrotik command that similar with this command below:
show ip bgp neighbor 218.100.27.129 advertise
thx
/routing bgp advertisment print PEER-NAME

Gregor
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Re: ask mikrotik bgp command "show ip bgp neighbor"

Sat Dec 23, 2006 1:49 pm

what mikrotik command that similar with this command below:
show ip bgp neighbor 218.100.27.129 advertise
thx
/routing bgp advertisment print PEER-NAME

Gregor
thx Gregor for you info...

i have filter like this :

4 chain=bgp-out prefix=203.191.43.0/24 prefix-length=24 invert-match=no
action=accept

5 chain=bgp-out prefix=202.180.55.0/24 prefix-length=24 invert-match=no
action=accept

6 chain=bgp-out prefix=202.180.54.0/24 prefix-length=24 invert-match=no
action=accept

7 chain=bgp-out prefix=202.180.53.0/24 prefix-length=24 invert-match=no
action=accept

8 chain=bgp-out prefix=202.180.48.0/24 prefix-length=24 invert-match=no
action=accept

9 chain=bgp-out prefix=202.180.49.0/24 prefix-length=24 invert-match=no
action=accept

10 chain=bgp-out invert-match=no action=discard

then i look at :

routing bgp advertisements> pr
DST-ADDRESS NEXTHOP PEER AS-PATH ORIGIN LOCAL-PREF
202.180.55.0/24 202.53.225.174 peer1... igp
202.180.54.0/24 202.53.225.174 peer1... igp
202.180.53.0/24 202.53.225.174 peer1... igp
202.180.48.0/24 202.53.225.174 peer1... igp
202.180.49.0/24 202.53.225.174 peer1... igp

routing bgp network> pr
Flags: X - disabled
# NETWORK
0 202.180.55.0/24
1 202.180.54.0/24
2 202.180.53.0/24
3 202.180.48.0/24
4 203.191.43.0/24
5 202.180.49.0/24


why network 203.191.43.0/24 can't advertise to peer...
any suggest......
also i have problem when advertise new blok ip to peer, the peer router and my mikrotik must be
clear bgp or reset bgp peer before it can work.
 
advantz
Member Candidate
Member Candidate
Posts: 187
Joined: Thu Jul 08, 2004 4:11 am

Tue Dec 26, 2006 12:43 am

I don't think mikrotik great for bgp right now....
I've problem with it since 2.9.20+++, never tried it again then ;p


I think 203.191.43.0/24 already advertised by other provider??
Is this your own ip? your customer ip? or your upstream provider ip?
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Tue Dec 26, 2006 4:38 am

I don't think mikrotik great for bgp right now....
I've problem with it since 2.9.20+++, never tried it again then ;p


I think 203.191.43.0/24 already advertised by other provider??
Is this your own ip? your customer ip? or your upstream provider ip?
203.191.43.0/24 is my customer IP. and this IP not advertised to any peer before only from my mikrotik. now, it solve.... i modify my network...

Flags: X - disabled
# NETWORK
0 202.180.54.0/23
1 202.180.53.0/24
2 202.180.48.0/23
3 203.191.43.0/24

routing bgp advertisements> pr
DST-ADDRESS NEXTHOP PEER AS-PATH ORIGIN LOCAL-PREF
202.180.54.0/23 202.53.225.174 peer1... igp
202.180.53.0/24 202.53.225.174 peer1... igp
202.180.48.0/23 202.53.225.174 peer1... igp
203.191.43.0/24 202.53.225.174 peer1... igp

next question, is mikrotik only can handle 5 blok IP network ? please, i hope someone can verify this....
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Wed Dec 27, 2006 6:58 pm

bgp networks were only introduces a few versions back and haven't been stress tested much I assume ... I've always thrown the subnets I want to announce onto a loopback interface - this causes them to be in the routing table and get announced. I have been hesitant to use the networks commands because it just came out and I haven't tested it.

Sam
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Wed Dec 27, 2006 7:00 pm

Also, what version are you using? There was a bug with the networks command that was fixed in the past release or so.
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Thu Dec 28, 2006 12:43 pm

i now use mikrotik ver 2.9.38, i also got this error with my bgp.

i just restart the router and BGP can established again, but the connection to internet is very slow. what's meaning this error?

dec/26 23:09:09 route,bgp,info TCP connection established
dec/26 23:09:09 route,bgp,info RemoteAddr=202.180.54.138
dec/26 23:09:09 route,bgp,info RemotePort=179
dec/26 23:09:09 route,bgp,error Received notification
dec/26 23:09:09 route,bgp,error cease: connection collision resolution
dec/26 23:09:09 route,bgp,info Connection terminated
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Thu Dec 28, 2006 7:10 pm

 
advantz
Member Candidate
Member Candidate
Posts: 187
Joined: Thu Jul 08, 2004 4:11 am

Sun Dec 31, 2006 3:42 am

i now use mikrotik ver 2.9.38, i also got this error with my bgp.

i just restart the router and BGP can established again, but the connection to internet is very slow. what's meaning this error?

dec/26 23:09:09 route,bgp,info TCP connection established
dec/26 23:09:09 route,bgp,info RemoteAddr=202.180.54.138
dec/26 23:09:09 route,bgp,info RemotePort=179
dec/26 23:09:09 route,bgp,error Received notification
dec/26 23:09:09 route,bgp,error cease: connection collision resolution
dec/26 23:09:09 route,bgp,info Connection terminated
I receive similar message while trying few mikrotik version from 2.9.24++

Who is online

Users browsing this forum: Google [Bot], subnet and 99 guests