Page 1 of 1

ask mikrotik bgp command "show ip bgp neighbor"

Posted: Fri Dec 22, 2006 11:23 am
by hajid
what mikrotik command that similar with this command below:

show ip bgp neighbor 218.100.27.129 advertise

thx

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

Posted: Sat Dec 23, 2006 1:54 am
by grzesjan
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

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

Posted: Sat Dec 23, 2006 1:49 pm
by hajid
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.

Posted: Tue Dec 26, 2006 12:43 am
by advantz
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?

Posted: Tue Dec 26, 2006 4:38 am
by hajid
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....

Posted: Wed Dec 27, 2006 6:58 pm
by changeip
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

Posted: Wed Dec 27, 2006 7:00 pm
by changeip
Also, what version are you using? There was a bug with the networks command that was fixed in the past release or so.

Posted: Thu Dec 28, 2006 12:43 pm
by hajid
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

Posted: Thu Dec 28, 2006 7:10 pm
by changeip

Posted: Sun Dec 31, 2006 3:42 am
by advantz
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++