iBGP sessions begin flapping after enabling TTL-security on internal router pair
Environment
Two Cisco IOS-XR routers (v7.3) in same datacenter, iBGP full mesh over single-hop, TTL-security ('ip tcp adjust-mss' equivalent) recently enabled via config template pushed from Ansible.
Symptoms
iBGP (TCP/179) neighbors repeatedly drop and re-establish every 30–90s on both routers; traffic blackholes for BGP-learned prefixes during flaps; route-refresh process restarts.
Observations
syslog shows 'TCP reset from peer' and 'BGP peer closed connection' on both sides. tcpdump at OS shows SYN retransmits then a RST from the local interface's source IP. MTU consistent across path; no physical link errors; CPU and memory stable.
Already attempted
Rolled back TTL-security config on one router which stabilized neighbor on that side but other router still flapped with remaining peers. Disabled route-refresh and cleared BGP soft-reconfig with no change. Captured full pcap of 3 flaps.
Question
What configuration interactions or kernel/TCP behaviors cause iBGP (same-subnet) peering to reset after enabling TTL/MD/TCP tweaks, and how to remediate without disabling whole security feature?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags