route-update.sh: add multipath support for multiple gateways
When gateway file contains multiple IPs, generate multipath routes
with nexthop per gateway (weight 1 each). Kernel distributes traffic
per-flow across gateways.
Single gateway: route replace IP via GW table T
Multiple: route replace IP table T nexthop via GW1 weight 1 nexthop via GW2 weight 1
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment