Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FRR] Issue with show ip bgp neighbor stats -[FSM] TCP_connection_open_failed (Connect->Active) #17868

Open
sumanchandel2 opened this issue Jan 17, 2025 · 3 comments
Assignees
Labels
bgp unsupported-version The version of FRR is unsupported

Comments

@sumanchandel2
Copy link

Issue : Connection is established but in 2nd attempt always but Last reset is always coming by info : "Waiting for peer OPEN". I have not seen any connection issue at other machine. once connection is established then both machines are sending Keepalive msgs properly.

"Connections established 1; dropped 0
Last reset 00:05:21, Waiting for peer OPEN"

Frr: 8.1-1ubuntu1.11

Machine Info:
Router Machine : 10.128.35.95
Machine Second : where neighbor is configured with anycast: 10.128.35.93

Router Logs:

2025/01/17 04:22:11 BGP: [Event] BGP connection from host 10.128.135.93:57354
2025/01/17 04:22:11 BGP: [Event] Make dummy peer structure until read Open packet
2025/01/17 04:22:11 BGP: 10.128.135.93 passive open
2025/01/17 04:22:11 BGP: 10.128.135.93 went from Active to OpenSent
2025/01/17 04:22:11 BGP: 10.128.135.93 rcv message type 1, length (excl. header) 66
2025/01/17 04:22:11 BGP: 10.128.135.93 rcv OPEN, version 4, remote-as (in open) 23456, holdtime 16, id 10.128.135.93, inbound connection
2025/01/17 04:22:11 BGP: 10.128.135.93:57354 [Event] Transfer accept BGP peer to real (state Active)
2025/01/17 04:22:11 BGP: 10.128.135.93 sending OPEN, version 4, my as 13595, holdtime 16, id 10.128.135.95
2025/01/17 04:22:11 BGP: 10.128.135.93 send message type 1, length (incl. header) 59
2025/01/17 04:22:11 BGP: 10.128.135.93 rcv OPEN w/ OPTION parameter len: 56
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 6
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has MultiProtocol Extensions capability (1), length 4
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has MP_EXT CAP for afi/safi: 1/1
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
2025/01/17 04:22:11 BGP: message index 128 [Route Refresh (Old)] found in capcode_str at position 6 (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has Route Refresh (Old) capability (128), length 0
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has Route Refresh capability (2), length 0
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
2025/01/17 04:22:11 BGP: message index 70 not found in capcode_str (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has (no item found) capability (70), length 0
2025/01/17 04:22:11 BGP: 10.128.135.93 unrecognized capability code: 70 - ignored
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 6
2025/01/17 04:22:11 BGP: message index 65 [4-octet AS number] found in capcode_str at position 4 (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has 4-octet AS number capability (65), length 4
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
2025/01/17 04:22:11 BGP: message index 6 not found in capcode_str (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has (no item found) capability (6), length 0
2025/01/17 04:22:11 BGP: 10.128.135.93 unrecognized capability code: 6 - ignored
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 6
2025/01/17 04:22:11 BGP: message index 69 not found in capcode_str (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has (no item found) capability (69), length 4
2025/01/17 04:22:11 BGP: 10.128.135.93 unrecognized capability code: 69 - ignored
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 8
2025/01/17 04:22:11 BGP: message index 73 not found in capcode_str (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has (no item found) capability (73), length 6
2025/01/17 04:22:11 BGP: 10.128.135.93 unrecognized capability code: 73 - ignored
2025/01/17 04:22:11 BGP: 10.128.135.93 rcvd OPEN w/ optional parameter type 2 (Capability) len 4
2025/01/17 04:22:11 BGP: message index 64 [Graceful Restart] found in capcode_str at position 3 (max is 8)
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has Graceful Restart capability (64), length 2
2025/01/17 04:22:11 BGP: 10.128.135.93 OPEN has Graceful Restart capability
2025/01/17 04:22:11 BGP: 10.128.135.93 Peer has restarted. Restart Time : 120
2025/01/17 04:22:11 BGP: 10.128.135.93 [Event] Accepting BGP peer delete
2025/01/17 04:22:11 BGP: 10.128.135.93 went from OpenSent to Deleted
2025/01/17 04:22:11 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:11 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:11 BGP: 10.128.135.93 went from OpenSent to OpenConfirm
2025/01/17 04:22:11 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:11 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:11 BGP: 10.128.135.93 went from OpenConfirm to Established
2025/01/17 04:22:11 BGP: %ADJCHANGE: neighbor 10.128.135.93 Up
2025/01/17 04:22:11 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:11 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:12 BGP: send End-of-RIB for IPv4 Unicast to 10.128.135.93
2025/01/17 04:22:12 BGP: 10.128.135.93 rcvd UPDATE w/ attr: nexthop 10.128.135.93, origin i, metric 0, path 12813593
2025/01/17 04:22:12 BGP: 10.128.135.93 rcvd 20.20.20.95/32
2025/01/17 04:22:12 BGP: rcvd End-of-RIB for 10.128.135.93 from IPv4 Unicast
2025/01/17 04:22:12 BGP: Zebra send: IPv4 route add 20.20.20.95/32 nexthop 10.128.135.93 metric 0 tag 0 count 1
2025/01/17 04:22:15 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:15 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:16 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:16 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:19 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:19 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:21 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:21 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:23 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:23 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:26 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:26 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:27 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:27 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:31 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:31 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:31 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:31 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:35 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:35 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:36 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:36 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:39 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:39 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:41 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:41 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:43 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:43 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:46 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:46 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:47 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:47 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:51 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:51 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:51 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:51 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:55 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:55 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:22:56 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:22:56 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:22:59 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:22:59 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:01 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:01 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:04 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:04 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:06 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:06 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:08 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:08 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:11 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:11 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:12 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:12 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:16 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:16 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:16 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:16 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:20 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:20 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:21 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:21 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:24 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:24 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:26 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:26 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:28 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:28 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:31 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:31 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:32 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:32 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:36 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:36 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:36 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:36 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:40 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:40 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:41 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:41 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:44 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:44 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:46 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:46 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:48 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:48 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:51 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:51 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:23:52 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:52 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:56 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:23:56 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:23:56 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:23:56 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:00 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:00 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:01 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:01 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:04 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:04 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:06 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:06 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:08 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:08 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:11 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:11 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:12 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:12 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:16 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:16 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:16 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:16 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:20 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:20 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:21 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:21 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:24 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:24 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:26 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:26 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:28 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:28 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:31 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:31 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:32 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:32 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:36 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:36 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:36 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:36 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:40 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:40 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:41 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:41 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:44 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:44 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:46 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:46 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:48 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:48 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:51 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:51 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:24:52 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:52 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:56 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:24:56 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:24:56 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:24:56 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:00 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:00 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:01 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:01 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:04 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:04 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:06 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:06 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:08 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:08 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:11 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:11 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:12 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:12 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:16 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:16 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:16 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:16 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:20 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:20 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:21 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:21 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:24 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:24 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:26 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:26 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:28 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:28 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:31 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:31 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:32 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:32 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:36 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:36 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:36 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:36 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:40 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:40 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:41 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:41 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:44 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:44 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:46 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:46 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:48 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:48 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:51 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:51 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:25:52 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:52 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:56 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:25:56 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:25:56 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:25:56 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:00 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:00 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:01 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:01 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:04 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:04 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:06 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:06 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:08 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:08 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:11 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:11 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:12 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:12 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:16 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:16 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:16 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:16 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:20 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:20 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:21 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:21 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:24 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:24 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:26 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:26 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:28 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:28 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:31 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:31 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:32 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:32 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:36 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:36 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:36 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:36 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:40 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:40 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:41 BGP: 10.128.135.93 sending KEEPALIVE
2025/01/17 04:26:41 BGP: 10.128.135.93 send message type 4, length (incl. header) 19
2025/01/17 04:26:44 BGP: 10.128.135.93 rcv message type 4, length (excl. header) 0
2025/01/17 04:26:44 BGP: 10.128.135.93 KEEPALIVE rcvd
2025/01/17 04:26:46 BGP: 10.128.135.93 sending KEEPALIVE

Machine bgpd logs:

2025/01/17 09:22:11 ZEBRA: [V98V0-MTWPF] client 27 says hello and bids fair to announce only bgp routes vrf=0
2025/01/17 09:22:11 ZEBRA: [V98V0-MTWPF] client 32 says hello and bids fair to announce only vnc routes vrf=0

==> /var/log/frr/bgpd.log <==
2025/01/17 09:22:11 BGP: [MQAC4-8G3WW] Creating Default VRF, AS 12813593
2025/01/17 09:22:11 BGP: [TTAN7-16X9N] dup addr detect enable max_moves 5 time 180 freeze disable freeze_time 0
2025/01/17 09:22:11 BGP: [ZZKY3-FX5JH] bgp_get: Registering BGP instance (null) to zebra
2025/01/17 09:22:11 BGP: [TNK7N-FJF7K] Registering VRF 0
2025/01/17 09:22:11 BGP: [HXW3G-K1M2A] sendmsg_zebra_rnh: sending cmd ZEBRA_IMPORT_ROUTE_REGISTER for 20.20.20.95/32 (vrf VRF default)
2025/01/17 09:22:11 BGP: [HKBB3-YX6A9] Rx Intf add VRF 0 IF ens160
2025/01/17 09:22:11 BGP: [HKBB3-YX6A9] Rx Intf add VRF 0 IF ens160
2025/01/17 09:22:11 BGP: [GYPW0-GVZQ8] Rx Intf address add VRF 0 IF ens160 addr 10.128.135.93/24
2025/01/17 09:22:11 BGP: [HKBB3-YX6A9] Rx Intf add VRF 0 IF lo
2025/01/17 09:22:11 BGP: [HKBB3-YX6A9] Rx Intf add VRF 0 IF lo
2025/01/17 09:22:11 BGP: [GYPW0-GVZQ8] Rx Intf address add VRF 0 IF lo addr 20.20.20.95/32
2025/01/17 09:22:11 BGP: [KGTKH-FVHEW] Rx Router Id update VRF 0 Id 20.20.20.95/32
2025/01/17 09:22:11 BGP: [HKBB3-YX6A9] Rx Intf add VRF 0 IF ens160
2025/01/17 09:22:11 BGP: [GYPW0-GVZQ8] Rx Intf address add VRF 0 IF ens160 addr 10.128.135.93/24
2025/01/17 09:22:11 BGP: [HKBB3-YX6A9] Rx Intf add VRF 0 IF lo
2025/01/17 09:22:11 BGP: [GYPW0-GVZQ8] Rx Intf address add VRF 0 IF lo addr 20.20.20.95/32
2025/01/17 09:22:12 BGP: [ZQTB5-H8522] 10.128.135.95 [FSM] Timer (start timer expire).
2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] BGP_Start (Idle->Connect), fd -1
2025/01/17 09:22:12 BGP: [HXW3G-K1M2A] sendmsg_zebra_rnh: sending cmd ZEBRA_NEXTHOP_REGISTER for 10.128.135.95/32 (vrf VRF default)
2025/01/17 09:22:12 BGP: [T72VK-55DVG] 10.128.135.95 [FSM] Waiting for NHT
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Connect established_peers 0
2025/01/17 09:22:12 BGP: [ZQHFG-DQGX1] 10.128.135.95 went from Idle to Connect
2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] TCP_connection_open_failed (Connect->Active), fd -1
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Active established_peers 0
2025/01/17 09:22:12 BGP: [ZQHFG-DQGX1] 10.128.135.95 went from Connect to Active
2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] ConnectRetry_timer_expired (Active->Connect), fd -1
2025/01/17 09:22:12 BGP: [Z195V-FNKRK] 10.128.135.95 [Event] Connect start to 10.128.135.95 fd 19
2025/01/17 09:22:12 BGP: [G0837-S7QES] 10.128.135.95 [FSM] Non blocking connect waiting result, fd 19
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Connect established_peers 0
2025/01/17 09:22:12 BGP: [ZQHFG-DQGX1] 10.128.135.95 went from Active to Connect
2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] TCP_connection_open (Connect->OpenSent), fd 19
2025/01/17 09:22:12 BGP: [RWZTG-AA74G] 10.128.135.95 open active, local address 10.128.135.93
2025/01/17 09:22:12 BGP: [XKJ09-9VTZ7] 10.128.135.95 Sending hostname cap with hn = bgpd, dn = (null)
2025/01/17 09:22:12 BGP: [JFFAN-DEGED] 10.128.135.95 sending OPEN, version 4, my as 12813593, holdtime 16, id 10.128.135.93
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: OpenSent established_peers 0
2025/01/17 09:22:12 BGP: [ZQHFG-DQGX1] 10.128.135.95 went from Connect to OpenSent
2025/01/17 09:22:12 BGP: [S2V7Q-ZTN00] 10.128.135.95 rcv OPEN, version 4, remote-as (in open) 13595, holdtime 16, id 10.128.135.95
2025/01/17 09:22:12 BGP: [QG29C-5TSVS] 10.128.135.95 rcv OPEN w/ OPTION parameter len: 30
2025/01/17 09:22:12 BGP: [NVZPF-5ST3B] 10.128.135.95 rcvd OPEN w/ optional parameter type 2 (Capability) len 6
2025/01/17 09:22:12 BGP: [SCW43-WN4M1] 10.128.135.95 OPEN has MultiProtocol Extensions capability (1), length 4
2025/01/17 09:22:12 BGP: [YMPY9-XXHCF] 10.128.135.95 OPEN has MP_EXT CAP for afi/safi: IPv4/unicast
2025/01/17 09:22:12 BGP: [NVZPF-5ST3B] 10.128.135.95 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
2025/01/17 09:22:12 BGP: [SCW43-WN4M1] 10.128.135.95 OPEN has Route Refresh (Old) capability (128), length 0
2025/01/17 09:22:12 BGP: [NVZPF-5ST3B] 10.128.135.95 rcvd OPEN w/ optional parameter type 2 (Capability) len 2
2025/01/17 09:22:12 BGP: [SCW43-WN4M1] 10.128.135.95 OPEN has Route Refresh capability (2), length 0
2025/01/17 09:22:12 BGP: [NVZPF-5ST3B] 10.128.135.95 rcvd OPEN w/ optional parameter type 2 (Capability) len 6
2025/01/17 09:22:12 BGP: [SCW43-WN4M1] 10.128.135.95 OPEN has 4-octet AS number capability (65), length 4
2025/01/17 09:22:12 BGP: [NVZPF-5ST3B] 10.128.135.95 rcvd OPEN w/ optional parameter type 2 (Capability) len 4
2025/01/17 09:22:12 BGP: [SCW43-WN4M1] 10.128.135.95 OPEN has Graceful Restart capability (64), length 2
2025/01/17 09:22:12 BGP: [GD42V-WN7TQ] 10.128.135.95 OPEN has Graceful Restart capability
2025/01/17 09:22:12 BGP: [T4X0Y-7MSR0] 10.128.135.95 Peer has not restarted. Restart Time : 120
2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] Receive_OPEN_message (OpenSent->OpenConfirm), fd 19
2025/01/17 09:22:12 BGP: [HRDT0-0DPQ7] 10.128.135.95 sending KEEPALIVE
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: OpenConfirm established_peers 0
2025/01/17 09:22:12 BGP: [ZQHFG-DQGX1] 10.128.135.95 went from OpenSent to OpenConfirm
2025/01/17 09:22:12 BGP: [X61A3-E95TJ] 10.128.135.95 KEEPALIVE rcvd
2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] Receive_KEEPALIVE_message (OpenConfirm->Established), fd 19
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Established established_peers 1
2025/01/17 09:22:12 BGP: [ZQHFG-DQGX1] 10.128.135.95 went from OpenConfirm to Established
2025/01/17 09:22:12 BGP: [JANKZ-VWB1H] create update group 1
2025/01/17 09:22:12 BGP: [H27WP-RKYEA] create subgroup u1:s1
2025/01/17 09:22:12 BGP: [J17A0-KD5QR] peer 10.128.135.95 added to subgroup s1
2025/01/17 09:22:12 BGP: [WRRRF-XQPX7] u1:s1 add peer 10.128.135.95
2025/01/17 09:22:12 BGP: [X61A3-E95TJ] 10.128.135.95 KEEPALIVE rcvd
2025/01/17 09:22:12 BGP: [P3D3N-3277A] 10.128.135.95 [FSM] Timer (routeadv timer expire)
2025/01/17 09:22:13 BGP: [P9VY3-5B6NX] 10.128.135.95 rcvd UPDATE wlen 0 attrlen 0 alen 0
2025/01/17 09:22:13 BGP: [WT375-N4KPV] EOR REQ 0, EOR RCV 0
2025/01/17 09:22:13 BGP: [G3V0W-FSWRC] bgp_best_path_select_defer: processing route for IPv4 Unicast : cnt 0
2025/01/17 09:22:13 BGP: [M59KS-A3ZXZ] bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 10.128.135.95 in vrf default
2025/01/17 09:22:13 BGP: [K9G3A-CJ5QQ] u1:s1 announcing routes upon coalesce timer expiry(1050 ms)
2025/01/17 09:22:13 BGP: [P3D3N-3277A] 10.128.135.95 [FSM] Timer (routeadv timer expire)
2025/01/17 09:22:13 BGP: [TN0HX-6G1RR] u1:s1 send UPDATE w/ attr: nexthop 0.0.0.0, origin i, mp_nexthop ::, metric 0, path
2025/01/17 09:22:13 BGP: [HVRWP-5R9NQ] u1:s1 send UPDATE 20.20.20.95/32 IPv4 unicast
2025/01/17 09:22:13 BGP: [WEV7K-2GAQ5] u1:s1 send UPDATE len 56 (max message len: 4096) numpfx 1
2025/01/17 09:22:13 BGP: [MBFVT-8GSC6] u1:s1 10.128.135.95 send UPDATE w/ nexthop 10.128.135.93
2025/01/17 09:22:13 BGP: [ZP3RE-J4Q8C] send End-of-RIB for IPv4 Unicast to 10.128.135.95
2025/01/17 09:22:16 BGP: [P8XN0-33WQ6] 10.128.135.95 [FSM] Timer (keepalive timer expire)
2025/01/17 09:22:16 BGP: [HRDT0-0DPQ7] 10.128.135.95 sending KEEPALIVE
2025/01/17 09:22:17 BGP: [X61A3-E95TJ] 10.128.135.95 KEEPALIVE rcvd
2025/01/17 09:22:20 BGP: [P8XN0-33WQ6] 10.128.135.95 [FSM] Timer (keepalive timer expire)
2025/01/17 09:22:20 BGP: [HRDT0-0DPQ7] 10.128.135.95 sending KEEPALIVE

