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 [2019/10/30 15:32] – [VM 5 (ECMP router)] olivier | documentation:examples:ecmp [2019/11/01 08:49] – [VM 2 (ECMP router)] olivier | ||
---|---|---|---|
Line 140: | Line 140: | ||
</ | </ | ||
+ | And first problem using static route: | ||
+ | |||
+ | < | ||
+ | add net 10.0.56.0: gateway 10.0.23.3 fib 0 | ||
+ | add net 10.0.35.0: gateway 10.0.23.3 fib 0 | ||
+ | add net 10.0.56.0: gateway 10.0.24.4 fib 0: route already in table | ||
+ | add net 10.0.45.0: gateway 10.0.24.4 fib 0 | ||
+ | add net 2001: | ||
+ | add net 2001: | ||
+ | add net 2001: | ||
+ | add net 2001: | ||
+ | [root@VM2]~# | ||
+ | route to: 10.0.56.0 | ||
+ | destination: | ||
+ | mask: 255.255.255.0 | ||
+ | gateway: 10.0.23.3 | ||
+ | fib: 0 | ||
+ | interface: vtnet1 | ||
+ | flags: < | ||
+ | | ||
+ | | ||
+ | </ | ||
==== VM 3 (router) ==== | ==== VM 3 (router) ==== | ||
Line 246: | Line 268: | ||
==== Testing Load balancing ==== | ==== Testing Load balancing ==== | ||
- | Flows from VM1 to VM6 should be load-balanced by VM2 toward VM3 and VM4. Let's check using multiple sources and destination IP addresses: | + | Flows from VM1 to VM6 should be load-balanced by VM2 toward VM3 and VM4. Let's check using multiple sources and destination IP addresses. |
+ | Using ping record feature like with this example: | ||
+ | < | ||
+ | [root@VM1]~# | ||
+ | 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 | ||
+ | RR: | ||
+ | 10.0.35.3 | ||
+ | 10.0.56.5 | ||
+ | 10.0.56.26 | ||
+ | 10.0.35.5 | ||
+ | 10.0.23.3 | ||
+ | 10.0.12.2 | ||
+ | 10.0.12.21 | ||
+ | |||
+ | --- 10.0.56.26 ping statistics --- | ||
+ | 1 packets transmitted, | ||
+ | round-trip min/ | ||
+ | </ | ||
^ Source ^ Destination ^ Ongoing path selected by VM2 ^ Returning path selected by VM5^ | ^ Source ^ Destination ^ Ongoing path selected by VM2 ^ Returning path selected by VM5^ | ||
Line 263: | Line 303: | ||
| 10.0.12.1 | 10.0.45.5 | VM4 | VM3 | | | 10.0.12.1 | 10.0.45.5 | VM4 | VM3 | | ||
- | < | + | < |
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier