BGP-ChatGPT1 Flashcards

1
Q

What is the primary purpose of BGP in a network?

A) To discover and learn routes within an Autonomous System (AS).
B) To exchange routing information between routers within a LAN.
C) To exchange routing information between different Autonomous Systems (ASes).
D) To facilitate communication between devices on the same subnet.

A

Answer: C) To exchange routing information between different Autonomous Systems (ASes).

Explanation: BGP is an inter-domain routing protocol used for exchanging routing information between different Autonomous Systems (ASes), not within a single AS. Options A, B, and D do not accurately describe BGP’s primary purpose.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which BGP attribute helps prevent routing loops by recording the ASes through which a route has passed?

A) NEXT_HOP
B) LOCAL_PREF
C) AS_PATH
D) ORIGIN

A

Answer: C) AS_PATH

Explanation: The AS_PATH attribute in BGP contains a list of ASes that a route has traversed, helping to prevent routing loops and ensure loop-free path selection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In BGP, what is the significance of a higher LOCAL_PREF value for a route?

A) Higher LOCAL_PREF indicates a shorter AS_PATH.
B) Higher LOCAL_PREF indicates a more preferred route.
C) Higher LOCAL_PREF indicates a less preferred route.
D) LOCAL_PREF has no impact on BGP route selection.

A

Answer: B) Higher LOCAL_PREF indicates a more preferred route.

Explanation: In BGP, the LOCAL_PREF attribute is used to influence the outbound path selection within an AS. Higher values are preferred, so a higher LOCAL_PREF indicates a more preferred route.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which BGP attribute specifies the IP address of the next-hop router for a BGP route?

A) AS_PATH
B) NEXT_HOP
C) LOCAL_PREF
D) ORIGIN

A

Answer: B) NEXT_HOP

Explanation: The NEXT_HOP attribute in BGP specifies the IP address of the next-hop router that should be used to reach the destination network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the ORIGIN attribute in BGP indicate when set to “IGP”?

A) The route originated from an Interior Gateway Protocol (IGP) like OSPF.
B) The route originated from an Exterior Gateway Protocol (EGP).
C) The origin of the route is incomplete or unspecified.
D) The route is internal to a single Autonomous System (AS).

A

Answer: A) The route originated from an Interior Gateway Protocol (IGP) like OSPF.

Explanation: In BGP, the ORIGIN attribute can have several values, including “IGP,” which indicates that the route originated from an Interior Gateway Protocol like OSPF or EIGRP within the AS. This helps differentiate routes from internal sources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly