Code

What is BGP and how does it work?

What is BGP and how does it work?

Learn: Profession DevOps Engineer PRO

Learn more

In 2008, Pakistan Telecom attempted to block YouTube in Pakistan. When setting up the blocking, the provider mistakenly specified itself as the primary router for all YouTube traffic. This resulted in temporary service unavailability worldwide. The outage was caused by the specific operation of the Border Gateway Protocol (BGP), which is responsible for routing traffic on the Internet. This incident demonstrated the vulnerability of the global network and the importance of proper configuration of network protocols to ensure the stable operation of Internet services.

In this article, we will discuss the main aspects of the BGP (Border Gateway Protocol). We will consider its purpose, key operating principles, and main vulnerabilities. We will also provide an example of a basic BGP configuration on a Cisco router. BGP plays an important role in managing routes between autonomous systems on the Internet, ensuring the exchange of information about available paths. Understanding its operation and vulnerabilities will help improve the security and efficiency of the network infrastructure.

  • What is BGP
  • When and why is BGP needed?
  • How BGP works
  • Types and formats of BGP messages
  • How to configure routing on Cisco equipment

What is BGP

BGP (Border Gateway Protocol) is the main routing protocol on the Internet. It establishes standards for the exchange of information between various independent networks, which ensures their stable and reliable connection. BGP plays a key role in determining data transmission routes, allowing for effective traffic management and maintaining the stability of Internet connections. BGP is critical for ensuring interoperability between different autonomous systems, making it an indispensable tool for network operators and internet service providers. Independent networks, also known as autonomous systems (AS), are separate networks with a unique number and their own routing rules. These systems independently determine their own policies for connecting to other networks. Autonomous systems can range from large internet service providers, such as Rostelecom or MTS, to smaller organizations, including universities, data centers, and technology companies. The internet is made up of many such networks, and BGP (Border Gateway Protocol) unites them into a single network, ensuring efficient data exchange between different autonomous systems. Understanding how autonomous systems and BGP work is key for networking and internet infrastructure professionals. Imagine the internet as a postal service, with each autonomous system functioning as a separate post office. Just as the post office finds the best way to deliver letters, the Border Gateway Protocol (BGP) selects the most efficient route for data transfer. For example, when you request information from Singapore to Moscow, BGP builds the optimal route through various networks to your device. This protocol plays a key role in ensuring fast and reliable data exchange on the global network, which makes it an important component of the functioning of the Internet today.

BGP unites disparate autonomous systems into a single global network, ensuring uninterrupted operation InternetInfographics: Skillbox Media

Let's consider a simplified model of the Internet, consisting of six autonomous systems (AS). You are in AS 1, and the server you need is located in AS 3. There are two possible routes for transmitting data between your systems. This simplified representation allows us to better understand how routing on the Internet functions and what factors can influence the choice of route. Route optimization is key to ensuring fast and reliable communication between different systems.

  • short path - through AS2 directly to AS3;
  • long path - through AS6, AS5, AS4 and then to AS3.

The first path seems to be the most optimal, since it includes only one intermediate node. If the Internet functioned like a regular postal service, such a system could efficiently handle even thousands of autonomous systems. However, in reality, these autonomous systems are owned by different companies, which can lead to their unavailability, and the routes between them are constantly changing. Therefore, the number of intermediate nodes is only one factor considered when choosing a route. We will discuss other important characteristics later.

Simplified routing diagram for autonomous systems Infographics: Skillbox Media

When And why is BGP needed?

BGP, or Border Gateway Protocol, is a key routing protocol on the internet. However, many companies don't need to interact with it directly. In most cases, it's enough to connect to an internet service provider that uses BGP to exchange data with other networks. It's important to understand when BGP is critical and when it can be omitted. For example, organizations with small networks or those relying on cloud providers may not need to manage BGP. However, for larger companies with multiple internet connections and reliability requirements, BGP becomes an essential tool for optimizing routing and ensuring network resilience.

When you connect to the internet, your internet service provider assigns you a public IP address. If you have a Wi-Fi router, all devices connected to it will share a single public IP address. This applies to devices such as phones, laptops, televisions, and other gadgets. This scheme works thanks to NAT (Network Address Translation) technology.

NAT technology allows multiple devices on a local network to exchange data with the outside internet while maintaining security and privacy. All incoming and outgoing data passes through a router, which manages the traffic and redirects it to the appropriate devices on the local network. This provides not only convenience but also protection from external threats.

