You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
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.
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
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:
Machine bgpd logs:
show ip bgp neighbor
Please check and help
The text was updated successfully, but these errors were encountered: