From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Samad Date: Tue, 10 May 2005 23:53:48 +0000 Subject: Re: [LARTC] Starting from scratch w/ multiple uplinks Message-Id: <20050510235348.GI15049@samad.com.au> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1386314270==" List-Id: References: <756AAB68-8733-4BF4-A78F-146966BD9E0F@mediarete.it> In-Reply-To: <756AAB68-8733-4BF4-A78F-146966BD9E0F@mediarete.it> To: lartc@vger.kernel.org --===============1386314270== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlxN1C6awaFNesUv" Content-Disposition: inline --UlxN1C6awaFNesUv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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}. >=20 > 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= =20 > 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 >=20 > > > > > 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=20 > understand HOWTO for non-techies... I guess. > Especially when it comes to tc and tcng... >=20 >=20 > > > > 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 >=20 > --=20 > Mit freundlichen Gr??en > Markus Feilner > --------------------------- > Feilner IT Linux & GIS=20 > Linux Solutions, Training, Seminare und Workshops - auch Inhouse > Beraiterweg 4 93047 Regensburg > fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092=20 > 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 >=20 --UlxN1C6awaFNesUv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCgUmMkZz88chpJ2MRAjIpAJ47XQPIURTjKJDujfXhl9KvOF7YRQCgr/7A 62uR0TVNWMw72yqt5FJx/Io= =DHTr -----END PGP SIGNATURE----- --UlxN1C6awaFNesUv-- --===============1386314270== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1386314270==--