From: Marco Gaiarin <gaio@sv.lnf.it>
To: lartc@vger.kernel.org
Subject: Re: setup network priority then routing to multiple providers
Date: Thu, 17 Dec 2015 08:43:30 +0000 [thread overview]
Message-ID: <20151217084330.GD3328@sv.lnf.it> (raw)
In-Reply-To: <FA0B0591-47CE-4634-8529-26962C2BA96F@njuopen.com>
Mandi! SteamedFish
In chel di` si favelave...
> I don’t have a clue how to set this up.
You have to mix two things (really, three):
1) http://lartc.org/howto/lartc.rpdb.multiple-links.html, as you
correctly say.
2) connmark save/restore, eg the ability to ''save'' iptables marks
between connection, and obviously build your rules of iptables to mark
packets. My hint: use a mask to distinguish marks used for routing from
other marks if you use just use that.
3) mark-based routing, eg using rules like:
ip rule add fwmark $MARK/$MASK table $NAME
Note that this is a ''route based balancing'', not a real packet based
balancing, but works without needing the ISP/operator help.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
prev parent reply other threads:[~2015-12-17 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 9:43 setup network priority then routing to multiple providers SteamedFish
2015-12-17 1:23 ` Horace
2015-12-17 8:43 ` Marco Gaiarin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151217084330.GD3328@sv.lnf.it \
--to=gaio@sv.lnf.it \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.