NAT functions as a "smart translator" that manages network requests. When your laptop sends a request to the YouTube server, the system is assigned a unique port, such as 12345. Meanwhile, when your phone receives email, it is assigned a different unique port, such as 54321. Upon receiving responses, NAT automatically redirects them to the appropriate devices. BGP is not used in this process, as all operations are performed using the ISP's internal protocols. Thus, NAT ensures efficient distribution of network resources and traffic optimization, which is especially important in multi-user networks.

Internet connection diagram through an Internet provider using a public IP address and NAT technology. Infographics: Skillbox Media

Companies typically access the internet through ISPs, just like regular users. They can use a single public IP address to run multiple services, distributing traffic across different ports. For example, a single IP address can simultaneously host a website, mail server, and file server, each using its own dedicated port. This allows for efficient resource management and ensures service stability.

When a company uses a single IP address with different ports for its services, BGP becomes redundant. In this case, traffic flows through a standard connection to the ISP, which manages routing using its internal protocols. This simplifies the network architecture and reduces the need for complex routing mechanisms such as BGP, which can help increase the speed and reliability of data transfer.

Internet connection diagram for a company using one IP address and different ports for its ServicesInfographics: Skillbox Media

Working with a single internet provider creates significant risks for a business. If this connection fails, internet access can be completely lost. This can occur due to cable breaks, technical problems, or other unforeseen circumstances. To minimize risks, a company should consider using multiple providers or backup connection channels to ensure a stable and uninterrupted internet connection. This will not only increase reliability but also improve overall business performance.

To increase connection reliability, companies can use a second provider as a backup communication channel. In this scheme, it is important to correctly configure channel priorities using routing metrics. This will ensure uninterrupted access to the Internet and minimize the risks associated with the disconnection of the primary provider. Effective routing and channel redundancy contribute to the stable operation of the business and improve the quality of customer service.

  • Primary provider: processes all traffic due to a low routing metric value - for example, 10.
  • Backup provider: acts as a backup communication channel with a higher metric (for example, 100), which is automatically enabled only when the primary channel fails.

In the event of a primary channel failure, internal routing protocols automatically redirect traffic to the backup channel. After the primary channel is restored, traffic returns to it due to the lower metric. This scheme allows internal protocols to function effectively without the need for BGP (Border Gateway Protocol). This approach ensures the reliability and resilience of the network infrastructure, minimizing downtime and guaranteeing a stable connection.

Internet connection diagram using the primary and backup providers. Infographic: Skillbox Media

Now let's discuss cases where using the BGP protocol becomes vital. For example, consider an e-commerce company whose online store serves millions of customers. In such situations, BGP ensures reliable traffic routing, optimizing traffic flows and maintaining high service availability. The protocol helps avoid congestion and failures, which is critical for businesses handling large volumes of data and transactions. Using BGP improves network performance and stability, which, in turn, increases user satisfaction and facilitates company growth.

For large companies, ensuring stable operation via a private IP address is critical, as this guarantees uninterrupted access to the site for users, even in the event of failures at one of the internet service providers. In this situation, the best solution is to use the BGP (Border Gateway Protocol), which allows for traffic routing management. Properly configuring BGP ensures a reliable and stable internet connection, which is essential for a successful business in the digital environment. Using BGP gives a company the ability to obtain its own autonomous system and an independent block of IP addresses. This allows for efficient traffic routing management and quick switching between providers. One of the key advantages is that all company services retain their public IP addresses even when changing providers. For example, if a corporate website has an IP address of 54.239.28.85, it will be accessible at the same address regardless of the chosen provider. This ensures the stability and continuity of online resources, which is critical for business. How BGP Works BGP routing involves several key steps. The first step is configuring the router to ensure its functionality for working with the BGP protocol. The second stage involves establishing connections with neighboring routers, which is necessary for exchanging routing information. The third stage involves determining optimal data transmission paths, which allows for the selection of the most efficient routes for traffic delivery. The final stage involves the actual routing of data along the selected routes, ensuring reliable and fast information transfer within the network. Correct implementation of all these stages is the basis for the effective operation of BGP routing.

BGP does not automatically discover neighboring devices, which necessitates manual configuration of parameters for neighboring routers before using it. Setting up these parameters is essential for ensuring stable and effective BGP operation, as correct configuration allows routers to exchange routing information and maintain reliable communication.

Configuration involves two key stages. The first stage requires preliminary preparation, including the selection of the necessary tools and resources. The second stage involves the actual configuration of the system, where it is important to follow the established instructions for optimal results. Following these steps in the correct sequence will ensure stable operation and efficient configuration.

  • Your router must specify two mandatory parameters of the neighboring device: the IP address (e.g. 192.0.2.1) and the autonomous system (AS) number (e.g. AS12389 for Rostelecom).
  • The provider also adds your router data to its BGP configuration: it specifies the IP address and autonomous system number.

Once configured, the router connects to the global Internet routing table, which includes hundreds of thousands of routes. However, the router forwards packets only along those routes that are in its local database. If the required route to a particular network is not in the local database, the packets will not be delivered, even if this route is in the global table. This emphasizes the importance of properly configuring the router's local database to ensure efficient data delivery.

The router establishes sessions with neighboring devices to exchange information. These sessions operate over TCP/IP protocols over port 179 and go through several sequential setup stages. The session establishment process includes the exchange of hello messages, as well as authentication and parameter negotiation, ensuring reliable and efficient data transfer between devices on the network. Idle is the initial router state, indicating readiness to establish a connection but no active activity. This state occurs when the BGP protocol is first started or restarted, for example, when an administrator resets all sessions to make configuration changes. It is important to understand that in the Idle state, the router does not exchange routing information, which can impact overall network performance. Effective management of the router state and its BGP sessions is key to ensuring the stability and reliability of the network infrastructure. During the Connect stage, the router initiates an attempt to establish a TCP/IP connection with a neighboring device. For example, a router with IP address 192.0.2.1 attempts to connect to a neighboring device with IP address 192.0.2.2. If the connection is successful, the router enters the OpenSent state. If the connection fails, for example, due to a closed port or the neighboring device being unreachable, the router enters the Active state. This process is a key step in establishing network communication between devices, ensuring the reliability and stability of the connection. OpenSent is the state a router enters after sending an OPEN message to a neighboring device and waiting for a response. In the received OPEN message, the router verifies parameters such as the BGP version, autonomous system number, and other important settings, and determines the connection type. If the parameters do not match the local settings, the router terminates the connection and returns to the Idle state. If the parameters are correct, the router enters the OpenConfirm state, indicating its readiness to continue establishing the BGP session.

Active — In this state, the router is actively working to restore a broken connection with a neighbor. It periodically sends TCP requests to establish a connection, waiting for a response. If a response is received, the router enters the Connect state and begins the reconnection procedure. If the timeout expires without a response, the router returns to the Idle state. This state ensures the reliability and resilience of network connections, allowing routers to effectively manage connection loss.

OpenConfirm — At this stage, the router sends an OPEN message with the settings and waits for a KEEPALIVE message from the neighboring device. This short message confirms acceptance of the transmitted settings. Upon receiving it, the router enters the Established state, indicating successful connection establishment. This process is key to ensuring stable and reliable network operation, as confirming the settings ensures synchronization between routers. The Established state denotes an active session in which routers have successfully established a connection and are exchanging routing information. To maintain this connection, they regularly exchange routing updates and KEEPALIVE messages. If a router does not receive a KEEPALIVE message within a specified time, the connection is considered broken, and the session enters the Idle state. This is a critical process for ensuring the stability and reliability of routing in networks.

The diagram shows the stages of establishing a BGP session between routers and possible transitions to different states. Image: Mermaid Chart / Skillbox Media

BGP (Border Gateway Protocol) selects not only the shortest but also the optimal route for data transmission. It uses a complex system of parameters that are evaluated sequentially. The protocol moves on to the next criterion only if the values ​​of the previous characteristics for the compared routes match. This multi-level evaluation system allows BGP to provide reliable and efficient routing in global networks, which is critical for the stable operation of the Internet infrastructure.

Network equipment manufacturers use various sets of characteristics to determine the optimal route. In this article, we will analyze this process using the instructions of Cisco, one of the world's leading manufacturers in this field, as an example. For information on the characteristics of other manufacturers, we recommend referring to their official documentation. This will help you better understand how to choose the optimal solutions for your network infrastructure and improve the efficiency of your equipment.

