Bogon

Also known as: bogon IP

On this page 7

A bogon is an IP address or prefix that should not appear in public Internet routing or as a source on the global network, because it is reserved for special use, set aside for private networks, or not yet allocated to any operator by a Regional Internet Registry. In Internet addressing, the term, also written bogon IP, marks packets and route announcements that are almost always the result of misconfiguration, leakage or spoofing.

Network operators filter bogons at their borders to keep invalid routes out of BGP tables and to drop traffic that cannot legitimately come from the Internet. The concept extends beyond IPv4 to IPv6 prefixes and to bogon autonomous system numbers, and the lists change over time as registries allocate new space.

Which addresses count as bogons

Bogons fall into two groups. Martians, or special-purpose addresses, are permanently reserved by standards such as the IANA special-purpose address registry described in RFC 6890. Unallocated space consists of prefixes that IANA or a registry has not yet assigned to any network; this second group shrinks as allocation continues, which is why it is sometimes called the full bogon list.

The table below lists the most frequently filtered IPv4 special-purpose ranges and the reason each is invalid on the public Internet.

PrefixDesignationWhy it is a bogon
0.0.0.0/8This networkNot valid as a destination
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16Private IP space (RFC 1918)Used only inside private networks
100.64.0.0/10Shared address spaceReserved for CGNAT inside providers
127.0.0.0/8LoopbackNever leaves the host
169.254.0.0/16Link-localValid only on one network segment
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24DocumentationReserved for examples
198.18.0.0/15BenchmarkingUsed only for device testing
240.0.0.0/4Reserved for future useNot routed on the Internet
Common IPv4 bogon prefixes

Multicast space (224.0.0.0/4) is a special case: it is legitimate as a destination for multicast routing but is treated as a bogon when it appears as a source address or in unicast route announcements.

Bogons in IPv6 and in autonomous system numbers

IPv6 bogon filtering follows the same logic but uses a different approach. Because nearly all global unicast addresses sit inside 2000::/3, many operators filter everything outside that block and then add specific reserved ranges within it, such as the documentation prefix 2001:db8::/32. Unique local addresses, link-local space and the loopback address are always bogons on the public Internet.

PrefixDesignationFiltering note
::/128 and ::1/128Unspecified and loopbackNever valid on the wire
fc00::/7Unique local addressesPrivate use only
fe80::/10Link-localConfined to one link
2001:db8::/32DocumentationExamples only
Outside 2000::/3Not allocated for unicastDrop unless deliberately permitted
Representative IPv6 bogon ranges

Bogon ASNs are autonomous system numbers that should not appear in a public AS path. They include AS 0, the transition number AS 23456, the private ASN ranges 64512-65534 and 4200000000-4294967294, and numbers reserved for documentation. A route whose AS path contains one of them usually signals a leak from an internal network or a misconfigured route server.

Why bogons appear on the network

Most bogon traffic and routes have mundane causes. A router may announce internal prefixes to a peer because an export filter is missing, or a host behind faulty NAT may emit packets with its private source address. These errors waste capacity and can disrupt routing, but they are rarely malicious.

Bogons are also a classic tool of source address spoofing. Attackers who launch reflection and flood attacks often forge source addresses, and some tools pick addresses at random, including reserved or unallocated ones. Unallocated space has also been briefly announced by spammers and hijackers who hoped that nobody would notice traffic to a prefix nobody owned.

The following table connects typical observations with their likely origins.

ObservationLikely causeRecommended action
Private prefix received from a BGP peerMissing export filter at the peerReject and notify the peer
Inbound packets with 10.x.x.x sourceSpoofing or NAT failureDrop at the border
Announcement of unallocated spacePossible hijack or errorReject and investigate
Private ASN in a public AS pathLeaked internal routeFilter the AS path
Bogon symptoms and likely causes

How operators filter bogons

Bogon filtering is applied in two places. Route filtering rejects bogon prefixes and bogon ASNs in BGP sessions with customers, peers and transit providers. Packet filtering drops traffic whose source or destination is a bogon at the network edge, typically through access control lists or unicast reverse path forwarding (uRPF).

These measures complement ingress filtering according to BCP 38, which requires networks to accept only source addresses that legitimately belong to the customer behind each interface. Bogon filtering blocks obviously impossible sources everywhere, while BCP 38 also blocks valid but stolen addresses.

TechniqueWhat it blocksMaintenance effort
Static martian listPermanently reserved spaceLow, changes rarely
Full bogon feedReserved plus unallocated spaceRequires automatic updates
uRPF strict or loose modeSources without a valid return routeLow, but needs careful design
AS path filtersBogon and private ASNsLow
Bogon filtering techniques compared

Risks of stale bogon lists

The main pitfall of bogon filtering is outdated data. When the last IPv4 blocks were allocated, newly assigned networks found themselves unreachable from operators who still filtered those prefixes as unallocated, a problem known informally as bogon reachability failure. A static full bogon list therefore becomes harmful within months.

  • Automate full bogon lists through a maintained feed or registry data, or limit static filters to permanent martians.
  • Keep 100.64.0.0/10 handling consistent with internal CGNAT design so that legitimate internal traffic is not dropped.
  • Review IPv6 filters regularly, because allocation inside 2000::/3 continues to expand.
  • Combine bogon filtering with RPKI route origin validation, since bogon filters cannot detect hijacks of allocated space.

In everyday language

A bogon is an Internet address that should never show up on the public Internet. Some addresses are kept for home and office networks, some are only for testing or examples, and some have simply not been given to anyone yet.

Think of mail with a return address that does not exist, such as a house number reserved for a building that was never built. A careful post office would set that letter aside. Network operators do the same with bogons: they drop such traffic, because it is almost always a mistake or a trick.

Seen in the real world

A mid-sized hosting provider reviews its border router logs and finds thousands of packets per second arriving with source addresses in 192.168.0.0/16 and 10.0.0.0/8, aimed at its DNS servers. Because no legitimate Internet host can use those sources, the team concludes that the traffic is spoofed reflection probe traffic.

The engineers add a martian access list on all upstream interfaces, enable loose-mode uRPF, and apply prefix and AS path filters to every BGP session. They also subscribe the routers to an automatically updated full bogon feed. Within a day, the spoofed packets are dropped at the edge, DNS server load returns to normal, and a later audit confirms that newly allocated customer prefixes remain reachable because the filter list updates itself.