diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20101026/002659.html')
| -rw-r--r-- | zarb-ml/mageia-discuss/20101026/002659.html | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20101026/002659.html b/zarb-ml/mageia-discuss/20101026/002659.html new file mode 100644 index 000000000..ca656f114 --- /dev/null +++ b/zarb-ml/mageia-discuss/20101026/002659.html @@ -0,0 +1,127 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] network balancing by default + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20network%20balancing%20by%20default&In-Reply-To=%3C201010260254.01262.p_christ%40hol.gr%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002678.html"> + <LINK REL="Next" HREF="002684.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] network balancing by default</H1> + <B>P. Christeas</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20network%20balancing%20by%20default&In-Reply-To=%3C201010260254.01262.p_christ%40hol.gr%3E" + TITLE="[Mageia-discuss] network balancing by default">p_christ at hol.gr + </A><BR> + <I>Tue Oct 26 01:54:00 CEST 2010</I> + <P><UL> + <LI>Previous message: <A HREF="002678.html">[Mageia-discuss] Suggestions +</A></li> + <LI>Next message: <A HREF="002684.html">[Mageia-discuss] network balancing by default +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2659">[ date ]</a> + <a href="thread.html#2659">[ thread ]</a> + <a href="subject.html#2659">[ subject ]</a> + <a href="author.html#2659">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Monday 25 October 2010, you wrote: +><i> Op maandag 25 oktober 2010 00:56:32 schreef P. Christeas: +</I>><i> > On Sunday 24 October 2010, Maarten Vanraes wrote: +</I>><i> > > I would propose the following: +</I>><i> > > +</I>><i> > > A.) by default, add for every interface, a little advanced routing +</I>><i> > > which makes packets return from the same way they came. +</I>><i> > > This usually is only useful with incoming packets, but can still be +</I>><i> > > useful if laptops have for example 2 gateways because the wifi is still +</I>><i> > > on and the cable is too. That would mean that from both interfaces it'd +</I>><i> > > be possible to use ssh or vnc or whatever. +</I>><i> > > +</I>><i> > > B.) if we have multiple gateways (like in that case), have them use +</I>><i> > > both balancedly. ie: start a small daemon which checks which of the +</I>><i> > > gateways is up or down; and change the default gateway accordingly, or +</I>><i> > > even both in some kind of balanced mode. (with advanced routing.) +</I>><i> > > +</I>><i> > > This would have the benefit, if you have really clueless users with a +</I>><i> > > laptop; that everything will still work well. and you're still able to +</I>><i> > > take over his laptop. +</I>><i> > +</I>><i> > Will that do ? : +</I>><i> > <A HREF="http://git.hellug.gr/?p=xrg/ip-multipath;a=summary">http://git.hellug.gr/?p=xrg/ip-multipath;a=summary</A> +</I>><i> > +</I>><i> > (note to myself: I have to build a man^Hgeia rpm..) +</I>><i> +</I>><i> This looks like something different than what i intended; isn't this more +</I>><i> of a configured thing? +</I>><i> +</I>><i> I would propose some changes to the networkingscripts. when having gateway +</I>><i> addresses (through various means) to change the stuff. +</I> +Please excuse me for the lack of documentation. +This script is an addon over the if-up scripts, which adds the support for +multiple gateways to and from the internet. +You only need to place this script in /etc/sysconfig/network-scripts/ifup.d/ +and then some extra variables will help you configure the interfaces: +MULTIPATH_TABLE=10 # needed, just a unique one per interface +MULTI_GATEWAY_IN=1.2.3.4 # if this is a gateway route, but don't want to use + # the interface by default +MULTI_GATEWAY=1.2.3.4 # default route, along with other interfaces. + +The functionality is provided by kernel itself. By using multiple kernel +routing tables, the first thing you achieve is to have your server listen on +all its internet-routing interfaces, so that you can connect *to* your server +from any of them. This is _extremely_ useful, because it allows you to ssh to +the server from /any/ interface that works, and then fix all the others. Saves +the day. +The second one, a little more tricky, is to have multiple routes to the +internet. With TCP connections, this works /almost/ fine, because it may assign +each connection to a different gateway, thus load-balancing. With UDP ones, +well, this is not really working (AFAIK). However, if you also give different +weights, it may activate the kernel's /slow/ transition mechanism (5-10 min +responses), which will automatically pick the first working interface as its +default gw (even if all interfaces are up and some of them respond with ICMP +unreachable, it will work). + + + +-- +Say NO to spam and viruses. Stop using Microsoft Windows! +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002678.html">[Mageia-discuss] Suggestions +</A></li> + <LI>Next message: <A HREF="002684.html">[Mageia-discuss] network balancing by default +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2659">[ date ]</a> + <a href="thread.html#2659">[ thread ]</a> + <a href="subject.html#2659">[ subject ]</a> + <a href="author.html#2659">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |
