Discussion:
static route multipath problem
Ondrej Zajicek
2014-09-19 10:55:33 UTC
Permalink
------------------------------
route 0.0.0.0/0 multipath
via 10.10.10.11 weight 2
via 10.10.10.12 weight 3
via 10.10.10.12 weight 4;
This should work
------------------------------
------------------------------
route 0.0.0.0/0 multipath
via 10.10.10.1 dev ppp0 weight 2
via 10.10.10.1 dev ppp1 weight 3
via 10.10.10.1 dev ppp2 weight 4;
We do not currently support 'dev' option here, but you could use this:

route 0.0.0.0/0 multipath
via 10.10.10.1%ppp0 weight 2
via 10.10.10.1%ppp1 weight 3
via 10.10.10.1%ppp2 weight 4;

This is syntax for link-local IPv6 addresses like fe80::1234:5678%eth0,
but works also for regular IPv4 addresses.
--
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: ***@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
Continue reading on narkive:
Loading...