summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20101025/002631.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20101025/002631.html')
-rw-r--r--zarb-ml/mageia-discuss/20101025/002631.html181
1 files changed, 181 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20101025/002631.html b/zarb-ml/mageia-discuss/20101025/002631.html
new file mode 100644
index 000000000..bc57897ad
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20101025/002631.html
@@ -0,0 +1,181 @@
+<!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=%3C201010250857.38844.maarten.vanraes%40gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002630.html">
+ <LINK REL="Next" HREF="002651.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] network balancing by default</H1>
+ <B>Maarten Vanraes</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20network%20balancing%20by%20default&In-Reply-To=%3C201010250857.38844.maarten.vanraes%40gmail.com%3E"
+ TITLE="[Mageia-discuss] network balancing by default">maarten.vanraes at gmail.com
+ </A><BR>
+ <I>Mon Oct 25 08:57:38 CEST 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002630.html">[Mageia-discuss] network balancing by default
+</A></li>
+ <LI>Next message: <A HREF="002651.html">[Mageia-discuss] network balancing by default
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2631">[ date ]</a>
+ <a href="thread.html#2631">[ thread ]</a>
+ <a href="subject.html#2631">[ subject ]</a>
+ <a href="author.html#2631">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Op maandag 25 oktober 2010 08:41:01 schreef Luca Berra:
+&gt;<i> On Mon, Oct 25, 2010 at 12:00:46AM +0200, Maarten Vanraes wrote:
+</I>&gt;<i> &gt;Op zondag 24 oktober 2010 22:39:29 schreef Luca Berra:
+</I>&gt;<i> &gt;&gt; On Sun, Oct 24, 2010 at 11:43:28AM +0200, Maarten Vanraes wrote:
+</I>&gt;<i> &gt;&gt; &gt;I would propose the following:
+</I>&gt;<i> &gt;First off, the timing of this proposal is probably too soon, i just wanted
+</I>&gt;<i> &gt;to get it out there, in case i forgot later.
+</I>&gt;<i>
+</I>&gt;<i> open an enhancement on initscripts :P
+</I>
+imho, this in itself is wrong; i want network-scripts to be split off from
+initscripts; especially if we're going to use systemd later on.
+
+&gt;<i> &gt;&gt; &gt;A.) by default, add for every interface, a little advanced routing
+</I>&gt;<i> &gt;&gt; &gt;which makes packets return from the same way they came.
+</I>&gt;<i> &gt;&gt; &gt;This usually is only useful with incoming packets, but can still be
+</I>&gt;<i> &gt;&gt; &gt;useful if laptops have for example 2 gateways because the wifi is
+</I>&gt;<i> &gt;&gt; &gt;still on and the cable is too. That would mean that from both
+</I>&gt;<i> &gt;&gt; &gt;interfaces it'd be possible to use ssh or vnc or whatever.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; this is possible with incoming packets, but, how do you select the
+</I>&gt;<i> &gt;&gt; source of a new one?
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;this step is only for the replies of incoming packets and never has any
+</I>&gt;<i> &gt;effect on new outgoing packets; this step doesn't change anything for new
+</I>&gt;<i> &gt;outgoing packets. and this can even be used on interfaces that aren't
+</I>&gt;<i> &gt;used as default gateway.
+</I>&gt;<i>
+</I>&gt;<i> i did not understood the second and third sentence in A.), then.
+</I>&gt;<i>
+</I>&gt;<i> anyways i believe A is useful and can be implemented without any issue
+</I>
+
+it will not conflict with current situation.
+
+
+&gt;<i> &gt;possible problems:
+</I>&gt;<i> &gt;A) interface down
+</I>&gt;<i> &gt;B) DHCP expired
+</I>&gt;<i> &gt;C) gateway down
+</I>&gt;<i> &gt;D) further routing down
+</I>&gt;<i> &gt;E) DNS down
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;A is trivial, so we'll just skip that one.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;B seems easy to do too; however, reusing the last DHCP lease could still
+</I>&gt;<i> &gt;be usefull, it might well be only a dhcp failure; we should try with the
+</I>&gt;<i> &gt;current lease if possible.
+</I>&gt;<i>
+</I>&gt;<i> if it is expired you should not. doing this will result in duplicate
+</I>&gt;<i> ips.
+</I>
+ok.
+
+&gt;<i> &gt;E is a bit of an extra (it's not really routing, but a DNS that's down
+</I>&gt;<i> &gt;(does not answer) could well be eliminated (not sure if this should be
+</I>&gt;<i> &gt;done separately or not)) OTOH, failure of the recursive DNS of the ISP
+</I>&gt;<i> &gt;seems to be somewhat frequent in my experience.
+</I>&gt;<i>
+</I>&gt;<i> so a connectivity issue will leave users without dns?
+</I>
+
+more the other way around; in the event of dns failure; the dns of the other
+gateway could be used. if it would be a routing issue to the DNS (and others),
+then other rules could be triggered (C+D)
+
+
+&gt;<i> &gt;C+D are tricky: D is even a bit of a grey area; my ISP frequently has a
+</I>&gt;<i> &gt;few routes broken. icmp can definately not be relied on in all cases. and
+</I>&gt;<i> &gt;even if you ping your gateway, you don't know if it goes any further.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;This could be circumvented by putting known servers that actually echo
+</I>&gt;<i> &gt;icmp in a list and ping those. but for that matter, it doesn't have to be
+</I>&gt;<i> &gt;icmp; we could easily have a list of public services that can be
+</I>&gt;<i> &gt;connected to. but is this really what we want?
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;We could even just monitor how much packets are unreplied to per interface
+</I>&gt;<i> &gt;and choose that.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;Or we could try to have each retry of unreplied packet go through the next
+</I>&gt;<i> &gt;default route.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;Or we could just not handle that (like it is now).
+</I>&gt;<i>
+</I>&gt;<i> +1
+</I>&gt;<i> you are considering the only scenario of a home user. doing some things
+</I>&gt;<i> you propose above would prevent using mageia in any medium sized
+</I>&gt;<i> network. (i.e. i could not use my mageia laptop at work)
+</I>
+I don't see what you mean by this. i list 4 options; knowing full well that
+some of those options are not usefull by default. also, this is only required
+if more than one default gateway is active; which is a small percentage in
+itself. (my personal favourite is having it sent to the other default gateway
+after failure; or seeing which has more unreplied packets; and then check some
+public services)
+
+&gt;<i> &gt;remember that right now only A(+B) is used; and having balanced default
+</I>&gt;<i> &gt;routes would probably mean that there is 50% packet loss, instead of 100%
+</I>&gt;<i> &gt;in most cases.
+</I>&gt;<i>
+</I>&gt;<i> which may be worse.
+</I>&gt;<i> if nothing works the user will try switching to a different connection
+</I>&gt;<i> if stuff do not work at random the user will not know what to do.
+</I>
+it could be worse, depending on the type of person.
+
+&gt;<i> btw, the assumption about 50% is flawed, i don't know if it is an
+</I>&gt;<i> oversimplification or a failure to understand how load balancing over
+</I>&gt;<i> multiple network links work in practice.
+</I>&gt;<i> it is not round-robin, it is route-based (on ip hash)
+</I>&gt;<i> the result of a failure upstream will result in the user being able to,
+</I>&gt;<i> say, watch some videos on youtube, but not update her fb profile, or
+</I>&gt;<i> worse.
+</I>
+i meant on average in total, depending on what kind of balancing is used.
+
+&gt;<i> &gt;also remember that if the metrics are the same for some reason, you will
+</I>&gt;<i> &gt;get much stranger things when both are working perfectly.
+</I>&gt;<i>
+</I>&gt;<i> L.
+</I>&gt;<i>
+</I>&gt;<i> btw, there is no need to cc me on discussions, in fact it breaks my
+</I>&gt;<i> filters.
+</I>
+sorry,
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002630.html">[Mageia-discuss] network balancing by default
+</A></li>
+ <LI>Next message: <A HREF="002651.html">[Mageia-discuss] network balancing by default
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2631">[ date ]</a>
+ <a href="thread.html#2631">[ thread ]</a>
+ <a href="subject.html#2631">[ subject ]</a>
+ <a href="author.html#2631">[ 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>