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.
| Prefix | Designation | Why it is a bogon |
|---|---|---|
| 0.0.0.0/8 | This network | Not valid as a destination |
| 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 | Private IP space (RFC 1918) | Used only inside private networks |
| 100.64.0.0/10 | Shared address space | Reserved for CGNAT inside providers |
| 127.0.0.0/8 | Loopback | Never leaves the host |
| 169.254.0.0/16 | Link-local | Valid only on one network segment |
| 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 | Documentation | Reserved for examples |
| 198.18.0.0/15 | Benchmarking | Used only for device testing |
| 240.0.0.0/4 | Reserved for future use | Not routed on the Internet |
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.
| Prefix | Designation | Filtering note |
|---|---|---|
| ::/128 and ::1/128 | Unspecified and loopback | Never valid on the wire |
| fc00::/7 | Unique local addresses | Private use only |
| fe80::/10 | Link-local | Confined to one link |
| 2001:db8::/32 | Documentation | Examples only |
| Outside 2000::/3 | Not allocated for unicast | Drop unless deliberately permitted |
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.
| Observation | Likely cause | Recommended action |
|---|---|---|
| Private prefix received from a BGP peer | Missing export filter at the peer | Reject and notify the peer |
| Inbound packets with 10.x.x.x source | Spoofing or NAT failure | Drop at the border |
| Announcement of unallocated space | Possible hijack or error | Reject and investigate |
| Private ASN in a public AS path | Leaked internal route | Filter the AS path |
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.
| Technique | What it blocks | Maintenance effort |
|---|---|---|
| Static martian list | Permanently reserved space | Low, changes rarely |
| Full bogon feed | Reserved plus unallocated space | Requires automatic updates |
| uRPF strict or loose mode | Sources without a valid return route | Low, but needs careful design |
| AS path filters | Bogon and private ASNs | Low |
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.