User Tools

Site Tools


documentation:examples:ecmp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentation:examples:ecmp [2020/01/14 01:22] – [VM 1 (client)] olivierdocumentation:examples:ecmp [2020/01/14 01:22] – [VM 2 (ECMP router)] olivier
Line 113: Line 113:
  
 <code> <code>
-sysrc hostname=VM2 +sysrc hostname=VM2 \ 
-sysrc ifconfig_vtnet0="inet 10.0.12.2/24" + ifconfig_vtnet0="inet 10.0.12.2/24" \ 
-sysrc ifconfig_vtnet1="inet 10.0.23.2/24" + ifconfig_vtnet1="inet 10.0.23.2/24" \ 
-sysrc ifconfig_vtnet2="inet 10.0.24.2/24" + ifconfig_vtnet2="inet 10.0.24.2/24" \ 
-sysrc ifconfig_vtnet0_ipv6="inet6 2001:db8:12::2 prefixlen 64" + ifconfig_vtnet0_ipv6="inet6 2001:db8:12::2 prefixlen 64" \ 
-sysrc ifconfig_vtnet1_ipv6="inet6 2001:db8:23::2 prefixlen 64" + ifconfig_vtnet1_ipv6="inet6 2001:db8:23::2 prefixlen 64" \ 
-sysrc ifconfig_vtnet2_ipv6="inet6 2001:db8:24::2 prefixlen 64" + ifconfig_vtnet2_ipv6="inet6 2001:db8:24::2 prefixlen 64" \ 
-sysrc static_routes="VM3VM6 VM3VM5 VM4VM6 VM4VM5" + static_routes="VM3VM6 VM3VM5 VM4VM6 VM4VM5" \ 
-sysrc route_VM3VM6="-net 10.0.56.0/24 10.0.23.3" + route_VM3VM6="-net 10.0.56.0/24 10.0.23.3" \ 
-sysrc route_VM3VM5="-net 10.0.35.0/24 10.0.23.3" + route_VM3VM5="-net 10.0.35.0/24 10.0.23.3" \ 
-sysrc route_VM4VM6="-net 10.0.56.0/24 10.0.24.4" + route_VM4VM6="-net 10.0.56.0/24 10.0.24.4" \ 
-sysrc route_VM4VM5="-net 10.0.45.0/24 10.0.24.4" + route_VM4VM5="-net 10.0.45.0/24 10.0.24.4" \ 
-sysrc ipv6_static_routes="VM3VM6 VM3VM5 VM4VM6 VM4VM5" + ipv6_static_routes="VM3VM6 VM3VM5 VM4VM6 VM4VM5" \ 
-sysrc ipv6_route_VM3VM6="2001:db8:56:: -prefixlen 64 2001:db8:23::3" + ipv6_route_VM3VM6="2001:db8:56:: -prefixlen 64 2001:db8:23::3" \ 
-sysrc ipv6_route_VM3VM5="2001:db8:35:: -prefixlen 64 2001:db8:23::3" + ipv6_route_VM3VM5="2001:db8:35:: -prefixlen 64 2001:db8:23::3" \ 
-sysrc ipv6_route_VM4VM6="2001:db8:56:: -prefixlen 64 2001:db8:24::4" + ipv6_route_VM4VM6="2001:db8:56:: -prefixlen 64 2001:db8:24::4" \ 
-sysrc ipv6_route_VM4VM5="2001:db8:45:: -prefixlen 64 2001:db8:24::4"+ ipv6_route_VM4VM5="2001:db8:45:: -prefixlen 64 2001:db8:24::4"
 sed -i '' -e '/net.inet.ip.redirect=0/d' /etc/sysctl.conf sed -i '' -e '/net.inet.ip.redirect=0/d' /etc/sysctl.conf
 sed -i '' -e '/net.inet6.ip6.redirect=0/d' /etc/sysctl.conf sed -i '' -e '/net.inet6.ip6.redirect=0/d' /etc/sysctl.conf
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki