hi Steen,
i want to know that does the julian''s patch provide automatic cache
deletion
and logging in case of failover?
this would help me much,
thanx,
regards,
----------------------------------------------------------Tushar Thakker
Elitecore Technologies Ltd.
--------------------------------------------------------------- Original
Message -----
From: <lartc-request@mailman.ds9a.nl>
To: <lartc@mailman.ds9a.nl>
Sent: Friday, January 02, 2004 10:02 PM
Subject: LARTC digest, Vol 1 #1519 - 6 msgs
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.ds9a.nl/mailman/listinfo/lartc
> or, via email, send a message with subject or body ''help''
to
> lartc-request@mailman.ds9a.nl
>
> You can reach the person managing the list at
> lartc-admin@mailman.ds9a.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of LARTC digest..."
>
>
> Today''s Topics:
>
> 1. Re: Load balancing with failover (Steen Suder, privat)
> 2. Re: Load balancing with failover (Anderson O Muniz)
> 3. Re: Load balancing with failover (Jurrie Overgoor)
> 4. Re: Load balancing with failover (Eric Leblond)
> 5. Bandwidth Analysis (Barry Rooney)
> 6. Re: low delay stuff.. (Roy)
>
> --__--__--
>
> Message: 1
> Date: Fri, 02 Jan 2004 14:46:10 +0100
> From: "Steen Suder, privat" <steen@suder.dk>
> To: lartc@mailman.ds9a.nl
> Subject: Re: [LARTC] Load balancing with failover
>
> Tushar Thakker wrote:
> > Hi all,
> > i have network setup with 3 gateways and a large number of intranet
nodes,> > i want to do automatic load balancing with failover,
> > i have put following ip rules and routes,
> >
> > ip rule add prio 222 table 222
> > ip route add default table 222 proto static \
> > nexthop via $GWE1 dev $IFE1 \
> > nexthop via $GWE2 dev $IFE2 \
> > nexthop via $GWE2 dev $IFE3 \
> >
> > Now, i also want to do failover,
> > but the point is that what shall i need to do about deleting the route
cache as soon as some gateway becomes dead or
unavailable,> > what the system will do on its own and what we need to do for this,
> > i need a help,
>
> AFAIK, You''d have to look at Julian''s routepatch(es):
> <http://www.ssi.bg/~ja/#routes-2.4>.
>
> Search for "Dead Gateway Detection".
>
> It may not be the entire solution, but a step in the right direction.
>
> --
> Mvh. / Best regards,
> Steen Suder <http://www.suder.dk/>
> ICQ UIN 4133803
>
>
> --__--__--
>
> Message: 2
> From: "Anderson O Muniz" <andybr@bol.com.br>
> To: <lartc@mailman.ds9a.nl>
> Subject: Re: [LARTC] Load balancing with failover
> Date: Fri, 2 Jan 2004 10:59:57 -0200
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_003F_01C3D11F.8F463440
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> Put a script to monitor a gateway with crond job and if it fails >
automatically change to gateway 2, you gotta it?
>
> []''s
> Anderson
>
> ----- Original Message -----=20
> From: Tushar Thakker=20
> To: lartc@mailman.ds9a.nl=20
> Sent: Friday, January 02, 2004 5:08 PM
> Subject: [LARTC] Load balancing with failover
>
>
> Hi all,
> i have network setup with 3 gateways and a large number of intranet >
nodes,
> i want to do automatic load balancing with failover,
> i have put following ip rules and routes,
>
> ip rule add prio 222 table 222
> ip route add default table 222 proto static \
> nexthop via $GWE1 dev $IFE1 \
> nexthop via $GWE2 dev $IFE2 \
> nexthop via $GWE2 dev $IFE3 \
>
> Now, i also want to do failover,
> but the point is that what shall i need to do about deleting the route
> cache as soon as some gateway becomes dead or unavailable,
> what the system will do on its own and what we need to do for this,
> i need a help,
> please guide me,
> thanx in advance,
> Regards,
>
> ----------------------------------------------------------------
> Tushar Thakker
> Elitecore Technologies Ltd.
> Ph: 9824080066 / 6405600 Ext-535
> ----------------------------------------------------------------
> Life gives all that one deserves, but not all that one desires...
> ----------------------------------------------------------------
>
> ------=_NextPart_000_003F_01C3D11F.8F463440
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; >
charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>Put a script to monitor a
gateway with > crond job=20
> and if it fails automatically change to gateway 2, you gotta >
it?</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial
size=3D2>[]''s</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2>Anderson</FONT></DIV>
> <DIV> </DIV>
> <BLOCKQUOTE dir=3Dltr=20
> style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; >
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
> <DIV style=3D"FONT: 10pt arial">----- Original Message
----- </DIV>
> <DIV=20
> style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: >
black"><B>From:</B>=20
> <A title=3Dtusharthakker@elitecore.com=20
> href=3D"mailto:tusharthakker@elitecore.com">Tushar
Thakker</A> </DIV>
> <DIV style=3D"FONT: 10pt arial"><B>To:</B>
<A > title=3Dlartc@mailman.ds9a.nl=20
>
href=3D"mailto:lartc@mailman.ds9a.nl">lartc@mailman.ds9a.nl</A>
</DIV>
> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B>
Friday, January 02, 2004 > 5:08=20
> PM</DIV>
> <DIV style=3D"FONT: 10pt
arial"><B>Subject:</B> [LARTC] Load balancing > with=20
> failover</DIV>
> <DIV><BR></DIV>
> <DIV><FONT face=3DArial size=3D2>Hi
all,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>i have network setup with 3
gateways > and a large=20
> number of intranet nodes,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>i want to do automatic load
balancing > with=20
> failover,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>i have put following ip
rules and=20
> routes,</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial >
size=3D2>
ip=20
> rule add prio 222 table >
222<BR>
ip=20
> route add default table 222 proto static=20
> >
\<BR> &n>
bsp; =20
> nexthop via $GWE1 dev $IFE1=20
> >
\<BR> &n>
bsp; =20
> nexthop via $GWE2 dev $IFE2 \</FONT></DIV>
> <DIV><FONT face=3DArial=20
> >
size=3D2> &nbs>
p; =20
> nexthop via $GWE2 dev $IFE3 \<BR></FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Now, i also want to do >
failover,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>but the point is that what
shall i > need to do=20
> about deleting the route cache as soon as some gateway becomes dead or
>
> unavailable,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>what the system will do on
its own > and what we=20
> need to do for this,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>i need a
help,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>please guide
me,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>thanx in
advance,</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2>Regards,</DIV></FONT>
> <DIV><FONT face=3DArial
size=3D2> </DIV></FONT>
> <DIV><FONT face=3DArial=20
> >
size=3D2>---------------------------------------------------------------->
<BR>Tushar=20
> Thakker<BR>Elitecore Technologies Ltd.<BR>Ph: 9824080066 /
6405600=20
> >
Ext-535<BR>-------------------------------------------------------------->
--<BR>Life=20
> gives all that one deserves, but not all that one=20
> >
desires...<BR>----------------------------------------------------------->
-----</FONT></DIV></BLOCKQUOTE></BODY></HTML>
>
> ------=_NextPart_000_003F_01C3D11F.8F463440--
>
>
> --__--__--
>
> Message: 3
> Reply-To: "Jurrie Overgoor" <jurrie.overgoor@zonnet.nl>
> From: "Jurrie Overgoor" <jurrie.overgoor@zonnet.nl>
> To: "Anderson O Muniz" <andybr@bol.com.br>,
<lartc@mailman.ds9a.nl>
> Subject: Re: [LARTC] Load balancing with failover
> Date: Fri, 2 Jan 2004 16:59:56 +0100
>
> > Put a script to monitor a gateway with crond job and if it fails
> > automatically change to gateway 2, you gotta it?
>
> Does that address the problem of routes being cached?
>
> Greetz -- Jurrie
> jurrie.overgoor@zonnet.nl
>
>
> --__--__--
>
> Message: 4
> Subject: Re: [LARTC] Load balancing with failover
> From: Eric Leblond <eric@regit.org>
> To: Tushar Thakker <tusharthakker@elitecore.com>
> Cc: lartc@mailman.ds9a.nl
> Organization: Regit.org
> Date: Fri, 02 Jan 2004 17:02:21 +0100
>
>
> --=-xCixgWwoczboLryEiCKO
> Content-Type: text/plain; charset=iso-8859-15
> Content-Transfer-Encoding: quoted-printable
>
> Le ven 02/01/2004 =E0 20:08, Tushar Thakker a =E9crit :
> > Hi all,
> > i have network setup with 3 gateways and a large number of intranet
> > nodes,
> > i want to do automatic load balancing with failover,
>
> One find way to do this is to use a combination of :
> - nth :
> http://www.netfilter.org/documentation/pomlist/pom-base.html#nth
> - condition :
> http://www.netfilter.org/documentation/pomlist/pom-extra.html#condition
> - CONNMARK :
> http://www.netfilter.org/documentation/pomlist/pom-extra.html#CONNMARK
> - iproute2
>
> the first three are patch available in patch-o-matic from netfilter, see
> provided link for explanation.
>
> The idea is the following :
> let say that we''ve got a link A at 512 and a link B at 1024 kbits.
> I want to have twice the number of connection on B as on A to really use
> link B so i set a counter with 3 slots, I fed slots 0 and 2 to B and
> slots 1 to A.
> iptables -t mangle -A FORWARD -m state --state NEW NEW -m nth --counter
> 1 \
> --every 3 --packet 0 -j MARK --set-mark 0x1
> iptables -t mangle -A FORWARD -m state --state NEW -m nth --counter 1 \
> --every 3 --packet 1 -j MARK --set-mark 0x2
> iptables -t mangle -A FORWARD -m state --state NEW -m nth --counter 1 \
> --every 3 --packet 1 -j MARK --set-mark 0x1
> You need to restore and save the mark with connmark to have mark follow
> connection and tcp session coming from the same IP.
>
> Next route mark 0x1 on link B and route 0x2 on link A (use ip rules and
> diferrent routing tables)
>
> Here you''ve got a good load-balancing.
>
> Next thing use condition on each line to have packet being marked only
> if the corresponding link is detected as UP (else marked it with the
> other link mark if it is itself not down). To test if the link is up
> you''ll have to write a simple daemon which ping gateway and set
the
> corresponding condition to 0 or 1 if link is down or up.
>
> BR,
> --=20
> Eric Leblond
> NuFW, Now User Filtering Works (http://www.nufw.org)
>
> --=-xCixgWwoczboLryEiCKO
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: Ceci est une partie de message
> =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQA/9ZYMnxA7CdMWjzIRAq03AJ41R8cCIgsPr4wBQn2qk2o/Z6MzCwCbBSMG
> Iz0Kdgvz86Q8a4ZXUQBbJvw> =/X/i
> -----END PGP SIGNATURE-----
>
> --=-xCixgWwoczboLryEiCKO--
>
>
> --__--__--
>
> Message: 5
> From: "Barry Rooney" <brooney@xcommunications.co.uk>
> To: <LARTC@mailman.ds9a.nl>
> Date: Fri, 2 Jan 2004 22:01:56 -0000
> Subject: [LARTC] Bandwidth Analysis
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_001A_01C3D17C.09674AA0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi All,
> Can anyone recommend an opensource bandwidth monitoring tool that can >
plot throughtput and breakdown into sockets/services
> for proving the performance of my qdiscs?
>
> Many thanks
>
> Barry.
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.555 / Virus Database: 347 - Release Date: 23/12/2003
> ------=_NextPart_000_001A_01C3D17C.09674AA0
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; >
charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi
All,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Can anyone recommend an
opensource > bandwidth=20
> monitoring tool that can plot throughtput and breakdown into=20
> sockets/services</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>for proving the performance of
my=20
> qdiscs?</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>Many
thanks</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial
size=3D2>Barry.</FONT></DIV>
> <DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial
size=3D2><BR>---<BR>Outgoing mail is certified > Virus=20
> Free.<BR>Checked by AVG anti-virus system (<A=20
>
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version:
> 6.0.555 /=20
> Virus Database: 347 - Release Date: >
23/12/2003</FONT></DIV></BODY></HTML>
>
> ------=_NextPart_000_001A_01C3D17C.09674AA0--
>
>
> --__--__--
>
> Message: 6
> From: "Roy" <roy@xxx.lt>
> To: <lartc@mailman.ds9a.nl>
> Subject: Re: [LARTC] low delay stuff..
> Date: Sat, 3 Jan 2004 02:24:07 +0200
>
>
> I think all htb shaper is based in this idea
> shaper do not drop packets it just queues them and dequeues acording
> priority and bandwitch if there is no space in queue then forwarded packet
> wil be lost
> what can you suggest better?
>
> what do you mean with "shortened network-path"
>
> I think it is exactly bad that htb is optimized for speed and not for
> functionality.
>
>
>
> > i was thinking is there a way to include some mechanism
> > for high priority selection&queueing mechnism... so that we can
> > get better support for low-delay traffic..
> > Every now and then I see a question on the list, how to handle
> > video&audio&game traffic, and no definitive answer to this
question..
> > There has to be solution :"), let me tell i''m not a
c-programmer so i
cant> do that,
> > but think there is a way to achieve this in not so hard way...my
proposal> is
> > to make something similar to the way cisco do it..i.e.
> > Have one high priority queue/class that have higher priority over the
> other classes,
> > probably we can do this now but it is not made as exception i.e.
depends
> from
> > your setup, what other classes do u have...etc...
> >
> > My idea is to have an exception for this super class with shortened
> "network-path",
> > so that we get lower possible delays.. i thik in cisco they called it
> priority-queue
> >
> > Is such thing feasable or it can be acomplished with current qdiscs
and
> > work even under heavy load with thousand of classes...
> >
> >
> > tia
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
>
> --__--__--
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc
>
>
> End of LARTC Digest
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/