Skip to content

Nimpoo/Bgp-At-Doors-of-Autonomous-Systems-is-Simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bgp-At-Doors-of-Autonomous-Systems-is-Simple

This 42 project is a simple implementation of BGP (Border Gateway Protocol) that allows you to simulate the routing of packets between autonomous systems (AS). The goal is to understand how BGP works and how it can be used to route packets between different networks.

The project is divided into three parts:

  • Part 1: Creation of the host and router containers with an image of FRRouting and learning how GNS3 works.
  • Part 2: Creation of the AS configuration files (VXLAN, bridge, etc...), and learning how to configure BGP in FRRouting.
  • Part 3: Creation of the final topology, setup of route reflectors, hnowing what is the method of BGP-EVPN-VXLAN, configuration with vtysh and adding a third host to the topology.

We will need A LOT OF DOCUMENTATION to understand what we are supposed to do, so we will try to explain everything in the Glozzzaire.md file.

ALL THE DOCUMENTATION IS NECESSARY TO UNDERSTAND THE PROJECT

Maybe I abused a bit, but we wanted to be sure that we understood everything. It's very complicated to understand BGP, normally a formation is required to understand it.

🚨 WARNINGS ABOUT FRROUTING 🚨

🚨 First Warning 🚨

As you can see in the walktrhough in the part 2, we create an image of FRRouting, but you can use Quagga or GNU Zebra, but FRRouting may be more up to date and have more features and it's a fork of Quagga (and Quagga a fork of GNU Zebra). So we recommend using FRRouting, but you can use Quagga or GNU Zebra or another Internet routing protocol suite.

🚨 Second Warning 🚨

If you use FRRouting, you can see we build an image of it for Debian. Previously we build an image of FRRouting for Alpine but we have noticed that is not working properly with some commands (ipconfig, vtysh, etc...). Because Alpine has a deprecated version of Busybox. And we switched to Debian because it is more stable and has a better support for FRRouting. So we recommend using Debian as the base image for FRRouting.

Summary

  • P1 : Creation of the host and router containers with an image of FRRouting and learning how GNS3 works.
  • P2 : Creation of the AS configuration files (VXLAN, bridge, etc...), and learning how to configure BGP in FRRouting.
  • P3 : Creation of the final topology, setup of route reflectors, knowing what is the method of BGP-EVPN-VXLAN, configuration with vtysh and adding a third host to the topology.

MADE BY US :


jbettini

Intra 42

Noah (noalexan)

Intra 42

Nimpô (mayoub)

Intra 42

About

Implementation of BGP on an autonomous system simulated with GNS3.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages