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/17 14:11] – [Testing Load balancing] olivier | documentation:examples:ecmp [2020/09/19 17:36] – [VM 2 (ECMP router)] olivier | ||
---|---|---|---|
Line 110: | Line 110: | ||
VM 2 is a router with ECMP: 2 static routes toward the same destination but using 2 different next-hop. | VM 2 is a router with ECMP: 2 static routes toward the same destination but using 2 different next-hop. | ||
- | Need to disable fastforward by re-enabling ICMP redirect (disabled on BSDRP by default). | ||
< | < | ||
Line 130: | Line 129: | ||
ipv6_route_VM4VM6=" | ipv6_route_VM4VM6=" | ||
ipv6_route_VM4VM5=" | ipv6_route_VM4VM5=" | ||
- | sed -i '' | ||
- | sed -i '' | ||
- | sysctl net.inet.ip.redirect=1 | ||
- | sysctl net.inet6.ip6.redirect=1 | ||
service hostname restart | service hostname restart | ||
service netif restart | service netif restart | ||
Line 178: | Line 173: | ||
9 | 9 | ||
8 | 8 | ||
+ | | ||
+ | [root@VM2]~# | ||
+ | route to: 2001: | ||
+ | destination: | ||
+ | mask: ffff: | ||
+ | gateway: 2001: | ||
+ | fib: 0 | ||
+ | interface: vtnet2 | ||
+ | flags: < | ||
+ | | ||
+ | | ||
</ | </ | ||
==== VM 3 (router) ==== | ==== VM 3 (router) ==== | ||
Line 245: | Line 251: | ||
ipv6_route_VM4VM1=" | ipv6_route_VM4VM1=" | ||
ipv6_route_VM4VM2=" | ipv6_route_VM4VM2=" | ||
- | sed -i '' | ||
- | sed -i '' | ||
- | sysctl net.inet.ip.redirect=1 | ||
- | sysctl net.inet6.ip6.redirect=1 | ||
service hostname restart | service hostname restart | ||
service netif restart | service netif restart |
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier