Kingsfordweg 151, 1043GR Amsterdam, The Netherlands ● 24/7 support — support@novogara.com
Knowledge base

AS-path prepending

When you announce the same addresses over more than one link, you often want inbound traffic to favour one. Prepending is the classic, blunt way to make a path less attractive to the rest of the internet.

Longer path, less preferred

Routers tend to prefer a shorter AS path. By repeating your own AS number on an announcement, you make that path look longer and therefore less preferred, nudging inbound traffic toward your other link. It is simple and needs no cooperation from anyone else.

Why it is blunt

Prepending affects everyone who hears the announcement, not just the networks you had in mind, and its effect is all or nothing — you cannot gently shift ten percent. The result can surprise you, so change one step at a time and watch — see multihoming.

Communities are the finer tool

For targeted control — make this path less preferred only to one upstream — BGP communities are far more precise than prepending. We publish the communities you can use on our network; ask and we will help you steer traffic deliberately rather than bluntly.


Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base