Community discussions

MikroTik App
 
jkjkrules
just joined
Topic Author
Posts: 20
Joined: Thu Dec 03, 2015 8:21 am

mikrotik v7.7 bgp to juniper wont stay connected

Thu Jan 12, 2023 10:25 pm

I was getting error 71 but fixed that with turning off graceful-restart long-lived receiver on the juniper. Now I'm getting
Unsupported capability received, code: 128BgpStarter{ c=Connection{ ConnId{ 192.168.100.8:44787 -> 192.168.100.7:179 } Socket{ 5 ida } out } readsz=99 } cancel
bgp just won't stay connected
/routing bgp connection
add address-families=ip as=xxxxx cisco-vpls-nlri-len-fmt=auto-bits connect=yes \
    disabled=no hold-time=3m input.filter=ibgp-in keepalive-time=4m15s listen=\
    yes local.address=192.168.100.8 .role=ibgp multihop=no name=eqx-a-r1 \
    output.filter-chain=ibgp-out .network=bgp-networks \
    .no-client-to-client-reflection=yes remote.address=192.168.100.7/32 .as=\
    xxxxx router-id=192.168.100.8 routing-table=main
add address-families=ip as=xxxxx cisco-vpls-nlri-len-fmt=auto-bits connect=yes \
    disabled=no hold-time=infinity input.filter=ibgp-in keepalive-time=4m15s \
    listen=yes local.address=192.168.100.8 .role=ibgp multihop=no name=router2 \
    output.filter-chain=ibgp-out .network=bgp-networks \
    .no-client-to-client-reflection=yes remote.address=192.168.100.1/32 .as=\
    xxxxx router-id=192.168.100.8 routing-table=main
add address-families=ip as=xxxxx cisco-vpls-nlri-len-fmt=auto-bits connect=yes \
    disabled=no hold-time=infinity input.filter=ibgp-in keepalive-time=4m15s \
    listen=yes local.address=192.168.100.8 .role=ibgp multihop=no name=v6 \
    output.filter-chain=ibgp-out .network=bgp-networks \
    .no-client-to-client-reflection=yes remote.address=192.168.100.6/32 .as=\
    xxxxx router-id=192.168.100.8 routing-table=main
/routing ospf interface-template
add area=backbone-v2 auth-id=1 comment=ptp-bul-r1-eqx-a-r2 cost=8 disabled=no \
    interfaces=eth4.vlan1000 networks=172.16.1.0/30 priority=1 type=ptp
add area=backbone-v2 auth-id=1 comment=other cost=15 disabled=no interfaces=\
    ether3 networks=172.16.0.0/30 priority=1 type=ptp
add area=backbone-v2 disabled=no interfaces=lo networks=192.168.100.8/32 \
    passive




set routing-options autonomous-system xxxxx
set protocols bgp graceful-restart long-lived receiver disable
set protocols bgp group apb-internal_v4 type internal
set protocols bgp group apb-internal_v4 family inet any
set protocols bgp group apb-internal_v4 family inet-vpn any
set protocols bgp group apb-internal_v4 family inet6-vpn any
set protocols bgp group apb-internal_v4 neighbor 192.168.100.6 description mikrotik-v6
set protocols bgp group apb-internal_v4 neighbor 192.168.100.8 description bul-r1
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ospf area 0.0.0.0 interface ge-0/0/0.1000 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/0.1000 metric 8
Last edited by jkjkrules on Fri Jan 13, 2023 10:31 pm, edited 1 time in total.
 
jkjkrules
just joined
Topic Author
Posts: 20
Joined: Thu Dec 03, 2015 8:21 am

Re: mikrotik v7.7 bgp to juniper wont stay connected

Thu Jan 12, 2023 10:40 pm

I also tried the same setup with v7.6
 
tomislav91
Member
Member
Posts: 303
Joined: Fri May 26, 2017 12:47 pm

Re: mikrotik v7.7 bgp to juniper wont stay connected

Thu Jan 12, 2023 11:25 pm

Here are a few suggestions on what you can try to troubleshoot the issue:
  • Double-check the BGP configurations on all devices involved in the session to ensure that they match and that all necessary settings are configured correctly. This includes the autonomous system number, local and remote addresses, hold time, keepalive time, and any other settings that are specific to your network.
  • Check the versions of BGP running on all devices. Make sure that the versions are compatible with each other. If not, upgrade or downgrade the version on one of the devices to match the others.
  • Check the logs on all devices to see if there are any other error messages or warnings that might provide more information about the problem.
  • Check if there is any issue with the underlying network infrastructure that might be causing the BGP sessions to fail. This could include issues with routing, connectivity, or other network-related problems.
  • Check your filters, make sure that the input and output filter chain you set on the BGP connection are applied correctly and no conflicts with other filters.
  • Check the BGP status and counters in the devices, this could give more information about the problem.
  • Check the routing-table on all devices, make sure that all routes are learned correctly and there's no issue with the routing-table.
 
jkjkrules
just joined
Topic Author
Posts: 20
Joined: Thu Dec 03, 2015 8:21 am

Re: mikrotik v7.7 bgp to juniper wont stay connected

Wed Jan 18, 2023 8:12 pm

bump

has no one had this issue?
 
gechev
just joined
Posts: 19
Joined: Mon Jul 18, 2016 7:51 pm

Re: mikrotik v7.7 bgp to juniper wont stay connected

Fri Jan 20, 2023 3:09 am

I opened same topic an year ago, but it seems to be deleted. And it explains my curiosity why somebody asks absolutely the same questions about code 71 and code 128 when it has been discussed.
A ticket has been opened too, a dump has been sent. Routeros version: 7.1.1, junos version: 17.4R2.4
Now I'm facing (not the same) problems with quagga and BGP confederations and iBGP, so I ended up in a situation where the router with RouterOS v7 has successful BGP sessions only with other mikrotik routers.
P.S. I suppose there could be something totally different causing all problems, but the message about unsupported capability is the only visible in the log
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: mikrotik v7.7 bgp to juniper wont stay connected

Fri Jan 20, 2023 2:11 pm

I was getting error 71 but fixed that with turning off graceful-restart long-lived receiver on the juniper. Now I'm getting
Unsupported capability received, code: 128BgpStarter{ c=Connection{ ConnId{ 192.168.100.8:44787 -> 192.168.100.7:179 } Socket{ 5 ida } out } readsz=99 } cancel
bgp just won't stay connected

My first step would be to remove the VPNv6 capability on the Juniper side and retry - that's not supported yet in ROSv7
set protocols bgp group apb-internal_v4 family inet6-vpn any
 
jkjkrules
just joined
Topic Author
Posts: 20
Joined: Thu Dec 03, 2015 8:21 am

Re: mikrotik v7.7 bgp to juniper wont stay connected

Tue Jan 24, 2023 1:01 am

looks like the hold-time=infinity was the issue got it matched up and it's staying connected now

Who is online

Users browsing this forum: No registered users and 17 guests