When selecting the optimal route, BGP (Border Gateway Protocol) takes into account several characteristics, which are arranged in descending order of priority. These characteristics include elements such as prefix length, route cost, AS-path attributes, and other parameters that can affect the efficiency of data transfer. Analysis of these characteristics allows BGP to make informed decisions about which routes should be used to transmit information through networks, ensuring the stability and reliability of routing on the Internet.

  • Weight - preference is given to the route with the highest weight. For example, if the route through provider A is set to 100, and through provider B to 50, traffic will be routed through provider A.
  • LOCAL_PREF is a parameter for managing routing within an autonomous system. The higher the value, the higher the priority. If the route through Moscow is assigned a LOCAL_PREF value of 200, and through St. Petersburg to 100, traffic will go through the Moscow node.
  • Locally created paths — routes created directly on the router are given a higher priority. For example: the network 192.168.1.0/24 command creates a direct path to the local network, which gives it the highest priority. However, the redistribute ospf command has a medium priority, since it imports routes from another routing protocol.
  • AS_PATH — preference is given to the route with the fewest autonomous systems (AS) in the path. For example, AS path 1 2 3 will be preferred over AS path 1 2 3 4 5.
  • Source type — routing priority is determined by the reliability of the source of routing information. BGP distinguishes between three types of sources: routes from internal routing protocols (IGP), routes from external protocols (EGP), and routes with an unspecified source (INCOMPLETE).
  • MED — metric for selecting the optimal entry point into an autonomous system when there are multiple connections to a neighboring AS. The lower the MED value, the more preferred the direction. For example, if a provider has two communication links — a primary one with a MED of 100 and a backup one with a MED of 200 — traffic will be routed through the primary link.
  • Priority of external routes over internal ones — when comparing two identical paths, the router gives preference to external BGP (eBGP) over internal BGP (iBGP). This is due to the fact that external routes come directly from other autonomous systems and contain more up-to-date information about the network path.
  • IGP metric - if there are multiple paths to the next hop, the router selects the path with the lowest metric in the internal routing protocols (IGP). For example, if there are two directions with metrics of 10 and 20, the router will select the first.
  • BGP Multipath is a load balancing technology that allows a router to use multiple data transmission paths simultaneously. This balancing works when the main route parameters match and the BGP Multipath feature is enabled.
  • Route reception time - if there are multiple external directions, the one that was received first is given priority. This ensures network stability, since it prevents frequent switching between routes and reduces the load on the equipment.
  • Router ID - if there are multiple routes with identical parameters, BGP selects the path from the router with the lowest Router ID. For example, if two routes with the same parameters are received from routers with Router IDs 1.1.1.1 and 2.2.2.2, the system will select the route from the first router. This mechanism ensures predictable routing, since the Router ID remains unchanged even when the network is rebuilt.
  • Cluster list length - if several routes have the same Router ID, BGP selects the one that has traversed the smallest number of clusters. This is important in large networks where BGP route reflectors (RRs) are used to simplify the exchange of routing information between nodes. For example, if one route has traversed two clusters (RR1 → RR2), and the other has traversed three clusters (RR1 → RR2 → RR3), BGP will select the former.
  • The neighbor's IP address is the final selection criterion. If all previous parameters are equal, the system selects the route through the neighboring router with the lowest IP address. This IP address is specified during the initial BGP configuration and is used to establish a secure TCP connection between routers.

After selecting the most suitable path, the router forwards data using the "next hop" principle. This means that it determines not only the final destination but also the nearest intermediate node to forward the packet. The routing system continuously monitors the packet delivery process and updates the route status information in its database. This approach ensures efficient and fast data transfer within the network, guaranteeing the reliability and integrity of the information.

When transmitting data from Moscow to Novosibirsk, the router routes the packet through the nearest node, which is Nizhny Novgorod. The packet then passes through Kazan and Yekaterinburg before reaching its end point in Novosibirsk. In the event of a node failure, the system automatically finds an alternative route, ensuring high reliability and resilience of the network. Efficient use of routers and nodes helps minimize delays and improve overall data transfer performance.

Please note the following materials:

The World Wide Web (WWW) is a system of interconnected hypertext documents accessible via the Internet. It allows users to easily find, share, and interact with information in various formats. The World Wide Web was created in the early 1990s by Tim Berners-Lee, who developed the protocols and technologies that enable the network to function.

The structure of the World Wide Web is based on the principles of hypertext, allowing users to navigate from one document to another through hyperlinks. Each document on the network has a unique address, called a URL, making it easy to find and access. The main components of the WWW are websites, web pages, browsers, and web servers.

Since its inception, the World Wide Web has significantly changed the way we access information and communicate, becoming an integral part of the lives of millions of people around the world. It continues to evolve, incorporating new technologies and standards such as HTML5, CSS3, and JavaScript, making the web more interactive and accessible.

