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 [2022/12/11 18:14] – [R1 (ECMP router)] olivierdocumentation:examples:ecmp [2022/12/11 18:29] – [R2 (ECMP router)] olivier
Line 22: Line 22:
 ==== Client ==== ==== Client ====
  
-A simple host with multiples aliases:+A simple host with static routes:
  
 <code> <code>
Line 29: Line 29:
   ipv6_gateway_enable=NO \   ipv6_gateway_enable=NO \
   ifconfig_igb1="inet 10.0.12.1/24" \   ifconfig_igb1="inet 10.0.12.1/24" \
-  ifconfig_igb1_alias1="inet 10.0.12.11/32" \ 
-  ifconfig_igb1_alias2="inet 10.0.12.21/32" \ 
-  ifconfig_igb1_alias3="inet 10.0.12.31/32" \ 
-  ifconfig_igb1_alias4="inet 10.0.12.41/32" \ 
-  ifconfig_igb1_alias5="inet 10.0.12.51/32" \ 
   ifconfig_igb1_ipv6="inet6 2001:db8:12::3 prefixlen 64" \   ifconfig_igb1_ipv6="inet6 2001:db8:12::3 prefixlen 64" \
-  ifconfig_igb1_alias61="inet6 2001:db8:12::11 prefixlen 64" \ 
-  ifconfig_igb1_alias62="inet6 2001:db8:12::21 prefixlen 64" \ 
-  ifconfig_igb1_alias63="inet6 2001:db8:12::31 prefixlen 64" \ 
-  ifconfig_igb1_alias64="inet6 2001:db8:12::41 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.12.2" \   route_LAB="-net 10.0.0.0/16 10.0.12.2" \
Line 148: Line 138:
 ==== Server ==== ==== Server ====
  
-A simple host with multiple aliases:+A simple host with some static routes:
  
 <code> <code>
Line 155: Line 145:
   ipv6_gateway_enable=NO \   ipv6_gateway_enable=NO \
   ifconfig_igb1="inet 10.0.34.4/24" \   ifconfig_igb1="inet 10.0.34.4/24" \
-  ifconfig_igb1_alias1="inet 10.0.34.14/32" \ 
-  ifconfig_igb1_alias2="inet 10.0.34.24/32" \ 
-  ifconfig_igb1_alias3="inet 10.0.34.34/32" \ 
-  ifconfig_igb1_alias4="inet 10.0.34.44/32" \ 
-  ifconfig_igb1_alias5="inet 10.0.34.54/32" \ 
   ifconfig_igb1_ipv6="inet6 2001:db8:34::4 prefixlen 64" \   ifconfig_igb1_ipv6="inet6 2001:db8:34::4 prefixlen 64" \
-  ifconfig_igb1_alias61="inet6 2001:db8:34::14 prefixlen 64" \ 
-  ifconfig_igb1_alias62="inet6 2001:db8:34::24 prefixlen 64" \ 
-  ifconfig_igb1_alias63="inet6 2001:db8:34::34 prefixlen 64" \ 
-  ifconfig_igb1_alias64="inet6 2001:db8:34::44 prefixlen 64" \ 
-  ifconfig_igb1_alias65="inet6 2001:db8:34::54 prefixlen 64" \ 
   static_routes="12 231 232" \   static_routes="12 231 232" \
   route_12="-net 10.0.12.0/24 10.0.34.3" \   route_12="-net 10.0.12.0/24 10.0.34.3" \
Line 186: Line 166:
 ==== R1 (ECMP router) ==== ==== R1 (ECMP router) ====
  
-In place of static routes, FRR is enabled:+In place of static routes, OSPF with FRR is used:
  
 <code> <code>
Line 196: Line 176:
  
 cat > /usr/local/etc/frr/frr.conf <EOF cat > /usr/local/etc/frr/frr.conf <EOF
-frr version 7.4+frr version 8.4.1
 frr defaults traditional frr defaults traditional
 hostname R1 hostname R1
 ! !
 interface igb0 interface igb0
 + ip ospf passive
 + ipv6 ospf6 area 0.0.0.0
  ipv6 ospf6 passive  ipv6 ospf6 passive
 +exit
 +!
 +interface igb1
 + ipv6 ospf6 area 0.0.0.0
 +exit
 +!
 +interface igb2
 + ipv6 ospf6 area 0.0.0.0
 +exit
 ! !
 router ospf router ospf
  ospf router-id 1.1.1.1  ospf router-id 1.1.1.1
- passive-interface igb0 
  network 10.0.12.0/24 area 0  network 10.0.12.0/24 area 0
  network 10.0.231.0/24 area 0  network 10.0.231.0/24 area 0
  network 10.0.232.0/24 area 0  network 10.0.232.0/24 area 0
 +exit
 ! !
 router ospf6 router ospf6
- interface igb0 area 0.0.0.0 +exit
- interface igb1 area 0.0.0.0 +
- interface igb2 area 0.0.0.0 +
-+
-line vty+
 ! !
 EOF EOF
Line 224: Line 211:
 ==== R2 (ECMP router) ==== ==== R2 (ECMP router) ====
  
-In place of static routes, FRR is enabled:+Same as R1 with OSPF and FRR:
 <code> <code>
 sysrc frr_vtysh_boot="YES" \ sysrc frr_vtysh_boot="YES" \
Line 233: Line 220:
  
 cat > /usr/local/etc/frr/frr.conf <EOF cat > /usr/local/etc/frr/frr.conf <EOF
-frr version 7.4+frr version 8.4.1
 frr defaults traditional frr defaults traditional
 hostname R2 hostname R2
 ! !
 interface igb0 interface igb0
 + ip ospf passive
 + ipv6 ospf6 area 0.0.0.0
  ipv6 ospf6 passive  ipv6 ospf6 passive
 +exit
 +!
 +interface igb1
 + ipv6 ospf6 area 0.0.0.0
 +exit
 +!
 +interface igb2
 + ipv6 ospf6 area 0.0.0.0
 +exit
 ! !
 router ospf router ospf
  ospf router-id 2.2.2.2  ospf router-id 2.2.2.2
- passive-interface igb0 
  network 10.0.34.0/24 area 0  network 10.0.34.0/24 area 0
  network 10.0.231.0/24 area 0  network 10.0.231.0/24 area 0
  network 10.0.232.0/24 area 0  network 10.0.232.0/24 area 0
 +exit
 ! !
 router ospf6 router ospf6
- interface igb0 area 0.0.0.0 +exit
- interface igb1 area 0.0.0.0 +
- interface igb2 area 0.0.0.0 +
-+
-line vty+
 ! !
 EOF EOF
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