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/01/15 12:35] – [Equal-cost multi-path routing (ECMP)] olivier | documentation:examples:ecmp [2020/01/17 14:11] – [Testing Load balancing] olivier | ||
---|---|---|---|
Line 285: | Line 285: | ||
==== Testing Load balancing ==== | ==== Testing Load balancing ==== | ||
- | Flows from VM1 to VM6 should be load-balanced | + | Flows from VM1 to VM6 should be "flow-id shared" |
Using ping record feature like with this example: | Using ping record feature like with this example: | ||
< | < | ||
[root@VM1]~# | [root@VM1]~# | ||
PING 10.0.56.26 (10.0.56.26) from 10.0.12.21: 56 data bytes | PING 10.0.56.26 (10.0.56.26) from 10.0.12.21: 56 data bytes | ||
- | 64 bytes from 10.0.56.26: icmp_seq=0 ttl=61 time=0.358 ms | + | 64 bytes from 10.0.56.26: icmp_seq=0 ttl=61 time=0.455 ms |
- | RR: 10.0.23.2 | + | RR: 10.0.24.2 |
- | 10.0.35.3 | + | 10.0.45.4 |
10.0.56.5 | 10.0.56.5 | ||
10.0.56.26 | 10.0.56.26 | ||
- | 10.0.35.5 | + | 10.0.45.5 |
- | 10.0.23.3 | + | 10.0.24.4 |
10.0.12.2 | 10.0.12.2 | ||
10.0.12.21 | 10.0.12.21 | ||
Line 302: | Line 302: | ||
--- 10.0.56.26 ping statistics --- | --- 10.0.56.26 ping statistics --- | ||
1 packets transmitted, | 1 packets transmitted, | ||
- | round-trip min/ | + | round-trip min/ |
</ | </ | ||
Line 322: | Line 322: | ||
- | Notice inet6 bug: | + | Notice inet6 bug: Cannot ping itself neither neighbor |
< | < | ||
- | [root@router]~# ping6 2001: | + | [root@VM1]~# ifconfig vtnet0 inet6 |
- | PING6(56=40+8+8 bytes) 2001: | + | vtnet0: flags=8943< |
- | ^C | + | options=80028< |
- | --- 2001: | + | inet6 fe80:: |
- | 5 packets transmitted, | + | 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 v4/resolve 127.0.0.1 | ||
+ | 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