show ip bgp neighbor

BGP neighbor is 10.128.135.95, remote AS 13595, local AS 12813593, external link
  BGP version 4, remote router ID 10.128.135.95, local router ID 10.128.135.93
  BGP state = Established, up for 00:05:20
  Last read 00:00:05, Last write 00:00:03
  Hold time is 16, keepalive interval is 4 seconds
  Configured hold time is 16, keepalive interval is 4 seconds
  Neighbor capabilities:
    4 Byte AS: advertised and received
    Extended Message: advertised
    AddPath:
      IPv4 Unicast: RX advertised
    Route refresh: advertised and received(old & new)
    Enhanced Route Refresh: advertised
    Address Family IPv4 Unicast: advertised and received
    Hostname Capability: advertised (name: bgpd,domain name: n/a) not received
    Graceful Restart Capability: advertised and received
      Remote Restart timer is 120 seconds
      Address families by peer:
        none
  Graceful restart information:
    End-of-RIB send: IPv4 Unicast
    End-of-RIB received: IPv4 Unicast
    Local GR Mode: Helper*
    Remote GR Mode: Helper
    R bit: False
    Timers:
      Configured Restart Time(sec): 120
      Received Restart Time(sec): 120
    IPv4 Unicast:
      F bit: False
      End-of-RIB sent: Yes
      End-of-RIB sent after update: Yes
      End-of-RIB received: Yes
      Timers:
        Configured Stale Path Time(sec): 360
  Message statistics:
    Inq depth is 0
    Outq depth is 0
                         Sent       Rcvd
    Opens:                  1          1
    Notifications:          0          0
    Updates:                2          1
    Keepalives:            80         65
    Route Refresh:          0          0
    Capability:             0          0
    Total:                 83         67
  Minimum time between advertisement runs is 0 seconds

 For address family: IPv4 Unicast
  Update group 1, subgroup 1
  Packet Queue length 0
  NEXT_HOP is always this router
  Community attribute sent to this neighbor(all)
  Inbound path policy configured
  Outbound path policy configured
  Incoming update prefix filter list is *DEFAULT
  Outgoing update prefix filter list is *ANYCAST
  0 accepted prefixes

  Connections established 1; dropped 0
  Last reset 00:05:21,  Waiting for peer OPEN
  External BGP neighbor may be up to 255 hops away.
Local host: 10.128.135.93, Local port: 57354
Foreign host: 10.128.135.95, Foreign port: 179
Nexthop: 10.128.135.93
Nexthop global: ::
Nexthop local: ::
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 120
Read thread: on  Write thread: on  FD used: 19

Please check and help

@ton31337
Copy link
Member

@sumanchandel2 please check with the latest versions, 8.1 is not supported.

@ton31337 ton31337 added bgp unsupported-version The version of FRR is unsupported labels Jan 17, 2025
@ton31337 ton31337 self-assigned this Jan 17, 2025
@ton31337
Copy link
Member

And... to be clear, are you complaining only about the visibility "issue" or something is not working?

@sumanchandel2
Copy link
Author

sumanchandel2 commented Jan 17, 2025

Hi @ton31337 ,

My Question was related with TCP connection -> established status is not happening in 1st attempt. Any reason ?

Last reset 00:05:21,  Waiting for peer OPEN 

This timer thing is always coming as conenction is being established in 2nd attempt only. I have never seen "Last reset never" in 1st time TCP connection.

I have added the logs in Description:

2025/01/17 09:22:12 BGP: [ZWCSR-M7FG9] 10.128.135.95 [FSM] TCP_connection_open_failed (Connect->Active), fd -1
2025/01/17 09:22:12 BGP: [T91AW-FGMHW] bgp_fsm_change_status : vrf default(0), Status: Active established_peers 0

I have not seen this failure pcap also.

Also, Which version(https://launchpad.net/ubuntu/jammy/+source/frr) shall i use in Ubuntu 22.04.1 and Routers/Peers can be based on Quagga based routing as well for lower version of Ubuntu Machines
Kernel Version : 5.15.0-122-generic
Arch: x86_64

Please suggest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bgp unsupported-version The version of FRR is unsupported
Projects
None yet
Development

No branches or pull requests

2 participants