N10-009 ยท Routing
OSPF, EIGRP and BGP
Characteristics and typical use of OSPF, EIGRP and BGP.
Key points
- OSPF: open-standard link-state IGP with areas (backbone is area 0), AD 110.
- EIGRP: advanced distance-vector IGP using the DUAL algorithm, internal AD 90.
- BGP: path-vector protocol over TCP 179 that exchanges routes between autonomous systems and runs the internet; eBGP AD 20.
Source: https://www.rfc-editor.org/rfc/rfc2328
Practice questions
Which protocol exchanges routes between different autonomous systems, such as ISPs?
- OSPF
- EIGRP
- BGP
- RIP
Show answer
Answer: C. BGP
BGP is the inter-AS protocol. OSPF and EIGRP are interior gateway protocols used inside one organization.
Which statements about BGP are true?
- It runs over TCP port 179
- It uses the AS path to avoid loops
- It sends Hellos to 224.0.0.5 and runs SPF
- It is mainly used for policy between autonomous systems
- It is limited to a single OSPF area
Show answer
Answer: A. It runs over TCP port 179, B. It uses the AS path to avoid loops, D. It is mainly used for policy between autonomous systems
BGP runs over TCP port 179, is path-vector (AS_PATH prevents loops) and is policy driven between ASes. SPF with Hellos to 224.0.0.5 describes OSPF.
True or false: BGP is the usual choice for finding the shortest path between VLANs inside one campus.
Show answer
Answer: False
False. Inside a campus an IGP such as OSPF or EIGRP is typical; BGP is for policy-based routing between autonomous systems.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
