The coach guides you without giving the cause away (in full versions, each hint costs 5 points).
Physically, everything is healthy: the Direct Connect connection is available, the optics receive -3.56 dBm,
and the AWS neighbour 169.254.61.1 answers ping. The security groups and the NACL have not changed.
The problem is higher up, in BGP: the VIF is available but bgpStatus is down, and FRR
receives, at each attempt, the Cease/Maximum Number of Prefixes Reached notification sent by AWS.
AWS limits to 100 IPv4 prefixes per BGP session the advertisements received on a private VIF (and on a
site-to-site VPN): beyond that, the session is closed. Last night's change removed
aggregate-address 10.20.0.0/16 summary-only: instead of 5 prefixes, the router advertises 142
(138 /24 headquarters subnets, plus 4 networks). The backup VPN falls for the same reason: it
cannot take over. ExpressRoute accepts up to 4,000 prefixes on private peering: Azure
keeps working, which made everyone believe the change had succeeded.
Incident resolved
Analysis and fix
Repair (on ml-rt-coeur-01):
- restore the aggregation:
sudo vtysh -c 'conf t' -c 'router bgp 65010' -c 'address-family ipv4 unicast' -c 'aggregate-address 10.20.0.0/16 summary-only'; - check what will be advertised:
show bgp ipv4 unicast 10.20.0.0/16and the advertisements to an established neighbour (5 prefixes); - restart only the AWS sessions:
sudo vtysh -c 'clear bgp 169.254.61.1'(then the two VPN tunnels); - save:
sudo vtysh -c 'write memory'; - check:
show bgp summary(AWS sessions established, PfxSnt 5),aws directconnect describe-virtual-interfaces(bgpStatus: up),describe-vpn-connections(UP, 5 routes), the VPC route table (propagated routes) and the call to the ERP fromml-app-aws-01. Tell the application team so they can drain the enrolment queue.
Prevention:
- strict outbound filter to AWS:
ip prefix-list PL-AWS-OUT permit 10.20.0.0/16(withoutle 24), with the same logic for each network, so that an aggregation mistake can never let the /24s out; - monitoring alert on the number of prefixes sent per neighbour (threshold at 80 for AWS) and on the VIF's
bgpStatus(CloudWatch metricVirtualInterfaceBpsEgress/ peer state); - review of network changes by a second engineer, with a “advertisements before / after” test;
- a change is “successful” only after checking all paths, not just one cloud.