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

How do two route-sharing neighbors start talking?

01

An open connection is only the beginning. The neighbors still exchange opening messages and confirm the session.

RFC 4271 · § 4.2EXAMPLE
1 / 4 · Connect the two neighbors

BGP uses an underlying TCP connection.

Router A
TCP connection
Router B

What happens if you change this?

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

3 / 3
03
KEEPALIVE completes establishment before UPDATE processing.

KEEPALIVE completes establishment before UPDATE processing.

How do two route-sharing neighbors start talking?An open connection is only the beginning. The neighbors still exchange opening messages and confirm the session.speaker Aspeaker B :179TCPOPENOPENKEEPALIVEESTABLISHED → UPDATE processingBGP routing state begins after transport and session negotiation

Key idea: Connection, opening checks, and route information are separate steps.

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.
OPEN
The BGP opening message, sent after TCP setup.

Look up a term in the glossary ↗

Rules & examples
  • The server TCP port is 179.
  • OPEN negotiates BGP version, AS information, hold time, identifier, and optional parameters.

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

TCP server port 179. This selected successful path omits Connect/Active/OpenSent/OpenConfirm transitions and assumes all other OPEN checks pass (version, router ID, hold-time validity, policy). Bad peer AS is OPEN error 2/2. The model is not the complete BGP FSM.

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.

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 ↗