BGP Message Types and Formats

In the previous section, we discussed that the Border Gateway Protocol (BGP) exchanges messages between routers as it operates. Let's take a closer look at these messages.

In BGP, each message has a standard structure consisting of three key components. These components ensure the efficient functioning of the protocol and allow the exchange of routing information between routers. Understanding the structure of BGP messages is important for optimizing network operations and route management. Each component performs its own unique function, which contributes to reliable and fast data transmission in global networks.

  • A marker is a special 16-byte field in which each byte contains the hexadecimal value 0xFF. It serves two functions: it separates messages from each other and allows for the detection of loss of synchronization between routers.
  • Length is a two-byte field indicating the total size of the message in bytes (including header and data). For example, the shortest message is 19 bytes long because it only includes a header: 16 bytes denote the marker, 2 bytes denote the length, and 1 byte denotes the type.
  • Type is a one-byte field that determines how the received message is processed. For example, upon receiving a message with a type 2 code, the router acknowledges the connection and updates the hold timers. If the timer was set to 180 seconds, each message of the second type restarts this countdown.

Bit and Byte: A Guide to Units of Information Measurement

In the digital world, bits and bytes are the basic units of information measurement. A bit, short for "binary digit," is the smallest unit of information and can have a value of 0 or 1. A byte, on the other hand, consists of 8 bits and can represent more complex data, such as characters or numbers. Understanding these units is critical for working with computer systems, programming, and data processing. For example, file sizes, data transfer rates, and memory capacity are often measured in bytes, kilobytes, megabytes, and gigabytes. These units allow users to evaluate file sizes and device performance. When choosing hardware or software, it is important to consider how much information can be processed. This will help optimize data handling and improve resource efficiency. Understanding bits and bytes is also essential for understanding networking technologies, where data transfer rates and the amount of information transferred play a key role.

In conclusion, bits and bytes are the foundations of the digital world, and understanding them will help you better navigate modern technologies and effectively use information resources.

The Border Gateway Protocol (BGP) provides five main message types. These messages play a key role in exchanging routing information between autonomous systems. Each message type performs a specific function, ensuring efficient routing management within the network. Understanding these messages is important for administrators and network security professionals because they impact the stability and performance of the network infrastructure.

  • OPEN (Type 1) — to establish adjacency between routers.
  • KEEPALIVE (Type 2) — to maintain connectivity and check the status of neighboring routers.
  • UPDATE (Type 3) — to update routing information.
  • NOTIFICATION (Type 4) — to notify of errors.
  • ROUTE-REFRESH (Type 5) — to update routing information.

Each message type has a unique structure, which is described in detail in the documentation. For example, an OPEN message must include certain fields.

  • Version — specifies the protocol version number.
  • Autonomous System — specifies the autonomous system number to which the message sender belongs.
  • Timeout — a period of inactivity after which the session is automatically closed. This is the maximum time allotted to a router to receive KEEPALIVE or UPDATE messages.
  • Identifier — a unique router number that allows other network participants to determine exactly which device they are communicating with.
  • Optional Parameters Field Length — indicates how many bytes the optional parameters in the message occupy. If there are no optional parameters, the field value will be 0.
  • Optional parameters — additional settings for expanding BGP capabilities. For example, the Capabilities parameter informs other routers about the supported IP versions.

Let's consider an example of an OPEN message from a router with the following characteristics: IP address 192.168.1.1, autonomous system number 100, timeout 180 seconds, no optional parameters. This message is a key element in the process of establishing a connection between routers on the network. It contains important information such as router identification and session parameters. Understanding the structure and content of the OPEN message helps ensure effective communication within the BGP protocol, which in turn promotes the stability and performance of the network infrastructure. In this section, we will examine the dialogue between routers R1 and R2. This data exchange process is a key element in the network architecture and allows routers to communicate effectively with each other. Routers exchange routing information, which ensures optimal data transmission within the network. Analyzing this dialogue helps us understand how routers process and forward packets, as well as the protocols used for successful communication. Understanding these aspects is important for network administrators and IT professionals looking to improve the efficiency of their network infrastructure.

  • R1 initiates a connection and sends an OPEN message: "Hello, I'm R1, running BGP version 4."
  • R2 responds with its own OPEN message: "Hello, I'm R2, also running this version."
  • R1 and R2 send KEEPALIVE and confirm the connection establishment.
  • R1 sends an UPDATE with information about available routes.
  • R2 responds with its own UPDATE.
  • R1 sends a ROUTE-REFRESH with a request to update routes for the address family. For example, for a specific country.
  • R2 responds with new UPDATEs with the requested routes.
  • After this, the routers periodically exchange KEEPALIVE messages to keep the session alive.
  • If R1 detects a problem, it will send a NOTIFICATION with an error code and terminate the connection. For example, if R1 does not receive a KEEPALIVE message from R2 within 180 seconds, it will send a NOTIFICATION with the error code 4 ("Timeout").

