Lecture 2: Intro to BGP Flashcards
What is Border Gateway Protocol, (BGP)?
The protocol responsible for managing how traffic transits from AS to AS
What is the primary purpose of BGP?
Allow routing systems to share information on what resources
can be reached and where
Which protocol and port is used to send BGP information?
BGP information is sent via TCP (Transmission control protocol) using port 179
How does BGP work?
- Router sends out updates of currently available routes (advertisements)
- Other routers use the advertisements to update their own mappings
What do Path-Vector Routing Protocol do?
Define a route as the collection of autonomous systems that must be travelled from source to destination
What is the AS-Path?
The AS-Path describes a given path from one AS to another
How is the AS-Path generated?
An AS re-advertises routes it has received,and adds it’s own AS to the AS-PATH variable
The AS-PATH variable then identifies each AS that will be transited through for the route
What is the purpose of the AS-Path?
To prevent loops in the
routing algorithm
What is AS-Path Prepending?
AS adds its own AS multiple times to the AS-Path to discourage people from using it
How do routers learn about their neighbours through BGP?
- BGP sends out hello messages
- BGP maintains regular communication to check if the neighbour is still alive
- BGP allows advertisements to be sent/received as routes change
What are the 3 core activities in a BGP routing system.
- Listen for paths from internal and
external BGP sources - Pick the best path and put it into the routing table
- Advertise the best path to your neighbours