Technical Tip: Configure Equal Cost MultiPath (ECMP)
Description
The ECMP feature is not available on GUI but only via CLI.
This article describes how to configure this feature.
Solution
With two or more internet connections, configure the same distance and priority on all routes is requested:
Obtain the interface IP from ISP via DHCP Server, to retreive the route and gateway automatically and configure the priority on each interface.
The ECMP feature is not available on GUI but only via CLI.
This article describes how to configure this feature.
Solution
With two or more internet connections, configure the same distance and priority on all routes is requested:
# Configure static route
# configure routing static
edit 1
set gateway 172.100.10.1
set distance 10
set priority 1
set device port1
set dst 0.0.0.0
end
end
# configure routing staticConfigure DHCP route:
edit 2
set gateway 172.100.20.1
set distance 10
set priority 1
set device port2
set dst 0.0.0.0
end
end
Obtain the interface IP from ISP via DHCP Server, to retreive the route and gateway automatically and configure the priority on each interface.
# configure system interface
edit wan1
set priority 1
end
end
# configure system interface
edit wan2
set priority 1
end
end