Re: setup network priority then routing to multiple providers

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux