Community discussions

MikroTik App
 
elico
Member Candidate
Member Candidate
Topic Author
Posts: 146
Joined: Mon Nov 07, 2016 3:23 am

Advertising Connected routes doesn't work on a SSTP connection

Fri Dec 16, 2022 4:46 am

OK so I have PTP SSTP connections with a centralized router.
The SSTP clients network is 192.168.120.0/24 and the remote address of the centralized router over the SSTP connection is 192.168.9.250.
I have multiple locations that are connected to the centralized Router each on a different geographic location.
I want to be able to establish a BGP(or another) session between couple remote locations to the centralized location and only push the relevant networks which are couple connected and static local routes.
I can configure the routes statically but I want to allow the remote admins to add and remove networks and leave me out of the picture.
Currently I don't need filters and just to pass the basic static and connect routes to a specific routing table in the centralized location.
The issue is that I am able to establish a BGP session but the connected routes are not being published.
## Remote location
> /routing/bgp/export 
# dec/16/2022 04:38:52 by RouterOS 7.6
###
# model = RBD53iG-5HacD2HnD
/routing bgp connection
add address-families=ip as=65002 disabled=no hold-time=3m keepalive-time=1s local.address=192.168.120.80 .role=ebgp name=karney-bgp output.network=BGP_ROUTES .redistribute=connected \
    remote.address=192.168.9.250/32 .as=65001 router-id=192.168.120.80 routing-table=main use-bfd=yes

> /routing/bgp/session/print 
Flags: E - established 
 0   name="karney-bgp-1" 
     remote.address=192.168.9.250 .as=65001 .id=192.168.9.250 .capabilities=mp,rr,gr,as4 
     local.address=192.168.120.80 .as=65002 .id=192.168.120.80 .capabilities=mp,rr,gr,as4 
     output.network=BGP_ROUTES ebgp 
     keepalive-time=1s use-bfd=yes last-started=dec/16/2022 04:38:55 last-stopped=dec/16/2022 04:38:55 

## Centralized location
> /routing/bgp/export 
# dec/16/2022 04:40:06 by RouterOS 7.6
##
# model = RB750Gr2
/routing bgp connection
add address-families=ip as=65001 disabled=no hold-time=3m keepalive-time=1s local.address=192.168.9.250 .role=ebgp \
    name=kdumim-bgp output.redistribute=connected remote.address=192.168.120.80/32 .as=65002 router-id=\
    192.168.9.250 routing-table=test use-bfd=yes
> /routing/bgp/session/print 
Flags: E - established 
 0   name="kdumim-bgp-1" 
     remote.address=192.168.120.80 .as=65002 .id=192.168.120.80 .capabilities=mp,rr,gr,as4 
     local.address=192.168.9.250 .as=65001 .id=192.168.9.250 .capabilities=mp,rr,gr,as4 ebgp 
     routing-table=test keepalive-time=1s use-bfd=yes last-started=dec/16/2022 04:40:08 
     last-stopped=dec/16/2022 04:40:08
I am not sure what is my issue.
Either I don't understand how BGP works or I configured it wrong or... there is a bug.
Not sure on even how to look at it now.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Advertising Connected routes doesn't work on a SSTP connection

Fri Dec 16, 2022 5:24 pm

bfd is not implemented at the moment

Who is online

Users browsing this forum: zdiv and 12 guests