Lecture 4: iBGP and eBGP Flashcards
What is Internal BGP (iBGP)?
iBGP is used to share external routes with peers of the gateway router
What is External BGP (eBGP)?
eBGP is used for communication between different autonomous systems
How does iBGP and eBGP differ?
- Information shared
- Who info is shared to
- Next-hop behaviour
How does the AS-Path work in iBGP?
iBGP does not append the ASN to the AS-Path of a path/route
How does the next hop work in iBGP?
Routes shared via iBGP will not update the next-hop attribute
What is the Interior Gateway Protocol (IGP)?
Used to distribute internal routing information
Allows internal routers to determine where traffic needs to go
How do we prevent loops in iBGP?
Full mesh routing
How does full mesh routing work?
Every iBGP router is networked with every other iBGP router
Advertisements only make a single trip between router-router, no readvertising necessary
What is the problem with Full Mesh Networking?
Doesn’t scale well
Number of links are close to n^2 (Increase exponentially)
What is used for internal routing instead of full mesh iBGP to deal with the scaling problem?
IGP
What are the 2 types of IGP routing?
- Link-State protocols
- Distance-Vector protocols
What is Link-State protocols?
Routers know the entire network topology and flood updates to all other routers
What is Distance-Vector protocols?
Routers only advertise to neighbours, and do not know the entire network topology
What are examples of Distance-Vector protocols?
RIP, RIPv2, RIPng
IGRP
What are examples of Link-State protocols?
OSPF, IS-IS