The message exchange is a continuous and cyclic process that occurs according to a set schedule. This process ensures that routing information between routers remains up-to-date, which is critical for the efficient operation of the network infrastructure. By regularly updating data, routers can optimally manage traffic and maintain connection stability.

How to Configure BGP on Cisco Equipment

In this section, we will discuss the basic configuration of the BGP protocol and the process of establishing neighbor relationships. BGP (Border Gateway Protocol) is an important tool for exchanging routing information between different autonomous systems. If you have any questions or difficulties, we recommend that you refer to the official Cisco documentation for more detailed information and recommendations.

To get started, activate privileged mode by entering the enable command. This mode provides access to advanced features and settings of the device, allowing you to manage the configuration and execute various commands. Make sure you have the necessary rights to execute this command to avoid possible errors and access restrictions. After successfully entering privileged mode, you can continue configuring and optimizing your device.

After executing the command, the system may require you to enter a password if this setting is enabled. Upon successful login, the command prompt will change from Device> to Device#. If the change does not occur, it is recommended to try entering the command again.

First, enter global configuration mode, then switch to configuration mode by entering the autonomous system number.

Once you enter configuration mode, you can configure key protocol parameters. This includes the router ID, network advertisement, keepalive and holddown timers, and neighbor configuration. You can also log neighbor state changes and enable fast disconnection when connection is lost. Once these parameters are configured, you can enable routing information exchange, which will ensure effective management of network routes and improve connection stability. Configuring these parameters is critical for optimizing network performance and increasing its reliability.

After saving the basic settings, you can use a number of additional routing parameters. One such parameter is the weighting mechanism, which allows you to set the route priority when there are multiple paths. This is especially useful for optimizing traffic and ensuring a reliable connection. Route selection based on weights helps effectively manage network resources and improves system performance.

After configuring routing, it's important to verify that the protocol is working correctly. Various commands are available to ensure the router is configured and functioning correctly. Using these commands will help identify potential errors and optimize routes, ensuring stable network operation.

What's Next

You've now learned the basics of the BGP protocol and are now ready to deepen your knowledge. We've prepared a set of tools and services to help you understand the key features of the BGP protocol and get started using it effectively. These resources will allow you to not only understand the theoretical aspects, but also apply them in practice, which will significantly expand your skills in the field of networking.

  • RFC 4271 - the specification and complete description of the BGP-4 protocol.
  • Cisco BGP Guide - the official guide from Cisco on configuring and using BGP.
  • RFC 4456 - a description of the Route Reflection mechanism, which simplifies route propagation in large networks.
  • Juniper BGP Documentation - BGP documentation from Juniper Networks, including configuration examples and an explanation of the basic principles.
  • MRT Tools - tools for working with the MRT format, which stores the history of route changes. They allow you to track route changes and identify network problems.
  • RIPEstat — detailed route statistics and analytics.
  • Hurricane Electric BGP Toolkit — BGP monitoring tools that allow you to monitor traffic between autonomous systems, for example, between the Moscow and St. Petersburg networks.
  • GoBGP — an open-source tool written in Go for creating and testing BGP routers. It allows you to quickly deploy a test environment, simulate various routing scenarios, and experiment with configurations.
  • BGPlay — an interactive visualization tool that shows routing changes between autonomous systems in real time. For example, you can use it to see how traffic is rerouted when a primary link fails.

Learn more about programming and coding in our Telegram channel. Subscribe to the latest news, tips, and interesting materials in the field of development!

Reworked text:

Study additional materials:

  • What is the OSI model and why is it needed?
  • DNS: what is it and how is it used?
  • TCP/IP model: what is it and how does it work?

Profession DevOps Engineer PRO

Learn to analyze data using analytics services and BI tools, master Python and SQL. Become an indispensable specialist and be able to help businesses make data-driven decisions.

Learn more