documentation:examples:ecmp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:ecmp [2020/09/19 17:41] – [Testing Load balancing] olivier | documentation:examples:ecmp [2020/09/19 17:48] – [Testing Fail Over] olivier | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Equal-cost multi-path routing (ECMP) ====== | ====== Equal-cost multi-path routing (ECMP) ====== | ||
- | This lab is testing new ECMP routing code. | + | This lab is testing new ECMP routing code from [[https:// |
===== Presentation ===== | ===== Presentation ===== | ||
Line 141: | Line 140: | ||
10.0.56.0/ | 10.0.56.0/ | ||
10.0.56.0/ | 10.0.56.0/ | ||
+ | |||
[root@VM2]~# | [root@VM2]~# | ||
route to: 10.0.56.0 | route to: 10.0.56.0 | ||
Line 177: | Line 177: | ||
| | ||
| | ||
+ | |||
+ | [root@VM2]~# | ||
+ | Nexthop data | ||
+ | |||
+ | Internet6: | ||
+ | Idx | ||
+ | 1 | ||
+ | 2 | ||
+ | 3 | ||
+ | 4 v6/gw ::1 :: | ||
+ | 5 | ||
+ | 6 | ||
+ | 7 | ||
+ | 8 | ||
+ | 9 | ||
+ | 10 v6/resolve 2001: | ||
+ | 11 v6/resolve ::1 | ||
+ | 12 v6/resolve fe80:: | ||
+ | 13 v6/resolve 2001: | ||
+ | 14 v6/gw 2001: | ||
+ | 15 v6/gw 2001: | ||
</ | </ | ||
==== VM 3 (router) ==== | ==== VM 3 (router) ==== | ||
Line 316: | Line 337: | ||
| 2001: | | 2001: | ||
- | |||
- | Notice inet6 bug: Cannot ping itself neither neighbor | ||
- | < | ||
- | [root@VM1]~# | ||
- | vtnet0: flags=8943< | ||
- | options=80028< | ||
- | inet6 fe80:: | ||
- | inet6 2001: | ||
- | inet6 2001: | ||
- | inet6 2001: | ||
- | inet6 2001: | ||
- | inet6 2001: | ||
- | inet6 2001: | ||
- | nd6 options=21< | ||
- | [root@VM1]~# | ||
- | PING6(56=40+8+8 bytes) fe80:: | ||
- | |||
- | --- fe80:: | ||
- | 1 packets transmitted, | ||
- | [root@VM1]~# | ||
- | ping6: illegal number of packets -- 12001: | ||
- | [root@VM1]~# | ||
- | PING6(56=40+8+8 bytes) 2001: | ||
- | |||
- | --- 2001: | ||
- | 1 packets transmitted, | ||
- | </ | ||
- | |||
- | ==== Testing Fail Over ==== | ||
- | |||
- | VM4 is the preferred hop, so shutdown this VM to check behavior: | ||
- | |||
- | < | ||
- | [root@VM4]~# | ||
- | Shutdown NOW! | ||
- | </ | ||
- | |||
- | < | ||
- | [root@VM2]~# | ||
- | Nexthop data | ||
- | |||
- | Internet: | ||
- | Idx | ||
- | 4 | ||
- | 6 | ||
- | 2 | ||
- | 1 | ||
- | 7 | ||
- | 5 | ||
- | 3 | ||
- | 9 v4/gw 10.0.24.2 | ||
- | 8 v4/gw 10.0.23.2 | ||
- | Nexthop groups data | ||
- | BUF: 192 | ||
- | |||
- | Internet: | ||
- | MpIdx NHIdx Weigh Slots Gateway Netif Refcnt | ||
- | 1 ---- ---- ---- ---- ---- 1 | ||
- | 9 | ||
- | 8 | ||
- | </ | ||
- | |||
- | < | ||
- | [root@VM1]~# | ||
- | PING 10.0.56.26 (10.0.56.26) from 10.0.12.21: 56 data bytes | ||
- | |||
- | --- 10.0.56.26 ping statistics --- | ||
- | 1 packets transmitted, | ||
- | </ |
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier