All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Samad <alex@samad.com.au>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Starting from scratch w/ multiple uplinks
Date: Tue, 10 May 2005 23:53:48 +0000	[thread overview]
Message-ID: <20050510235348.GI15049@samad.com.au> (raw)
In-Reply-To: <756AAB68-8733-4BF4-A78F-146966BD9E0F@mediarete.it>


[-- Attachment #1.1: Type: text/plain, Size: 3352 bytes --]

On Tue, May 10, 2005 at 01:02:20PM +0200, Markus Feilner wrote:
> Am Montag, 9. Mai 2005 17:58 schrieb Sylvain BERTRAND:
> > On Lun 9 mai 2005 17:14, Rafael A Barrero a ?crit :
> > > Hey;
> > >
> > > I guess I should have included that aspect : what I want to
> > > achieve.
> > >
> > > I'd ideally like to use the new (faster line) as the default line
> > > for traffic, but be able to use the old line just as often
> > > depending on usage of the new line. However, it wouldn't matter if
> > > traffic routed randomly either. If one of the two lines is down,
> > > obviously use the one that is up.
> >
> > Iproute allows you to route packets according to their iptable's MARK
> > field... you can randomly mark packets from new connections (with the
> > appropriate ratio for each link), and route on this criterion.
> >
> > You should have a script in /etc/ppp/if{up,down}.d/ that changes the
> > routes if one link goes {up,down}.
> 
> ACK. But how do you do the checking, if the link is down?
> Especially if you have a dsl router in a ethernet subnet.
> My subnet consists of three hosts, two of them are bintec routers who do 
> the dsl stuff. They are reachable, even if the DSL Line is gone.
> How would U check that?

I run pppoe on the box so have control over the session or run a ping
out side, but my guess is that the linux box will dead route the route
when the adsl send back an icmp net unreachable

> 
> >
> > > I just want to get the most out of both lines at the same time. My
> > > internal network has two services (http, imap) that need require
> > > port- forwarding from the router. Other than that the internal
> > > network is used for surfing the web, ssh, ftp, irc, p2p cients.
> >
> > Your services can listen on both interfaces, no problem with that...
> > you can have load balancing on those links with multiple DNS records
> > (though that's not a "good thing" (tm).
> >
> > Use the iptables MARK to use both at the same time, and the
> > appropriate iproute setup.
> >
> > > What about my questions regarding updated documentation for
> > > iproute2 (setting this all up)?
> >
> > I think the contents of LARTC are enough material for you (and of
> > course, man iproute, man iptables).
> >
> Of course, but there is a need for some comprehensive, easy to 
> understand HOWTO for non-techies... I guess.
> Especially when it comes to tc and tcng...
> 
> 
> >
> > For the record, I've never actually done this kind of setup, I'm just
> > thinking of what should be done to achieve those things. Somebody
> > correct me if this is just nonsense.
> >
> > Regards,
> >
> > Sylvain
> >
> > _______________________________________________
> > LARTC mailing list
> > LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 
> -- 
> Mit freundlichen Gr??en
> Markus Feilner
> ---------------------------
> Feilner IT Linux & GIS 
> Linux Solutions, Training, Seminare und Workshops - auch Inhouse
> Beraiterweg 4 93047 Regensburg
> fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 
> mail mfeilner@feilner-it.net web http://www.feilner-it.net
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-05-10 23:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 14:05 [LARTC] Starting from scratch w/ multiple uplinks Rafael A Barrero
2005-05-09 14:30 ` Sylvain BERTRAND
2005-05-09 15:14 ` Rafael A Barrero
2005-05-09 15:53 ` Markus Feilner
2005-05-09 15:58 ` Sylvain BERTRAND
2005-05-09 16:19 ` Brian J. Murrell
2005-05-09 18:11 ` Markus Schulz
2005-05-09 20:06 ` Brian J. Murrell
2005-05-09 23:37 ` Alexander Samad
2005-05-10  9:33 ` Rafael A Barrero
2005-05-10 10:12 ` Marc Manthey
2005-05-10 11:02 ` Markus Feilner
2005-05-10 11:11 ` Sylvain BERTRAND
2005-05-10 11:13 ` Robert Vangel
2005-05-10 12:07 ` Robert Vangel
2005-05-10 12:19 ` Marc Manthey
2005-05-10 12:39 ` Paulo Andre
2005-05-10 12:56 ` Markus Schulz
2005-05-10 13:00 ` Markus Schulz
2005-05-10 13:04 ` Paulo Andre
2005-05-10 13:40 ` Markus Schulz
2005-05-10 14:08 ` Rafael A Barrero
2005-05-10 15:10 ` Markus Feilner
2005-05-10 23:53 ` Alexander Samad [this message]
2005-05-11  0:02 ` Alexander Samad
2005-05-11 17:45 ` Markus Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050510235348.GI15049@samad.com.au \
    --to=alex@samad.com.au \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.