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:40] – [Testing Load balancing] olivier | documentation:examples:ecmp [2020/01/14 01:22] – [VM 1 (client)] olivier | ||
---|---|---|---|
Line 84: | Line 84: | ||
< | < | ||
- | sysrc hostname=VM1 | + | sysrc hostname=VM1 |
- | sysrc gateway_enable=NO | + | gateway_enable=NO |
- | sysrc ipv6_gateway_enable=NO | + | ipv6_gateway_enable=NO |
- | sysrc ifconfig_vtnet0=" | + | ifconfig_vtnet0=" |
- | sysrc ifconfig_vtnet0_alias1=" | + | ifconfig_vtnet0_alias1=" |
- | sysrc ifconfig_vtnet0_alias2=" | + | ifconfig_vtnet0_alias2=" |
- | sysrc ifconfig_vtnet0_alias3=" | + | ifconfig_vtnet0_alias3=" |
- | sysrc ifconfig_vtnet0_alias4=" | + | ifconfig_vtnet0_alias4=" |
- | sysrc ifconfig_vtnet0_alias5=" | + | ifconfig_vtnet0_alias5=" |
- | sysrc ifconfig_vtnet0_ipv6=" | + | ifconfig_vtnet0_ipv6=" |
- | sysrc ifconfig_vtnet0_alias61=" | + | ifconfig_vtnet0_alias61=" |
- | sysrc ifconfig_vtnet0_alias62=" | + | ifconfig_vtnet0_alias62=" |
- | sysrc ifconfig_vtnet0_alias63=" | + | ifconfig_vtnet0_alias63=" |
- | sysrc ifconfig_vtnet0_alias64=" | + | ifconfig_vtnet0_alias64=" |
- | sysrc ifconfig_vtnet0_alias65=" | + | ifconfig_vtnet0_alias65=" |
- | sysrc defaultrouter=" | + | defaultrouter=" |
- | sysrc ipv6_defaultrouter=" | + | ipv6_defaultrouter=" |
service hostname restart | service hostname restart | ||
service netif restart | service netif restart | ||
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) ==== | ||
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier