summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20101026/002659.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20101026/002659.html')
-rw-r--r--zarb-ml/mageia-discuss/20101026/002659.html127
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:
+&gt;<i> Op maandag 25 oktober 2010 00:56:32 schreef P. Christeas:
+</I>&gt;<i> &gt; On Sunday 24 October 2010, Maarten Vanraes wrote:
+</I>&gt;<i> &gt; &gt; I would propose the following:
+</I>&gt;<i> &gt; &gt;
+</I>&gt;<i> &gt; &gt; A.) by default, add for every interface, a little advanced routing
+</I>&gt;<i> &gt; &gt; which makes packets return from the same way they came.
+</I>&gt;<i> &gt; &gt; This usually is only useful with incoming packets, but can still be
+</I>&gt;<i> &gt; &gt; useful if laptops have for example 2 gateways because the wifi is still
+</I>&gt;<i> &gt; &gt; on and the cable is too. That would mean that from both interfaces it'd
+</I>&gt;<i> &gt; &gt; be possible to use ssh or vnc or whatever.
+</I>&gt;<i> &gt; &gt;
+</I>&gt;<i> &gt; &gt; B.) if we have multiple gateways (like in that case), have them use
+</I>&gt;<i> &gt; &gt; both balancedly. ie: start a small daemon which checks which of the
+</I>&gt;<i> &gt; &gt; gateways is up or down; and change the default gateway accordingly, or
+</I>&gt;<i> &gt; &gt; even both in some kind of balanced mode. (with advanced routing.)
+</I>&gt;<i> &gt; &gt;
+</I>&gt;<i> &gt; &gt; This would have the benefit, if you have really clueless users with a
+</I>&gt;<i> &gt; &gt; laptop; that everything will still work well. and you're still able to
+</I>&gt;<i> &gt; &gt; take over his laptop.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Will that do ? :
+</I>&gt;<i> &gt; <A HREF="http://git.hellug.gr/?p=xrg/ip-multipath;a=summary">http://git.hellug.gr/?p=xrg/ip-multipath;a=summary</A>
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; (note to myself: I have to build a man^Hgeia rpm..)
+</I>&gt;<i>
+</I>&gt;<i> This looks like something different than what i intended; isn't this more
+</I>&gt;<i> of a configured thing?
+</I>&gt;<i>
+</I>&gt;<i> I would propose some changes to the networkingscripts. when having gateway
+</I>&gt;<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>