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 revision
Previous revision
Next revisionBoth sides next revision
documentation:examples:ecmp [2020/09/23 15:03] – [Checking routes installed] olivierdocumentation:examples:ecmp [2022/12/11 17:43] – [Client] olivier
Line 1: Line 1:
 ====== Equal-cost multi-path routing (ECMP) ====== ====== Equal-cost multi-path routing (ECMP) ======
  
-This lab is testing new ECMP routing code from [[https://reviews.freebsd.org/D26449|FreeBSD's review D26449]]+This lab need a FreeBSD 13-head r366390 minimum ([[https://reviews.freebsd.org/D26449|new ECMP routing code ]])
 ===== Presentation ===== ===== Presentation =====
  
Line 28: Line 28:
   gateway_enable=NO \   gateway_enable=NO \
   ipv6_gateway_enable=NO \   ipv6_gateway_enable=NO \
-  ifconfig_igb1="inet 10.0.31.3/24" \ +  ifconfig_igb1="inet 10.0.12.1/24" \ 
-  ifconfig_igb1_alias1="inet 10.0.31.13/32" \ +  ifconfig_igb1_alias1="inet 10.0.12.11/32" \ 
-  ifconfig_igb1_alias2="inet 10.0.31.23/32" \ +  ifconfig_igb1_alias2="inet 10.0.12.21/32" \ 
-  ifconfig_igb1_alias3="inet 10.0.31.33/32" \ +  ifconfig_igb1_alias3="inet 10.0.12.31/32" \ 
-  ifconfig_igb1_alias4="inet 10.0.31.43/32" \ +  ifconfig_igb1_alias4="inet 10.0.12.41/32" \ 
-  ifconfig_igb1_alias5="inet 10.0.31.53/32" \ +  ifconfig_igb1_alias5="inet 10.0.12.51/32" \ 
-  ifconfig_igb1_ipv6="inet6 2001:db8:31::3 prefixlen 64" \ +  ifconfig_igb1_ipv6="inet6 2001:db8:12::3 prefixlen 64" \ 
-  ifconfig_igb1_alias61="inet6 2001:db8:31::13 prefixlen 64" \ +  ifconfig_igb1_alias61="inet6 2001:db8:12::11 prefixlen 64" \ 
-  ifconfig_igb1_alias62="inet6 2001:db8:31::23 prefixlen 64" \ +  ifconfig_igb1_alias62="inet6 2001:db8:12::21 prefixlen 64" \ 
-  ifconfig_igb1_alias63="inet6 2001:db8:31::33 prefixlen 64" \ +  ifconfig_igb1_alias63="inet6 2001:db8:12::31 prefixlen 64" \ 
-  ifconfig_igb1_alias64="inet6 2001:db8:31::43 prefixlen 64" \ +  ifconfig_igb1_alias64="inet6 2001:db8:12::41 prefixlen 64" \ 
-  ifconfig_igb1_alias65="inet6 2001:db8:31::53 prefixlen 64" \ +  ifconfig_igb1_alias65="inet6 2001:db8:12::51 prefixlen 64" \ 
-  static_routes="LAB" \  +  static_routes="LAB"
-  route_LAB="-net 10.0.0.0/16 10.0.31.1" \  +  route_LAB="-net 10.0.0.0/16 10.0.12.2" \ 
-  ipv6_static_routes="LAB" \  +  ipv6_static_routes="LAB"
-  ipv6_route_LAB="2001:db8:: -prefixlen 32 2001:db8:31::1"+  ipv6_route_LAB="2001:db8:: -prefixlen 32 2001:db8:12::2"
 service hostname restart service hostname restart
 service netif restart service netif restart
Line 149: Line 149:
 Look like this router will prefer igb1 for inet4 and igb2 for inet6. Look like this router will prefer igb1 for inet4 and igb2 for inet6.
  
-==== R5 (ECMP router) ====+==== R2 (ECMP router) ====
  
-R5 is like R2, a router with ECMP: 2 static routing toward the same destination but using 2 different next-hop..+R2 is like R1, a router with ECMP: 2 static routing toward the same destination but using 2 different next-hop..
  
 <code> <code>
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