
BGP communities give network teams a controlled way to signal routing intent for IPv4 prefixes. They help steer traffic, mark routes, trigger provider actions, and document policy without changing the prefix itself.
BGP traffic engineering is the use of BGP attributes to influence how traffic enters or leaves a network. A community is a route tag that carries policy information. For IPv4 prefixes, it supports b2b routing control, load balancing, selective announcements, blackholing, and safer coordination with each upstream provider.
BGP communities are optional route attributes. A router can attach them to a prefix, pass them to a neighbor, or use them in policy. Standard communities are usually written as two numbers. Large communities use three numbers and are easier to organize with 32-bit ASNs.
A community does not move packets by itself. It tells another router or provider how to treat the route. The action depends on the receiving network policy. This is why community documentation from each upstream must be reviewed before production use.
Useful community examples are simple and tied to an operational goal. They should not be copied blindly between providers because every carrier may define values differently.
Common examples include:
These tags help with policy design because they turn routing intent into repeatable rules. They also make audit and troubleshooting easier.
The outbound path is easier to control because your router chooses the next hop. Local preference, route maps, IGP cost, and prefix policy can move traffic between transit providers.
Inbound traffic is harder. Remote networks choose their own path to your prefix. Communities can help by asking an upstream to change local preference, suppress export, or apply AS path prepend. The result is not guaranteed because other networks may ignore the signal.
A safe model is to test communities on one prefix before applying them to all production ranges.
Attribute configuration should be exact. Engineers must know which routes get a community, which neighbors receive it, and whether the community is additive or replaces existing values.
Before deployment, check:
If teams lease IPv4 addresses, the agreement should allow the intended origin ASN and routing policy. If the prefix becomes long-term infrastructure, compare leasing with Buy IPv4 Addresses.
Using strings means documenting community values in a readable form. Engineers may describe each tag as “lower-preference-Europe,” “blackhole-remote,” or “do-not-export-peer-group.” The router still uses numeric attributes, but the operations team uses clear names in IPAM, change tickets, and runbooks.
A custom routing string is useful when several teams manage the same network. It connects business intent with BGP configuration. For example, a SaaS team may request lower latency in one region, while the network team maps that request to approved community values.
An enterprise path policy defines which links, carriers, exchanges, and regions should carry traffic. BGP communities help enforce that policy across multiple upstreams.
They can support:
This is important for leased or acquired IPv4 blocks. A wrong community can make a route disappear from a market or send traffic through an expensive path.
Communities can create outages when values are wrong or poorly documented. A provider may strip communities. A peer may interpret a tag differently. A route server may apply its own rules. A broad blackhole tag can remove reachability for a full prefix.
The team should monitor BGP visibility, traffic graphs, latency, packet loss, and rejected routes after every change. Communities should be reviewed like firewall rules because they change network behavior.
Do BGP communities guarantee traffic movement?
No. They request policy actions. The receiving network decides whether and how to apply them.
Can communities be used for both IPv4 and IPv6?
Yes. The same concept applies, but policies, filters, and accepted values may differ by provider.
Is AS path prepending still useful?
Yes, but it is a coarse tool. It should be combined with communities, local preference, and monitoring.
Should every prefix use the same communities?
No. Prefix role, region, risk level, and business priority should define the tag set.
If your team needs IPv4 space for multi-homed routing, upstream policy, DDoS workflows, or path control, contact InterLIR. The company provides infrastructure for IPv4 leasing, buying, lease-out, and marketplace workflows, so network teams can align address resources with BGP policy and operational requirements.
Evgeny Sevastyanov
Support Team Leader