BGP (Border Gateway Protocol) is a border gateway protocol that provides dynamic routing. It is used to exchange data within autonomous systems.
The term autonomous systems refers to a set of routers running under the control of an administrator (or group). The protocol has built-in loop protection. It is often used by global providers for data exchange.
The principle of operation
Dynamic routing devices exchange data. The data indicates the availability of a specific routing scenario. This is necessary in order to make routes in the most optimal way. BGP works with IP addresses. With BGP, it is impossible to design information exchange based on additional criteria. A separate policy (PBR) is used to implement criteria (features).
Routing
The protocol establishes interaction between external systems operating in autonomous mode. It is better to use the already applicable methods of configuring BGP, not to resort to creating your own policies based on this protocol, because the rules already created have passed the test of time.
Transfer of information
Routing instructions are transmitted using transport datagrams, which indicate the autonomous systems through which the packets passed. This mechanism is necessary to eliminate the occurrence of loops on the route, as well as to track the position of the router and systems. Routers using internal dynamic routing protocols should have a good ability to pass traffic in the channel.
Destiny
BGP only provides packet distribution between addresses. Information is delivered via the TCP protocol, which guarantees data delivery.