Your network connections to the Internet through two different ISPs using EBGP. You must ensure that ISP1 is the primary path used for all traffic entering your network while using ISP2 as a backup path.
In this scenario, which statement is correct?
Your network connections to the Internet through two different ISPs using EBGP. You must ensure that ISP1 is the primary path used for all traffic entering your network while using ISP2 as a backup path.
In this scenario, which statement is correct?
To ensure that ISP1 is the primary path used for all traffic entering your network and ISP2 is used as a backup, you should prepend your local AS number three times on routes that you are sending to ISP2. This method creates a longer AS path for routes advertised to ISP2, making them less preferred in the BGP decision process. This ensures that routes via ISP1, with a shorter AS path, are preferred.
If you're on about real-world scenarios then it's always prepended. I have worked for a few organization in the UK including BBC, Sky and ITV and it's always Prepend. The key difference between MED and path prepending is that MED is only relevant to the neighboring AS ie. it does not go beyond that. Path prepending does. So if you wanted to influence routing beyond your neighboring AS path prepending would be the one to use.
Tricky one. MED or AS prepend ...
ah no, MED for the multiple interconnection to one area. AS prepend for entrie AS Path (well-known mandatory)
B.Correct (Local Preference higher is better when selecting router from different ISP)
D. You should prepend your local AS number three times on routes that you are sending to ISP2. "Prefer the shortest AS-path length." leads "Prefer the lowest MED value." https://www.juniper.net/documentation/en_US/junos/topics/reference/general/routing-protocols-address-representation.html#jd0e305 ...my 2 cents.