|
1 | 1 | # BgpDiamondFailover6 |
2 | 2 |
|
3 | | -This example demonstrates IPv6 MP-BGP failover and failback in a pure-BGP diamond topology: |
| 3 | +This example demonstrates IPv6 MP-BGP failover, failback, and a second failure in a pure-BGP diamond topology: |
4 | 4 |
|
5 | 5 | `hostA - A - B - C - hostC` |
6 | 6 |
|
7 | 7 | `hostA - A - D - C - hostC` |
8 | 8 |
|
9 | | -Routers `A`, `B`, `C`, and `D` are in different ASes. The preferred path initially goes through `A-B-C`. |
10 | | -The `A-B-C` branch also uses lower link delays than `A-D-C`, so the active path change is visible in the ping RTT results. |
| 9 | +Routers `A`, `B`, `C`, and `D` are in different ASes. Router `A` advertises the `2001:db8:1::/64` network, router `C` advertises the `2001:db8:3::/64` network, and the hosts use default routes toward their adjacent routers. The preferred BGP path initially goes through `A-B-C`. |
11 | 10 |
|
12 | | -At `60s`, router `B` is shut down. After the shortened BGP hold timer expires, traffic switches to the alternate `A-D-C` path using the routes already stored in Adj-RIB-In. |
| 11 | +The `A-B-C` branch uses `50us` links and the alternate `A-D-C` branch uses `300us` links, so the active path change is visible in the ping RTT results. |
13 | 12 |
|
14 | | -At `100s`, router `B` is started again. Once the BGP sessions re-establish and exchange routes again, the preferred route returns to `A-B-C`. |
| 13 | +The scenario timeline is: |
| 14 | + |
| 15 | +- At `20s`, `hostA` starts pinging `hostC` at `2001:db8:3::100`. |
| 16 | +- At `60s`, router `B` is shut down. After the shortened BGP hold timer expires, traffic switches to the alternate `A-D-C` path using the routes already stored in Adj-RIB-In. |
| 17 | +- At `100s`, router `B` is started again. Once the BGP sessions re-establish and exchange routes again, the preferred route returns to `A-B-C`. |
| 18 | +- At `140s`, router `B` crashes. This exercises failover again after the network has already failed back to the preferred branch. |
15 | 19 |
|
16 | 20 | Notes: |
17 | 21 |
|
|
0 commit comments