Visual RFC.
ALL RFCs / RFC 4271
Read the RFC ↗
RFC 4271 / PROTOCOL MECHANISMS

What if a route’s travel history already includes home?

03

A route carries a path of networks. Seeing our own network in the selected incoming path is a loop warning.

RFC 4271 · § 5.1.2EXAMPLE
1 / 4 · Our network is Home

A network in this story is an autonomous system.

Our identity

Home · network number 64512

What happens if you change this?

Make one change, then watch again. Restart restores the original example.

3 / 3
03
Exclude the looping candidate rather than forwarding around the loop.

Exclude the looping candidate rather than forwarding around the loop.

What if a route’s travel history already includes home?A route carries a path of networks. Seeing our own network in the selected incoming path is a loop warning.LOCAL AS: 65010 · WORKED PATHS6503065020candidate6503065010local AS!exclude loopA path string is not path authorizationPrivate AS numbers illustrate loop detection

Key idea: AS-path loop detection is a check on the advertised network history, not a measure of physical distance.

Terms
Router
A device that chooses where to send network packets next.
Route
Information describing how to reach a block of destinations. It is different from the packets using it.
BGP
Border Gateway Protocol: exchanges reachability and policy information.
OPEN / KEEPALIVE / UPDATE
Opening note / session-liveness note / route-information change. Their full protocol handling is specified separately.
AS_PATH / NEXT_HOP
The advertised autonomous-system path / the next hop that must be resolved.

Look up a term in the glossary ↗

Rules & examples
  • A speaker generally rejects a route containing its own AS as specified by the decision process.
  • Prepending one’s own AS more than once can influence other systems’ path preferences; it does not authenticate the path.

The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.

Own AS 64512; AS_SEQUENCE 64513 64514. This external-BGP example excludes confederation segments, AS sets and configured exceptions. AS-path data is not authenticated by base BGP.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 1771RFC 4271 Appendix A

The revision explicitly allows multiple instances of the local AS in AS_PATH for inter-AS traffic engineering and clarifies tie breaking.

Read the updated RFC section ↗

All chapters in RFC 4271

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