documentation:examples:ecmp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:examples:ecmp [2022/12/11 18:31] – [Checking routes installed] olivier | documentation:examples:ecmp [2025/01/17 18:53] (current) – [R2 (ECMP router)] olivier | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Equal-cost multi-path routing (ECMP) ====== | ====== Equal-cost multi-path routing (ECMP) ====== | ||
- | This lab need a FreeBSD 13-head r366390 minimum ([[https:// | ||
===== Presentation ===== | ===== Presentation ===== | ||
Line 30: | Line 29: | ||
ifconfig_igb1=" | ifconfig_igb1=" | ||
ifconfig_igb1_ipv6=" | ifconfig_igb1_ipv6=" | ||
- | static_routes=" | ||
route_LAB=" | route_LAB=" | ||
+ | static_routes=" | ||
ipv6_static_routes=" | ipv6_static_routes=" | ||
ipv6_route_LAB=" | ipv6_route_LAB=" | ||
Line 121: | Line 120: | ||
ifconfig_igb2=" | ifconfig_igb2=" | ||
ifconfig_igb2_ipv6=" | ifconfig_igb2_ipv6=" | ||
- | static_routes=" | + | static_routes=" |
- | | + | |
- | | + | |
- | route_SRC1=" | + | ipv6_static_routes=" |
- | route_SRC2=" | + | ipv6_route_MPATH1=" |
- | ipv6_static_routes=" | + | ipv6_route_MPATH2=" |
- | ipv6_route_MPATH1=" | + | |
- | ipv6_route_MPATH2=" | + | |
- | ipv6_route_SRC1=" | + | |
- | ipv6_route_SRC2=" | + | |
service hostname restart | service hostname restart | ||
service netif restart | service netif restart | ||
Line 146: | Line 141: | ||
ifconfig_igb1=" | ifconfig_igb1=" | ||
ifconfig_igb1_ipv6=" | ifconfig_igb1_ipv6=" | ||
- | static_routes=" | + | static_routes=" |
- | | + | |
- | route_231=" | + | ipv6_static_routes=" |
- | route_232=" | + | |
- | ipv6_static_routes=" | + | |
- | | + | |
- | ipv6_route_231=" | + | |
- | ipv6_route_232=" | + | |
service hostname restart | service hostname restart | ||
service netif restart | service netif restart | ||
Line 215: | Line 206: | ||
sysrc frr_vtysh_boot=" | sysrc frr_vtysh_boot=" | ||
frr_enable=" | frr_enable=" | ||
- | frr_daemons=" | + | frr_daemons=" |
watchfrr_flags=" | watchfrr_flags=" | ||
watchfrr_enable=" | watchfrr_enable=" | ||
Line 223: | Line 214: | ||
frr defaults traditional | frr defaults traditional | ||
hostname R2 | hostname R2 | ||
+ | ! | ||
+ | ip route 10.0.0.0/16 10.0.34.4 | ||
+ | ipv6 route 2001: | ||
! | ! | ||
interface igb0 | interface igb0 | ||
Line 240: | Line 234: | ||
router ospf | router ospf | ||
ospf router-id 2.2.2.2 | ospf router-id 2.2.2.2 | ||
+ | | ||
| | ||
| | ||
Line 246: | Line 241: | ||
! | ! | ||
router ospf6 | router ospf6 | ||
+ | | ||
exit | exit | ||
! | ! | ||
Line 261: | Line 257: | ||
Copyright 1996-2005 Kunihiro Ishiguro, et al. | Copyright 1996-2005 Kunihiro Ishiguro, et al. | ||
- | R1# sh ip route 10.0.34.0/24 | + | R1# sh ip route 10.0.0.0 |
- | Routing entry for 10.0.34.0/24 | + | Routing entry for 10.0.0.0/16 |
- | Known via " | + | Known via " |
- | Last update 00:01:51 ago | + | Last update 00:02:26 ago |
* 10.0.231.3, via igb1, weight 1 | * 10.0.231.3, via igb1, weight 1 | ||
* 10.0.232.3, via igb2, weight 1 | * 10.0.232.3, via igb2, weight 1 | ||
- | R1# sh ipv6 route 2001:db8:34::/64 | + | R1# sh ipv6 route 2001: |
- | Routing entry for 2001:db8:34::/64 | + | Routing entry for 2001:db8::/32 |
- | Known via " | + | |
- | Last update 00:02:15 ago | + | |
- | * fe80:: | + | |
- | * fe80:: | + | |
- | + | ||
- | route1# sh ipv6 route 2001: | + | |
- | Routing entry for 2001:db8:24::/64 | + | |
Known via " | Known via " | ||
- | Last update 00:02:42 ago | + | Last update 00:02:39 ago |
* fe80:: | * fe80:: | ||
* fe80:: | * fe80:: |
documentation/examples/ecmp.1670779916.txt.gz · Last modified: 2022/12/11 18:31 by olivier