Re: static route multipath problem
On Thu, Sep 18, 2014 at 02:56:32PM +0800, 守得云开 wrote:
can i setup like this, 11, 12 and 13 is the ip of ppp0, ppp1 and ppp2: ------------------------------ 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
------------------------------ or link this: ------------------------------ 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: santiago@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."
participants (1)
-
Ondrej Zajicek