From: "hareram" Date: Mon, 08 Aug 2005 17:59:51 +0000 Subject: Re: [LARTC] Loadbalancing and failover using TC and Iptables Message-Id: <027701c59c41$4c5fc800$0903a8c0@southern> List-Id: References: <018701c59bda$5f42db40$0903a8c0@southern> In-Reply-To: <018701c59bda$5f42db40$0903a8c0@southern> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi yes i have tried with the docs but from the box iam not able to go out even i configureed on of client and try to access the internet, iam not able to ?? any suggestions hare ----- Original Message ----- From: ":: L i n u XK i D ::" To: "lartc" Sent: Monday, August 08, 2005 11:05 PM Subject: RE: [LARTC] Loadbalancing and failover using TC and Iptables > > I've read next link: > > -> I'm not sure this is still a good link > -> http://selab.edu.ms/twiki/bin/view/Networking/MultihomedLinuxNetworking > > > is really neccessary mark pakets on this way ? > > > [... snip ...] > > # iptables -A POSTROUTING -t mangle -j MARK --set-mark 1 \ > -m state --state NEW -o ppp0 > # iptables -A POSTROUTING -t mangle -j MARK --set-mark 2 \ > -m state --state NEW -o ppp1 > # iptables -A POSTROUTING -t mangle -j CONNMARK --save-mark \ > -m state --state NEW > > [... snip ...] > > > # iptables -A POSTROUTING -t nat -m mark --mark 1 \ > -j SNAT --to-source 11.1.1.1 > # iptables -A POSTROUTING -t nat -m mark --mark 2 \ > -j SNAT --to-source 22.2.2.2 > > > > > > > > -> hareram wrote: > -> > > -> > Hi all > -> > > -> > iam trying to deploy loadbalance and failover > -> > > -> > My setup description > -> > --Fedora Core 4 > -> > --Linux 2.6.12.3 #1 SMP Mon Jul 25 22:37:34 IST 2005 i686 i686 i386 > -> > GNU/Linux > -> > --tc utility, iproute2-ss050314 > -> > --ip utility, iproute2-ss050314 > -> > --iptables v1.3.0 > -> > -> You say nothing about Julian's patch, so I assume you did not patch > your > -> kernel. You must do that. > -> http://www.ssi.bg/~ja/ > -> > -> http://www.geocities.com/mctiew/ffw/dual.htm > -> > -> I'm not sure this is still a good link > -> http://selab.edu.ms/twiki/bin/view/Networking/MultihomedLinuxNetworking > -> so here is an old copy > -> http://yesican.chsoft.biz/lartc/MultihomedLinuxNetworking.html > -> -- > -> gypsy > -> _______________________________________________ > -> LARTC mailing list > -> LARTC@mailman.ds9a.nl > -> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc