Community discussions

MikroTik App
 
divB
newbie
Topic Author
Posts: 32
Joined: Mon Jul 06, 2015 8:18 pm

Debugging BGP session

Sun Oct 24, 2021 7:54 am

Hello,

I am setting up a BGP session via a GRE tunnel. In my opinion I have done everything correctly but the peer does not show up as "E - established". I think this should be the first step that should work, right?

Then I started the packet sniffer on that GRE interface and I see that no single TCP packets (in particular with port 179) are being transmitted. Shouldn't there be at least SYN requests to my endpoint?
(Note I see other packets in the sniffer, such as OSPF. Tunnel endpoint is pingable and I have opened port 179 for the GRE interface in the firewall).

This is my config (slightly anonymized ip ranges):
/routing bgp instance
set default as=65534 router-id=203.0.113.100
/routing bgp network
add network=203.0.113.0/24 synchronize=no
add network=2001:db8::/32  synchronize=no
/routing bgp peer
add address-families=ipv6 in-filter=tunnelbroker.ch-in name=sbtb out-filter=tunnelbroker.ch-out remote-address=2a09:5c0:1e0:181::1 remote-as=58057 ttl=default update-source=2a09:5c0:1e0:181::2
add in-filter=tunnelbroker.ch-in name=tunnelbroker.ch out-filter=tunnelbroker.ch-out remote-address=109.111.0.109 remote-as=58057 update-source=109.111.0.110
How can I debug this?
 
divB
newbie
Topic Author
Posts: 32
Joined: Mon Jul 06, 2015 8:18 pm

Re: Debugging BGP session  [SOLVED]

Wed Oct 27, 2021 8:07 am

I know this is not a solution but after days of debugging (and recording raw BGP packets and decoding OPEN message) I confirmed that the issue is the other endpoint. I was able to select a different endpoint and it hopped immediately to ESTABLISHED.

Who is online

Users browsing this forum: No registered users and 13 guests