300-420 Question 1
Single answerAn enterprise network is migrating to a dual-homed topology to improve redundancy and high availability. The network design includes multiple branch offices connected to two different ISPs. The branches are configured to use BGP for external routing, and the requirement is to ensure that traffic destined to the internet is always routed through the primary ISP unless it becomes unavailable. Additionally, the network should maintain proper failover to the secondary ISP during outages. Which solution meets this requirement?
- A
Configure local preference in BGP advertisements from the primary ISP to influence outbound traffic.
- B
Use AS path prepending for routes advertised to the secondary ISP to make them less preferred.
- C
Implement BGP community attributes to tag routes and influence inbound traffic from the internet.
- D
Configure MED (Multi-Exit Discriminator) to prioritize the primary ISP for inbound traffic.
Show answer and explanation
Correct answer: B
Explanation
The requirement is to prioritize the primary ISP for internet traffic and use the secondary ISP only during outages. AS path prepending is a commonly used technique in BGP to ensure that routes advertised to the secondary ISP appear less preferred to external networks. This design ensures proper failover to the secondary ISP while maintaining primary ISP preference under normal conditions.
- A. Incorrect.
Local preference influences the outbound routing decisions within an AS but does not directly control failover or influence routes advertised to ISPs.
- B. Correct.
AS path prepending is used to manipulate route preferences by making routes appear less attractive to external peers, which ensures the secondary ISP is only used if the primary ISP fails.
- C. Incorrect.
BGP community attributes are used to mark routes with specific tags for policy application but are not directly used for ensuring traffic prioritization for failover scenarios.
- D. Incorrect.
MED influences inbound traffic preferences when multiple exit points exist within a neighboring AS, but it is not the best solution for the given scenario.