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 [2022/12/11 18:15] – [R2 (ECMP router)] olivier | documentation:examples:ecmp [2022/12/11 18:31] – [Checking routes installed] olivier | ||
---|---|---|---|
Line 22: | Line 22: | ||
==== Client ==== | ==== Client ==== | ||
- | A simple host with multiples aliases: | + | A simple host with static routes: |
< | < | ||
Line 29: | Line 29: | ||
ipv6_gateway_enable=NO \ | ipv6_gateway_enable=NO \ | ||
ifconfig_igb1=" | ifconfig_igb1=" | ||
- | ifconfig_igb1_alias1=" | ||
- | ifconfig_igb1_alias2=" | ||
- | ifconfig_igb1_alias3=" | ||
- | ifconfig_igb1_alias4=" | ||
- | ifconfig_igb1_alias5=" | ||
ifconfig_igb1_ipv6=" | ifconfig_igb1_ipv6=" | ||
- | ifconfig_igb1_alias61=" | ||
- | ifconfig_igb1_alias62=" | ||
- | ifconfig_igb1_alias63=" | ||
- | ifconfig_igb1_alias64=" | ||
- | ifconfig_igb1_alias65=" | ||
static_routes=" | static_routes=" | ||
route_LAB=" | route_LAB=" | ||
Line 148: | Line 138: | ||
==== Server ==== | ==== Server ==== | ||
- | A simple host with multiple aliases: | + | A simple host with some static routes: |
< | < | ||
Line 155: | Line 145: | ||
ipv6_gateway_enable=NO \ | ipv6_gateway_enable=NO \ | ||
ifconfig_igb1=" | ifconfig_igb1=" | ||
- | ifconfig_igb1_alias1=" | ||
- | ifconfig_igb1_alias2=" | ||
- | ifconfig_igb1_alias3=" | ||
- | ifconfig_igb1_alias4=" | ||
- | ifconfig_igb1_alias5=" | ||
ifconfig_igb1_ipv6=" | ifconfig_igb1_ipv6=" | ||
- | ifconfig_igb1_alias61=" | ||
- | ifconfig_igb1_alias62=" | ||
- | ifconfig_igb1_alias63=" | ||
- | ifconfig_igb1_alias64=" | ||
- | ifconfig_igb1_alias65=" | ||
static_routes=" | static_routes=" | ||
route_12=" | route_12=" | ||
Line 196: | Line 176: | ||
cat > / | cat > / | ||
- | frr version | + | frr version |
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 | ||
- | | ||
| | ||
| | ||
| | ||
+ | exit | ||
! | ! | ||
router ospf6 | router ospf6 | ||
- | | + | exit |
- | | + | |
- | | + | |
- | ! | + | |
- | line vty | + | |
! | ! | ||
EOF | EOF | ||
Line 233: | Line 220: | ||
cat > / | cat > / | ||
- | frr version | + | frr version |
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 | ||
- | | ||
| | ||
| | ||
| | ||
+ | exit | ||
! | ! | ||
router ospf6 | router ospf6 | ||
- | | + | exit |
- | | + | |
- | | + | |
- | ! | + | |
- | line vty | + | |
! | ! | ||
EOF | EOF | ||
Line 263: | Line 257: | ||
On R1: | On R1: | ||
< | < | ||
- | [root@router1]~# vtysh | + | root@R1:~ # vtysh |
- | + | Hello, this is FRRouting (version | |
- | Hello, this is FRRouting (version | + | |
Copyright 1996-2005 Kunihiro Ishiguro, et al. | Copyright 1996-2005 Kunihiro Ishiguro, et al. | ||
- | router1# sh ip route 10.0.24.0/24 | + | R1# sh ip route 10.0.34.0/24 |
- | Routing entry for 10.0.24.0/24 | + | Routing entry for 10.0.34.0/24 |
- | Known via " | + | Known via " |
- | Last update 00:06:39 ago | + | Last update 00:01:51 ago |
- | * 10.0.112.2, via igb1, weight 1 | + | * 10.0.231.3, via igb1, weight 1 |
- | * 10.0.212.2, via igb2, weight 1 | + | * 10.0.232.3, via igb2, weight 1 |
+ | |||
+ | R1# sh ipv6 route 2001: | ||
+ | Routing entry for 2001: | ||
+ | Known via " | ||
+ | Last update 00:02:15 ago | ||
+ | * fe80:: | ||
+ | * fe80:: | ||
+ | * | ||
route1# sh ipv6 route 2001: | route1# sh ipv6 route 2001: | ||
Line 281: | Line 282: | ||
* fe80:: | * fe80:: | ||
* fe80:: | * fe80:: | ||
- | |||
- | |||
- | router1# exit | ||
- | |||
- | [root@router1]~# | ||
- | 10.0.24.0/ | ||
- | 10.0.24.0/ | ||
- | |||
- | [root@router1]~# | ||
- | 2001: | ||
- | 2001: | ||
- | |||
</ | </ | ||
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier