Posts

BGP ORIGINATOR_ID: How Route Reflectors Stop Loops

Image
Give two route reflector clients the same router ID and nothing breaks loudly. The BGP sessions stay up, no NOTIFICATION is sent, the logs stay quiet, and yet each client never learns the other's prefixes. The reason is a 7-byte attribute that most engineers only notice as one line in show bgp : the BGP ORIGINATOR_ID . A route reflector writes it to say "this route was originated inside our AS by router X", and every router that receives a route carrying its own router ID in that field throws the route away. This part takes the attribute apart byte by byte, follows it through a real Cisco IOS XR route reflector that sends a client its own route back, and tests every rule in a GoBGP lab: who sets it, who must never overwrite it, what happens at the AS boundary, how it replaces the router ID in best-path selection, and how malformed copies are handled.

Monthly BGP Table Watch: Prefix and ASN Trends — 30 days to 2026-12-03

This monthly BGP Table Watch report summarizes how the public routing table changed over roughly the last 30 days, using the latest public Potaroo/CIDR Report samples available on 2026-12-03. The goal is to provide a slower, more useful view than the daily snapshots: month-over-month prefix growth, IPv6 movement, visible ASN changes, and the route-churn areas worth watching. X Follow @ipexptobe

Post-Quantum Cryptography: Is IPsec Safe? GRE, SD-WAN and Telecom Migration

On 2 December 2026 Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle published a rare joint statement : they "strongly support" the U.S. government's guidance to move to the NIST post-quantum cryptography (PQC) standards and "accelerate the migration as soon as possible". It came hours after the NSA warned that AI companies had disclosed "recent discoveries that impact the security" of some encryption systems, while the NSA, CISA and the Office of the National Cyber Director said in a second statement that recent AI advances "do not present an immediate and widespread threat" ( AP , The Verge ). Cloudflare moved its own PQC deadline from 2029 to 2027. Nothing has been broken today. But the timeline just got shorter, and network engineers should ask very concrete questions: what exactly is at risk, is IPsec still safe, what happens to GRE-over-IPsec and SD-WAN overlays, and what does a migration of a telecom network ...

Is Your Fridge in a Botnet? Home Network Security in the Age of AI Bots

Image
Your washing machine, your TV box and the camera above the front door are small computers connected to the internet. Most of them were set up once and never looked at again. At the same time, attacks no longer need a patient human: automated, increasingly AI-assisted bots scan every public address on the internet around the clock and try every door they find. This article explains what they look for, what can go wrong at home, and ten simple steps that close most of the doors – plus what a home network audit can and cannot find for you.

BGP MED: always-compare-med and deterministic-med

Image
Send the same three BGP paths to a router six times, changing nothing but the order in which they arrive, and you would expect the same best path every time. In our lab it picked three different winners, and in two of the runs it chose a path with BGP MED 100 while a path with MED 20 from the same neighbouring AS sat right next to it in the table. That is not a bug in the usual sense. It is how MULTI_EXIT_DISC is defined: a metric that may only be compared between some pairs of paths, so "better than" is not transitive and the result depends on how the router walks its list. This part covers the attribute byte by byte, where it sits in best-path selection, what always-compare-med , deterministic-med and missing-as-worst really change, the oscillation it can cause with route reflectors, and how often the real Internet table carries it.

BGP Communities: Wire Formats and Well-Known Values

Image
Log in to the public route server at RouteViews and ask it for every route tagged NO_EXPORT: show ip bgp community no-export returns nothing. Ask for 65535:666 , the BLACKHOLE community, and you get two aggregates, a /23 and a /22. Ask for 65535:0 , GRACEFUL_SHUTDOWN, and you get 241 prefixes from 104 origin ASes. All three are BGP communities : tags of 4 bytes that routers copy from AS to AS without having to understand them. Some of them have a fixed meaning that every router obeys. Most of them mean only what a network's policy says they mean, and many of them travel much further than their owner intended. This part covers standard communities (RFC 1997), their 8-byte extended and 12-byte large successors, the well-known values, and how operators build a policy language out of them. A GoBGP lab shows what a router really does with each one, and a full RIPE RIS table shows how 7 million real routes use them.

BGP AGGREGATOR Attribute: AS4_AGGREGATOR and AS_TRANS

Image
Look up 100.128.0.0/9 on a public route server and all fifteen paths end in the same AS_PATH tail, 6461 21928 , followed by (aggregated by 65137 10.169.14.171) . AS 65137 is a private AS number, and it appears nowhere in the AS_PATH. That line comes from the BGP AGGREGATOR attribute (type code 7). It is optional and has no effect on routing, but it names the AS and the router that built the summary. Here it also exposes an internal AS that the AS_PATH no longer shows. This part covers the attribute from its RFC definition to the byte level, then its 4-byte twin AS4_AGGREGATOR and AS_TRANS 23456 in real IOS XR captures. Fourteen crafted UPDATEs show how GoBGP handles it, a full RIPE RIS table shows how 533,312 real routes use it, and the Partial bit shows what happens to optional transitive attributes that a router does not understand.

BGP Atomic Aggregate: What It Signals After Summarisation

Image
Run show ip bgp 1.1.1.0/24 on a public route server and every one of the paths ends with the same two words: atomic-aggregate . Most engineers have seen the flag for years without knowing what it promises. The BGP atomic aggregate attribute (ATOMIC_AGGREGATE, type code 6) is the smallest attribute in BGP: three bytes and no value at all. It tells everybody downstream that the route is an aggregate and that some AS numbers of the routes behind it were thrown away. That is a warning about the AS_PATH and a rule for the receiver: do not break the route up into more-specific prefixes. This part follows the attribute from the RFC text to real IOS XR packet captures, a GoBGP lab that sends it broken on purpose, and a full Internet table where 6.4 % of IPv4 prefixes carry it.

BGP Local Preference: Primary/Backup and Transit Tiers

Image
Two transit providers, one bill you would rather not pay, and traffic that keeps leaving through the wrong one: that is the day most engineers meet BGP local preference . LOCAL_PREF is the knob that decides where traffic leaves your autonomous system. It is set by you, on your own border routers, and it is shared by every router in the AS, so they all agree on the exit. It beats AS_PATH length, ORIGIN and MED, which is why it carries most of the routing policy of the Internet: customer routes before peer routes before transit routes. This part of the series covers the attribute itself (bytes, defaults, error handling), then the three designs operators actually build with it, tested in a GoBGP lab and compared with what large transit networks publish today.

BGP NEXT_HOP Attribute: How eBGP and iBGP Change It

Image
Every BGP engineer meets this one early: the route is in show ip bgp , the AS path looks fine, and yet nothing is installed and traffic goes nowhere. Very often the problem is the BGP next hop attribute . NEXT_HOP is the address a router has to forward packets to, and BGP itself only carries it: the IGP has to make it reachable. The rules for who rewrites it are short but full of exceptions. eBGP rewrites it, iBGP keeps it, route reflectors must not touch it, IXP route servers pass someone else's address on purpose, and IPv6 adds a second, link-local address in a different attribute. This part of the series goes through each rule with the RFC text, real bytes from a GoBGP lab, and 7 million real routes from an Internet exchange.

BGP AS_PATH Attribute on the Wire: AS_SET and AS4_PATH

Image
At 04:08 UTC this morning the RouteViews collector in Oregon held four copies of 94.176.176.0/22. Each one had an AS path of 258 or 259 autonomous systems, 255 of them the same number, AS205624. The router marked all four maxas-limit and printed no best path : the prefix was in the table and yet unreachable from there. A few lines of the BGP AS_PATH attribute decided that. AS_PATH is the list of networks a route has crossed. It stops loops, it is the first real tie-breaker after LOCAL_PREF, and it is the attribute most people touch with prepending. This part of the series goes below the show ip bgp line: how the list is encoded byte by byte, why 4-byte AS numbers needed a second attribute (AS4_PATH) and a fake AS number (23456), what changed for AS_SET in 2025, and what a GoBGP lab and 5.6 million real Internet paths show.

Weekly BGP Table Watch: Prefix and ASN Changes — 2026-11-30

The global BGP table keeps moving every day. This weekly BGP Table Watch snapshot tracks IPv4 prefixes, IPv6 prefixes, visible ASNs and the largest routing-table changes reported during the last week. The goal is not to alarm on every change. BGP is noisy by design. The goal is to build a simple operational habit: watch the size of the routing table, notice large origin-AS changes, and keep an eye on where new ASNs and route withdrawals appear. X Follow @ipexptobe

BGP ORIGIN Attribute: Lab Tests and Who Rewrites It

Image
At 00:27 UTC tonight the RouteViews collector in Oregon held fifteen paths to 105.32.0.0/12. Eight of them had the same AS_PATH length, seven hops, and six of those eight ended in Origin incomplete . The router threw those six away and picked a path through Lumen (AS3356) that ended in Origin IGP . Every copy that came straight from Cogent said INCOMPLETE; the copies that crossed Lumen or Vocus said IGP. One byte, changed by a network in the middle of the path, decided the route. The BGP ORIGIN attribute is that byte. It records how the route first entered BGP: IGP, EGP or INCOMPLETE, the i , e and ? at the end of every show ip bgp line. This is part 6 of our 26-part BGP Deep Dive and the first of the one-attribute-per-article parts. It covers the definition and the bytes, the history from EGP to RFC 4271, how each vendor sets the value, where ORIGIN sits in best-path selection, a GoBGP lab in which ORIGIN wins, loses and gets rewritten, broken ORIGIN values, and fresh RIPE RIS ...

The Four Categories of BGP Path Attributes

Image
At 04:06 UTC this morning we asked the RouteViews collector at the University of Oregon for the route to 1.1.1.0/24. The best path came through AS 57866, and under the usual Origin IGP, metric 0, localpref 100 line the router printed something less usual: unknown transitive attribute: flag 0xE0 type 0x20 length 0x3C . Type 0x20 is 32, the Large Community attribute standardised in 2017. This router does not implement it, yet it still accepted the route and kept the 60 unknown bytes. That works because of one byte that comes before every attribute. BGP path attributes are the data BGP uses to describe a route and to choose between routes, and their four categories decide what a router must do with an attribute it has never seen. This is part 5 of our 26-part BGP Deep Dive and the overview for the ten attribute articles that follow. It covers the four categories, the flags byte bit by bit, the type codes, the error rules of RFC 4271 and RFC 7606, a GoBGP lab in which we sent known, u...

BGP Neighbor States: How the Finite State Machine Works

Image
On the RouteViews collector at the University of Oregon, one BGP neighbor has been in the Active state for one year and 28 weeks, and another has sat in Active since early October with its log line reading Last reset 7w5d, due to Active open failed . Neither will ever send a route unless someone fixes the TCP connection under it. BGP neighbor states are usually the first thing an engineer checks, and they say a lot if you know what each one means. This is part 4 of our 26-part BGP Deep Dive . We go through the finite state machine (FSM) of RFC 4271 state by state, with its events, timers and error paths. Then we build a GoBGP 4.11 lab where five sessions fail in five different ways, and read the exact state changes, timers and NOTIFICATIONs from the logs.